MCPcopy
hub / github.com/deepspeedai/DeepSpeedExamples / load_state_dict

Method load_state_dict

Megatron-LM/model/model.py:88–89  ·  view source on GitHub ↗
(self, state_dict, strict=True)

Source from the content-addressed store, hash-verified

86 keep_vars=keep_vars)
87
88 def load_state_dict(self, state_dict, strict=True):
89 return self.model.load_state_dict(state_dict, strict=strict)
90

Callers 6

loadMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45
load_checkpointFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected