MCPcopy Index your code
hub / github.com/huggingface/diffusers / load_original_state_dict

Function load_original_state_dict

scripts/convert_aura_flow_to_diffusers.py:9–12  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

7
8
9def load_original_state_dict(args):
10 model_pt = hf_hub_download(repo_id=args.original_state_dict_repo_id, filename="aura_diffusion_pytorch_model.bin")
11 state_dict = torch.load(model_pt, map_location="cpu")
12 return state_dict
13
14
15def calculate_layers(state_dict_keys, key_prefix):

Callers 1

populate_state_dictFunction · 0.85

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…