Repository navigation
v0.4.0
Orinfer v0.4.0
Fixed revision: 89482d352932f5a252538a9be39d613309e8da2e.
Breaking Changes
- CUDA Execution Package Schema 2: All Jetson AGX Orin (
sm_87) models now use Schema 2 pure-data execution packages (package.json,bindings.json,assets.safetensors). Static Rust model adapters (orinfer-models) are linked directly intoorinfer-engine, removing the legacy Schema 1cdylib/ C ABI v1 loader.- Existing CUDA deployments must install the matching
v0.4.0Schema 2 execution packages (orinfer package install ...) and update model frontend metadata (cache/model.json) to reference the newexecution_packagedigests. Quantized weight.safetensorsshards remain unchanged.
- Existing CUDA deployments must install the matching
- Workspace Consolidation:
orinfer-devicehas been merged intoorinfer-model-sdk, and legacy offline Python CUDA runtimes have been removed.
Highlights
Jetson AGX Orin (CUDA SM87)
- Scheduler, Prefix Cache & Batched Shortlist GPU Sampling (P1–P6):
- Exact shortlist fast path for GPU sampling across Qwen3.5 (2B/4B/9B/27B/35B-A3B) and Qwen3.8-Flash-Next, replacing full-vocabulary radix sorts on typical top-k/top-p requests.
- Expanded CUDA Graph batch cache and reduced small-shrink invalidations, latency prefill stage budgeting fixes, pre-think prefix turn-boundary hints, and O(1) prefix bank accounting.
- Qwen3.8-Flash-Next Optimizations:
- Accelerated cold prefill QSA/GDN/expert tiles, layered prefill live-buffer slicing, compile-time E8P CPU row lookup with persistent
RowPool, and concurrent sampled MTP controls (41.6–41.9tok/s latency /44.9tok/s throughput on 512-trajectory 240s Mini-Weka).
- Accelerated cold prefill QSA/GDN/expert tiles, layered prefill live-buffer slicing, compile-time E8P CPU row lookup with persistent
- Complete Schema 2 Coverage:
- Ships all 9 CUDA SM87 Schema 2 execution packages (
qwen35-2b,qwen35-4b,qwen35-9b,qwen35-27b,qwen35-35b-a3b,flash-next,qwen3-asr-1-7b,qwen3-reranker-0-6b,nemotron35-embed-1b).
- Ships all 9 CUDA SM87 Schema 2 execution packages (
Ascend 910B / A2 (DeepSeek-V4.1 Flash-1017 W4A8, TP8)
- Graph Reuse, Owner Pooling & Host Inputs:
- Includes v0.3.14 checkpoint memoization, deferred cold-KV admission, and direct-BF16 attention.
- Splits execution at
DecoderRowsinto independent Trunk/Tail/Head sub-programs for cross-cohort ACL Graph reuse, pools idle owner fixed arenas, batches VMM page release, and adds zero-copy resident split Engram gathers.
- Long-Running Serving Hardening:
- Active graph key eviction protection, 96-program cap with bounded eviction, cross-rank owner lineage rollback on asymmetric
SaveSkipped, non-fatal OOM fallbacks for verification journals and prefix offload, per-row speculative constrained sampling error isolation across all 8 TP ranks, quarantined CANN teardown on wedged ranks, clean non-zero exit on fatal worker failure, differentiated fast/heavy command timeouts, immediate post-warmupscheduler_statisticspublication, and A2 Prometheus health metrics.
- Active graph key eviction protection, 96-program cap with bounded eviction, cross-rank owner lineage rollback on asymmetric
- A2 Execution Package: Carries forward the validated v0.3.14 W4A8 execution package (
ce7a1cec548914645bf31ae9e695da038ec1506c895138ecbe61906688ac3687); existing v0.3.1+ weight shards remain unchanged.
Build & Documentation
- Rewritten and consolidated documentation across
README*.mdanddocs/. - Host Python 3.10+ compatibility for
tools/dev/dependencies.py check, enablingmake build/make python-env/make checkon stock Ubuntu 22.04 / Jetson Orin R36.4.3 hosts.
Execution Package Digests
| Asset | Target | Schema | Digest |
|---|---|---|---|
orinfer-exec-qwen35-2b-a8-sm87-v0.4.0.tar.xz |
CUDA SM87 | 2 | cfc11bc2ce0c206e6f9029127c01334f2e64e19bc2d7a14c1624695da5f58fea |
orinfer-exec-qwen35-4b-a8-sm87-v0.4.0.tar.xz |
CUDA SM87 | 2 | 5ee0cdf35a05a1eb3bbf37bea4e8982f15a152a2f5bbd9b975e14b028b340d5e |
orinfer-exec-qwen35-9b-a8-sm87-v0.4.0.tar.xz |
CUDA SM87 | 2 | 6d283b0c8c22be736ab1bc490a26bac7a3371c20d6a200e9b9e2bae78f2d6f3c |
orinfer-exec-qwen35-27b-a8-sm87-v0.4.0.tar.xz |
CUDA SM87 | 2 | cca4c6fed0b9fe1a3cb2f4363b1345627afadbccc1a2a393c476b81f41d60cb6 |
orinfer-exec-qwen35-35b-a3b-a8-sm87-v0.4.0.tar.xz |
CUDA SM87 | 2 | 793b80643006adaaa919dbda8c5cf40826a8dfde0973437aef188a919e408086 |
orinfer-exec-flash-next-a8-sm87-v0.4.0.tar.xz |
CUDA SM87 | 2 | fc87e2ca728aef0c16f51729979839cd65cfcbe9f3ea42fad60a38d615839042 |
orinfer-exec-qwen3-asr-1-7b-a8-sm87-v0.4.0.tar.xz |
CUDA SM87 | 2 | 8c162f7ff283103d6f570f3251f7a46e9e51d9d3e9d262c5c29f82a6680afaa8 |
orinfer-exec-qwen3-reranker-0-6b-a8-sm87-v0.4.0.tar.xz |
CUDA SM87 | 2 | 8e29feee2535c167b11b84fff3fc23c7368e96019973c22cfcef7282d24537df |
orinfer-exec-nemotron35-embed-1b-a8-sm87-v0.4.0.tar.xz |
CUDA SM87 | 2 | 99e7cc91b5b653d63d8b6af365cb6578992dcc4862c2988735838def966ebbd8 |
orinfer-exec-deepseek-v41-flash-1017-w4a8-ascend910b-v0.4.0.tar.xz |
Ascend 910B | 1 | ce7a1cec548914645bf31ae9e695da038ec1506c895138ecbe61906688ac3687 |
Verification Summary
- CPU & Offline Checks:
make checkpassed on host Python 3.10.12 (443 dependency release ages verified, 762 Rust tests, 491 CPU Python tests, 15 plan coverage checks); CUDA offline checks passed (256 modules imported, 40 ABI/reference tests). - Jetson AGX Orin 64GB (SM87): Verified
orinfer 0.4.0release binary acrossqwen3-reranker-0.6b,qwen3-asr-1.7b,index-translate-2b(check-gpuoff/decode_only/full18/18 each + strict JSON Schema + prefix cache),qwen-flash-next(240s Mini-Weka 512 replay: 94 reqs, 41.86 TPS, 0 errors + strict JSON Schema), andnemotron-3.5-embed-1b(plan-modelexact equivalence vs. Schema 1 baseline). - Ascend 910B3 (TP8, CANN 9.2): Verified on A2 with the
ce7a1cec...W4A8 execution package and89482d3hardening fixes. - Release Integrity: Engine archive (
orinfer-v0.4.0-linux-aarch64.tar.xz), all 10 execution packages,orinfer package installchecks, andSHA256SUMSround-trip download verification passed.