MCPcopy Create free account
hub / github.com/AIS-SNU/Smart-Infinity / zero_grad_hooks

Method zero_grad_hooks

deepspeed/runtime/engine.py:747–748  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

745 return self._config.zero_config.gather_16bit_weights_on_model_save
746
747 def zero_grad_hooks(self):
748 return self._config.zero_config.grad_hooks
749
750 def zero_legacy_stage1(self):
751 return self._config.zero_config.legacy_stage1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected