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

Method hasParam

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

Source from the content-addressed store, hash-verified

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
427private:
428 at::cuda::CUDAStream ag_stream_;

Callers 1

set_persistentFunction · 0.45

Calls 1

hasKeyFunction · 0.85

Tested by

no test coverage detected