MCPcopy Create free account
hub / github.com/AIS-SNU/Smart-Infinity / zero_cpu_offload

Method zero_cpu_offload

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

Source from the content-addressed store, hash-verified

692 return False
693
694 def zero_cpu_offload(self):
695 if self._config.zero_config.offload_optimizer is not None:
696 return self._config.zero_config.offload_optimizer.device == OffloadDeviceEnum.cpu
697 return False
698
699 def zero_sub_group_size(self):
700 return self._config.zero_config.sub_group_size

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected