PTWM
Guides

Guides

Task-oriented walkthroughs for compressing, decompressing, and integrating PTWM.

Task-oriented walkthroughs. Pick the integration that fits your workflow.

GuideWhat you get
CLI usageCompress and decompress files from the terminal.
Python APICompressor, Decompressor, configuration knobs.
Writing your first extensionScaffold, build, sign, and install a custom codec end-to-end.
Trust and securityKeyring management, capabilities, policy files, and the threat model.
safetensors integrationpatch_safetensors() makes existing safetensors loaders transparent to .ptwm.
HuggingFace transformerspatch_transformers() for non-safetensors HuggingFace checkpoints.
Random accessOpen a .ptwm and fetch tensors by name without decompressing the whole bundle.
Tuning compression for a modelRun the chain explorer to extend the chain set for your checkpoint; cache, share, and import discovered chains.