Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hpcaitech/Open-Sora
/ load_state_dict
Method
load_state_dict
opensora/datasets/sampler.py:326–327 ·
view source on GitHub ↗
(self, state_dict: dict)
Source
from the content-addressed store, hash-verified
324
return
{
"start_index"
: step}
325
326
def
load_state_dict(self, state_dict: dict):
327
self.start_index = state_dict[
"start_index"
] + 1
Callers
12
main
Function · 0.45
main
Function · 0.45
load_model
Function · 0.45
load_checkpoint
Function · 0.45
load
Function · 0.45
load_checkpoint_with_inflation
Function · 0.45
load_from_pretrained
Method · 0.45
from_pretrained
Method · 0.45
__init__
Method · 0.45
load_from_pretrained
Method · 0.45
main
Function · 0.45
test_block_attn_3d_var_kernel
Function · 0.45
Calls
no outgoing calls
Tested by
1
test_block_attn_3d_var_kernel
Function · 0.36