Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
load
Method · 0.45
cifar10_tutorial.py
File · 0.45
main
Function · 0.45
main
Function · 0.45
load_checkpoint
Function · 0.45
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected