Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Piper Loader

End-to-end weight loading, multi-tier host/NVMe caching, GPU streaming, and online LoRA hot-swapping for Piper Engine.

  • Rust core + thin Python wrapper (maturin / PyO3), single wheel per OS covering Linux + Windows and NVIDIA (CUDA) + AMD (ROCm/HIP) via runtime dynamic loading of cudart / amdhip64 (no build-time GPU SDK).
  • Disk-native .safetensors ingestion (single + sharded index, file-identity fingerprinting, zero-copy dim-0 row slicing for SP/TP/EP sharding) plus optional in-memory CPU tensor registration.
  • Unified 3-tier HostStore shared across models and 2–4 local GPUs:
    • Tier 2a: Portable pre-pinned slab arena ranked by H2D transfer heat.
    • Tier 2b: Private pageable slab arena using remaining system RAM (critical for Windows WDDM and fast Diffusion ↔ LLM model switching).
    • Direct NVMe + Bounce Ring: Multi-threaded O_DIRECT / FILE_FLAG_NO_BUFFERING reads streamed through a sticky pre-pinned ring.
  • Three GPU managers on one deli-ticket event ring:
    • ResidentStore — one-shot all-resident load (zero per-layer overhead, 100% CUDA/HIP Graph safe).
    • BlockStreamer + UnitLoader — explicit use_unit(name, prefetch=next) / install_all() for DiTs and dense layers (no hidden nn.Module hooks).
    • ExpertPool — full-VRAM static views (500+ TPS) and partial-offload 1-DMA packed expert slabs with live GPU expert_to_slot, compact miss-list path, waves() fallback, 1-wave prefill scratch, and pluggable Rust eviction policies (s3_fifo, w_tinylfu, lru).
  • Format-agnostic quantized & online adapter bridge: plugs into piper-kernels QuantizedWeight transcode and in-place multi-LoRA / dense / per-path strength / meta / broadcast merge with adapter_epoch hot-swap.

Development

# Run pure-Rust core tests (CPU, uses FakeGpuRuntime)
cargo test --workspace

# Build & install Python extension into local uv venv
uv sync --dev
uv run maturin develop

# Run Python test suite, lint, and typecheck
uv run pytest tests -q
uv run ruff check .
uv run pyright

Metadata

Release files for piper-loader 0.1.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for piper-loader 0.1.0rc1
File Size Uploaded Provenance Actions
piper_loader-0.1.0rc1.tar.gz 109.5 kB With provenance Details for piper_loader-0.1.0rc1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for piper-loader 0.1.0rc1
File Interpreter ABI Platform Actions
piper_loader-0.1.0rc1-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for piper_loader-0.1.0rc1-cp314-cp314-win_amd64.whl
piper_loader-0.1.0rc1-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details for piper_loader-0.1.0rc1-cp314-cp314-manylinux_2_28_x86_64.whl

Total release size: 1.1 MB

Release files / piper_loader-0.1.0rc1.tar.gz

Download URL piper_loader-0.1.0rc1.tar.gz
Size 109.5 kB
Tags Source
SHA-256 checksum
How to use checksums
372d4b83aa25ba1b47585a94a638a838aa515a0ee4c19e847b981e70777fae54
BLAKE2b-256 checksum
How to use checksums
5e5dcc933697f8698afc93559be5d4826d277f06ddf26c705729f17465148018
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Release files / piper_loader-0.1.0rc1-cp314-cp314-win_amd64.whl

Download URL piper_loader-0.1.0rc1-cp314-cp314-win_amd64.whl
Size 406.6 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
6d0b55015f99bdfbb454fe2af986f235d4e8b6bef063ccddb55c86aac2fb789b
BLAKE2b-256 checksum
How to use checksums
a0f1471c8572b1afdfaf7ee468b3c07c7cfe2e3e52884952ed060fd1c68d1ec0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Release files / piper_loader-0.1.0rc1-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL piper_loader-0.1.0rc1-cp314-cp314-manylinux_2_28_x86_64.whl
Size 558.5 kB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
fd07247ad7777cdaf238a2ade9675d7fbe1c2366a895673715c41b0341d889c4
BLAKE2b-256 checksum
How to use checksums
ee829159069d3a1b44cf4aa27be37f13b5c7fcaecb57f5e7ee45eac50749b1f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Security for piper-loader 0.1.0rc1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 3 files in this release have been uploaded with provenance metadata.

Select from 3 files

Attestation for piper_loader-0.1.0rc1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page