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

Method postscale_gradients

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

Source from the content-addressed store, hash-verified

1768 self._config.communication_data_type = value
1769
1770 def postscale_gradients(self):
1771 return not self._config.prescale_gradients
1772
1773 def gradient_predivide_factor(self):
1774 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