Downloads · 30 days
17
40% of all-time downloads
fraQtl/mistral-7b-instruct-v0.3-kv-sidecars
mistral-7b-instruct-v0.3-kv-sidecars is a machine learning model from fraQtl. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
2.4× the KV-cache capacity of fp16 (1.2× of fp8-KV) for Mistral-7B-Instruct-v0.3 in vLLM on NVIDIA A100: 997,200 tokens vs 412,544 (fp16) and 825,104 (fp8) at 8K. Batch-1 decode ≈95% of fp16 at 8K (85.7 vs 90.39 tok/s…
Downloads · 30 days
17
40% of all-time downloads
All-time downloads
42
Public
Repo size
16.9 MB
Likes
0
Public
Click a slice to open those files.
.bin16.8 MB · 98%
From the Hugging Face model README
2.4× the KV-cache capacity of fp16 (1.2× of fp8-KV) for Mistral-7B-Instruct-v0.3 in vLLM on NVIDIA A100: 997,200 tokens vs 412,544 (fp16) and 825,104 (fp8) at 8K. Batch-1 decode ≈95% of fp16 at 8K (85.7 vs 90.39 tok/s) and 76.84 vs 77.98 tok/s at 32K. Needle-in-a-haystack grids 21/21 per arm at every published point.
The sidecars are calibrated per-layer, per-KV-head eigenbasis artifacts consumed by the fraqtl runtime (a prebuilt binary vLLM attention backend). Base model weights are not modified or redistributed.

Sidecars and receipts: Apache 2.0. Base model weights download from mistralai/Mistral-7B-Instruct-v0.3 under its own license. The fraqtl runtime wheel is proprietary, free to install and run for verification and evaluation (license).
Global.
Teams serving LLMs with vLLM who need more concurrent users per GPU, longer contexts within a fixed memory budget, or lower KV-cache cost per token.
Hugging Face 07/2026 via this repository. Companion model: Qwen3-4B-Instruct-2507 kit (includes 128K-context and concurrency receipts).
receipts/ · Independent reproduction: receipts/repro_2026_07_03/Artifact type: Calibrated KV-cache eigenbasis sidecars (K + V) consumed by a compressed-page attention runtime for vLLM.
Compression architecture: fraQtl inserts a compression membrane between the model and vLLM's paged KV cache. On write, K and V are stored in a compressed page format: a calibrated protected subspace kept at high precision (rank 16 of 128 for K, rank 32 of 128 for V, per layer per KV head, the sidecars in this repository) plus an INT4 tail on the remaining dimensions. Logical rank stays 128; nothing is truncated. On read, the attention kernel consumes compressed pages directly at tensor-core speed, with no decompress-then-attend step, so capacity gains do not cost decode bandwidth. Recipe label: sm80_k16prot_k112i4_v32prot_v96i4_rv128.
How the protected subspaces are calibrated is not published. The sidecars are the calibrated artifacts, sufficient to run and verify every number on this page.
Supported runtime engine: vLLM 0.20.2 (torch 2.11.0, the receipt-validated stack)
Supported hardware microarchitecture: NVIDIA Ampere (SM80 / A100). Hopper/Blackwell not yet supported.
Operating system: Linux
Integration uses vLLM's standard out-of-tree plugin mechanism (vllm.general_plugins entry point): pip install the wheel and the backend registers in every engine worker process.
Reproduce every number on this page with one command (≈$12 of rented A100 time):
pip install modal && modal setup
modal secret create huggingface HF_TOKEN=hf_...
modal run fraqtl_repro_receipts.py # mistral is the default model
Prints the three-arm table with per-arm needle-in-a-haystack results. Docker fallback: --local. Script: fraqtl_repro_receipts.py.
Three arms, same command, same GPU (A100-80GB), retrieval gate per arm: fraQtl D2 vs fp16 (stock vLLM) vs fp8-KV (kv_cache_dtype=fp8). CUDA graphs on, prefix caching off, batch 1.
| ctx | arm | decode tok/s | NIAH | KV pool (tokens) |
|---|---|---|---|---|
| 8K | fraQtl D2 | 85.7 | PASS | 997,200 |
| 8K | fp16 | 90.39 | PASS | 412,544 |
| 8K | fp8 | 90.05 | PASS | 825,104 |
| 32K | fraQtl D2 | 76.84 | PASS | 937,568 |
| 32K | fp16 | 77.98 | PASS | 407,760 |
| 32K | fp8 | 82.81 | PASS | 799,952 |
Batch-1 decode is weight-bound at these contexts; D2 is below fp16 and fp8 in every decode cell (85.7 vs 90.39 / 90.05 at 8K; 76.84 vs 77.98 / 82.81 at 32K). The 32K three-arm receipt JSONs are in receipts/.
Needle-in-a-haystack passkey grids, 7 depths × 3 keys per context, exact-match gated: 21/21 per arm at 8K and 32K; 126/126 total.
All six cells were re-run (2026-07-03) through the exact public path in this repository (prebuilt wheel + these sidecars, no internal source): all cells NIAH PASS; fp16/fp8 KV pools byte-identical to the receipts; D2 decode 85.51 @8K / 78.24 @32K and D2 pools within 2% of the receipts. Receipt JSONs: receipts/repro_2026_07_03/. Decode speeds vary a few percent run-to-run with host clocks; pools and retrieval results are deterministic.
0.85 × 80 GB − weights − peak activation scratch − CUDA-graph memory). Activation scratch is profiled against the largest possible prefill, which grows with max_model_len, so a 32K engine holds back more scratch for every arm (fp16 shrinks 428K→408K the same way). Page compression is unchanged; the ratios are context-independent.| File | What |
|---|---|
sidecar_real_u_mistral-7b-instruct-v0.3.bin | V eigenbasis sidecar (per-layer, per-kv-head U matrices) |
sidecar_real_u_mistral-7b-instruct-v0.3.meta.json | V sidecar provenance (dims, calibration corpus/size, sha256) |
mistral-7b-instruct-v0.3-k16-int3.fraqtl-k-eigenbasis.bin | K eigenbasis sidecar (RAQK format, rank 16) |
receipts/mistral_S2_exp16_k16_int3_receipt_2026-05-26.json | K sidecar build receipt |
receipts/arm_{D2,fp16,fp8}_ctx31k_graphs.json | 32K three-arm throughput receipts |
receipts/repro_2026_07_03/ | Independent reproduction receipts |
fraqtl_repro_receipts.py | One-command reproduction script |
Same recipe, receipt format, and measurement standards per model: Qwen3-4B-Instruct-2507 (live, with 128K + concurrency receipts). Next: Llama-3.1-8B, DeepSeek-R1-Distill-Llama-8B, Mistral-Nemo. Request a model by opening a discussion; calibration is one factory run.
The on-device lane, calibration-aware Hi-Fi GGUFs: Gemma-4-E2B (runs an offline phone agent) · Llama-3.1-8B + Llama-3.2-1B draft pair · Qwen3.6-35B MoE. Org page: huggingface.co/fraQtl.