MCPcopy
hub / github.com/InternLM/InternLM / load

Method load

internlm/utils/storage_manager.py:503–506  ·  view source on GitHub ↗
(self, load_path: str, *args, **kwargs)

Source from the content-addressed store, hash-verified

501 self.upload_count += 1
502
503 def load(self, load_path: str, *args, **kwargs) -> Any:
504 self.wait()
505 meta = self._get_client(path=load_path)
506 return meta.client.load(*unpack_meta(meta), *args, **kwargs)
507
508 def delete_obj(self, fp: str):
509 meta = self._get_client(path=fp)

Callers

nothing calls this directly

Calls 4

waitMethod · 0.95
_get_clientMethod · 0.95
unpack_metaFunction · 0.85
loadMethod · 0.45

Tested by

no test coverage detected