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

Method __init__

deepspeed/ops/cpu_optimizer.py:17–19  ·  view source on GitHub ↗
(self, params, defaults, fp32_optimizer_states=True)

Source from the content-addressed store, hash-verified

15 """
16
17 def __init__(self, params, defaults, fp32_optimizer_states=True):
18 super().__init__(params, defaults)
19 self.fp32_optimizer_states = fp32_optimizer_states
20
21 def load_state_dict(self, state_dict):
22 super().load_state_dict(state_dict)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected