Examples of .apr format models
https://paiml.github.io/apr-cookbook/ โ// momentum
// why it's here
- Active: last commit today
- Health 79/100 with only 5 stars
- 28 open issues handled by one or two people
// how to help
// readme
What is apr-cookbook?
341 executable examples across 25 categories covering the full ML model lifecycle in pure Rust: creation, bundling, format conversion, training, optimization, inference, serving, monitoring, and deployment โ all built on the APR v2 model format with LZ4/ZSTD compression, Int4/Int8 quantization, and Ed25519 signatures.
Every example compiles, runs, and includes unit tests. Device fallback is automatic: GPU -> SIMD -> Scalar.
Table of Contents
- Installation
- Quick Start
- Examples
- APR v2 Format
- Quality
- Sovereign AI Stack
- Live Demos
- Documentation
- License
Installation
git clone https://github.com/paiml/apr-cookbook.git
cd apr-cookbook
cargo build --examples
cargo test --all-features
Requires Rust 1.89+ (rustup update stable).