Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/checkpoint-engine
/ TPMeta
Class
TPMeta
checkpoint_engine/pin_memory.py:132–134 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
130
131
def
_load_checkpoint(files: list[str]) -> dict[str, torch.Tensor]:
132
class
TPMeta(BaseModel):
133
concat_dim: int
134
size: int
135
136
parameters: dict[str, torch.Tensor] = {}
137
parameter_metas: dict[str, ParameterMeta] = {}
Callers
1
_load_checkpoint
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected