MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / hasReloadBuffer

Method hasReloadBuffer

csrc/compile/z3.cpp:423–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421 void reloadParameter(at::Tensor tensor, long ds_id) { param_registry_->reload(ds_id); }
422
423 bool hasReloadBuffer(long id) { return hasKey(reload_buffers_, id); }
424
425 bool hasParam(long ds_id) const { return hasKey(has_acc_grad_, ds_id); }
426

Callers 1

wait_reloadFunction · 0.80

Calls 1

hasKeyFunction · 0.85

Tested by

no test coverage detected