MCPcopy Create free account
hub / github.com/ModelTC/LightX2V / load

Method load

lightx2v/utils/ltx2_utils.py:230–231  ·  view source on GitHub ↗
(self, path: str | list[str], sd_ops: SDOps | None = None, device: torch.device | None = None)

Source from the content-addressed store, hash-verified

228 return json.loads(f.metadata()["config"])
229
230 def load(self, path: str | list[str], sd_ops: SDOps | None = None, device: torch.device | None = None) -> StateDict:
231 return self.weight_loader.load(path, sd_ops, device)
232
233
234# Predefined SDOps instances

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected