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

Method postscale_gradients

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

Source from the content-addressed store, hash-verified

1821 self._config.communication_data_type = value
1822
1823 def postscale_gradients(self):
1824 return not self._config.prescale_gradients
1825
1826 def gradient_predivide_factor(self):
1827 return self._config.gradient_predivide_factor

Callers 3

allreduce_bucketMethod · 0.95
sparse_allreduceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected