TensorPlay
latest (dev)
Copy
View Markdown

Latest development documentation · Updated 2026-10-08

MegaStorageWriter

class tensorplay.distributed.checkpoint.MegaStorageWriter(path: str | PathLike, fqn_to_index_mapping: dict[str, int] | None = None)[source]

Writes MEGA-format shards (model[-N-of-M].mega) plus model.mega.index.json; accepts plain directories and mega:// URIs.

On this page

Ask DeepWiki