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

Method amp_enabled

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

Source from the content-addressed store, hash-verified

1310 return self._config.bfloat16_config.bf16_optimizer_states
1311
1312 def amp_enabled(self):
1313 return self._config.amp_enabled
1314
1315 def amp_params(self):
1316 return self._config.amp_params

Callers 8

_do_sanity_checkMethod · 0.95
_backward_prologueMethod · 0.95
_backward_post_hookMethod · 0.95
scaleMethod · 0.95
backwardMethod · 0.95
_take_model_stepMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected