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

Method zero_partial_offload

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

Source from the content-addressed store, hash-verified

1682 return False
1683
1684 def zero_partial_offload(self):
1685 return getattr(self._config.zero_config.offload_optimizer, "ratio", 1.0)
1686
1687 def super_offload(self):
1688 return getattr(self._config.zero_config.offload_optimizer, "super_offload", False)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected