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

Method loss_scale

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

Source from the content-addressed store, hash-verified

1785 return self._config.float16_config.auto_cast
1786
1787 def loss_scale(self):
1788 return self._config.float16_config.loss_scale
1789
1790 def gradient_accumulation_steps(self):
1791 return self._config.gradient_accumulation_steps

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected