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

Method loss_scale

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

Source from the content-addressed store, hash-verified

1732 return self._config.float16_config.auto_cast
1733
1734 def loss_scale(self):
1735 return self._config.float16_config.loss_scale
1736
1737 def gradient_accumulation_steps(self):
1738 return self._config.gradient_accumulation_steps

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected