MCPcopy
hub / github.com/InternLM/InternLM / llm_load

Function llm_load

internlm/utils/storage_manager.py:49–50  ·  view source on GitHub ↗
(fp: str, *args, **kwargs)

Source from the content-addressed store, hash-verified

47
48
49def llm_load(fp: str, *args, **kwargs):
50 return storage_manager.load(fp, *args, **kwargs)
51
52
53def llm_save(save_path: str, saved_obj: Any, *args, **kwargs):

Callers 6

load_model_checkpointFunction · 0.90
load_samplerFunction · 0.90
load_contextFunction · 0.90
load_schedulerFunction · 0.90
try_resume_trainingMethod · 0.90

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected