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

Method postscale_gradients

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

Source from the content-addressed store, hash-verified

1365 self._config.communication_data_type = value
1366
1367 def postscale_gradients(self):
1368 return not self._config.prescale_gradients
1369
1370 def gradient_predivide_factor(self):
1371 return self._config.gradient_predivide_factor

Callers 4

allreduce_bucketMethod · 0.95
sparse_allreduceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected