Runtime card (private, pre-flip)
Browse files
README.md
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
library_name: gguf
|
| 4 |
+
tags:
|
| 5 |
+
- fraqtl
|
| 6 |
+
- llama-cpp
|
| 7 |
+
- kv-cache-compression
|
| 8 |
+
- cuda
|
| 9 |
+
- inference-runtime
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# fraQtl Membrane Runtime for llama.cpp (prebuilt, CUDA)
|
| 13 |
+
|
| 14 |
+
Prebuilt binaries of the fraQtl **compression membrane** integrated into a
|
| 15 |
+
llama.cpp fork: the KV cache is stored in calibrated compressed pages and the
|
| 16 |
+
attention kernel reads them **directly at tensor-core speed** — no
|
| 17 |
+
decompress-then-attend stage. At long context, where decode is
|
| 18 |
+
bandwidth-bound, reading fewer bytes makes generation faster.
|
| 19 |
+
|
| 20 |
+
Measured (receipts on the model cards): **1.79× faster than q8_0 KV at 128K
|
| 21 |
+
decode** on Qwen3-4B (92% of fp16 speed at ~2.45× less KV memory), **36 vs 28
|
| 22 |
+
users** before OOM at 32K/user — and on Mistral-Nemo-12B, 32 vs 24 users,
|
| 23 |
+
second model with zero code changes.
|
| 24 |
+
|
| 25 |
+
## Platform
|
| 26 |
+
|
| 27 |
+
- **Linux x86_64 · CUDA 12.4 · SM80 + SM90** (A100 / H100 class). This is
|
| 28 |
+
the server/workstation lane — no macOS/ARM build.
|
| 29 |
+
- Built 2026-08-24 (`MANIFEST.json` in this repo carries per-file sha256 —
|
| 30 |
+
verify your download against it).
|
| 31 |
+
|
| 32 |
+
## Files
|
| 33 |
+
|
| 34 |
+
`llama-server`, `llama-cli`, `llama-fraqtl-niah-parallel` (the retrieval-gate
|
| 35 |
+
harness) and 7 shared libraries (`libllama`, `libllama-common`, `libggml`,
|
| 36 |
+
`-base`, `-cpu`, `-cuda`, `libmtmd`). Kernel source is not distributed — same
|
| 37 |
+
posture as our [vLLM runtime wheel](https://huggingface.co/fraQtl/fraqtl-sm80-runtime);
|
| 38 |
+
the binaries plus published sidecars are sufficient to run and verify every
|
| 39 |
+
number on the model cards.
|
| 40 |
+
|
| 41 |
+
## How to run
|
| 42 |
+
|
| 43 |
+
```bash
|
| 44 |
+
export FRAQTL_MEMBRANE=1 FRAQTL_MEMBRANE_EXCLUSIVE=1
|
| 45 |
+
LD_LIBRARY_PATH=. ./llama-server -m <model>.gguf \
|
| 46 |
+
--fraqtl-kv --fraqtl-eigenbasis <v-sidecar>.bin \
|
| 47 |
+
--fraqtl-kv-protect 32 --fraqtl-k-eigenbasis <k-sidecar>.bin \
|
| 48 |
+
--fraqtl-sink-tokens 0 --fraqtl-residual-window 0
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
Calibrated sidecars per model:
|
| 52 |
+
[Qwen3-4B-Instruct-2507](https://huggingface.co/fraQtl/qwen3-4b-instruct-2507-kv-sidecars) ·
|
| 53 |
+
[Mistral-Nemo-Instruct-2407](https://huggingface.co/fraQtl/mistral-nemo-instruct-2407-kv-sidecars)
|
| 54 |
+
|
| 55 |
+
## License and credit
|
| 56 |
+
|
| 57 |
+
This runtime is a fork of [llama.cpp](https://github.com/ggml-org/llama.cpp)
|
| 58 |
+
(MIT — license included; upstream commit pinned in the receipts). The
|
| 59 |
+
membrane kernels are fraQtl's; llama.cpp and its contributors are credited
|
| 60 |
+
at their best — the engine this builds on is excellent.
|
| 61 |
+
|
| 62 |
+
## More from fraQtl
|
| 63 |
+
|
| 64 |
+
Same membrane, independently implemented in vLLM: nine concurrent ≈128K
|
| 65 |
+
users on one A100, 134.1 tok/s, 9/9 retrieval — receipt on the
|
| 66 |
+
[Qwen3-4B sidecar card](https://huggingface.co/fraQtl/qwen3-4b-instruct-2507-kv-sidecars).
|
| 67 |
+
Calibration-aware Hi-Fi GGUFs (pair well with this runtime):
|
| 68 |
+
[org page](https://huggingface.co/fraQtl).
|