Card for engine v2: shared KV pool, prefix caching, DFlash2 drafter, new card table, licenses and credits
Browse files12 unmodified lines131415161718192021222324252627282930313225 unmodified lines585960616263646512 unmodified linesEXL3 quantizations of [thinkingmachines/Inkling-2-Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini) (revision `ed40e7da`). Each branch includes the original vision tower and built-in MTP drafter.Run with the [TensorFold Inkling branch](https://github.com/Maxrio9/TensorFold/tree/inkling2-mini-exl3) and [recipes](https://github.com/Maxrio9/inkling-2-mini-exl3-recipes). The recipes serve text with FP8 KV and enable the bundled DSpark drafter where memory allows.## Pick your card| GPU memory | Branch | Desktop reserve | Parallel requests | Context per request | DSpark ||---|---|---|---:|---:|---|| 12 GB | No current branch fits | — | — | — | — || 16 GB | 3.3bpw | None | 1 | 53,248 | On || 16 GB | 3.3bpw | None / 1 GiB | 1 / 1 | 106,496 / 45,056 | Off || 24 GB | 4.0bpw | None / 1 GiB | 4 / 6 | 69,632 / 32,768 | On || 32 GB | 4.0bpw | None / 1 GiB | 9 / 14 | 65,536 / 32,768 | On || DGX Spark | 4.0bpw | None / 1 GiB | 16 / 16 | 221,184 / 217,088 | On |All capacities are computed projections and include prompt plus output. The 4.0bpw desktop projections use measured 3.3bpw desktop allocations and the measured weight difference. DSpark on 16 GB needs a headless setup; several concurrency settings and all projected edges remain untested. Spark assumes 116.48 GiB initially available and a 24 GiB system reserve. Details, measured speed, install and startup instructions are in the recipes.## Quants25 unmodified lines## LimitationsKL measures closeness to the official checkpoint, not task accuracy. The projected FP8 capacity limits and image quality have not been tested. TensorFold serves text only for this model. See the recipes for measured speed and retrieval checks. The official model uses W4A4 expert activations; weight-only formats do not reproduce that behavior.## LicenseApache-2.0. Model by Thinking Machines; our EXL3 quants by Maxrio9. TensorFold by @ashhart and contributors; the engine builds on work by @francip, @ajensenwaud, @jschmied, @ashhart, @BlivionIaG, @grantoverton and @cwschroeder. The recipes list the upstream PRs.12 unmodified lines131415161718192021222324252627282930313225 unmodified lines5859606162636465666712 unmodified linesEXL3 quantizations of [thinkingmachines/Inkling-2-Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini) (revision `ed40e7da`). Each branch includes the original vision tower and built-in MTP drafter.Run with the TensorFold engine release [`inkling2-mini-exl3-v2`](https://github.com/Maxrio9/TensorFold/releases/tag/inkling2-mini-exl3-v2) and the [recipes](https://github.com/Maxrio9/inkling-2-mini-exl3-recipes): `./start.sh` picks the branch for your card, downloads the engine, these weights and the drafter, checks every file and starts an OpenAI-compatible server. The recipes use FP8 KV, the DFlash2 drafter ([8-bit version for Blackwell](https://huggingface.co/Maxrio/Inkling-2-Mini-DFlash2-FP8), Inco AI's [original](https://huggingface.co/incoai/Inkling-2-Mini-DFlash2) elsewhere), one KV pool shared by all requests, and prefix caching inside that pool.## Pick your card| GPU memory | Branch | Parallel requests | KV pool, text | KV pool, with vision | Longest request, text ||---|---|---:|---:|---:|---:|| 12 GB | No current branch fits | — | — | — | — || 16 GB | 3.3bpw | 1 | 40,192 | — | 39,936 || 16 GB, long context | 3.3bpw | 1 | 77,056 | — | 76,800 || 24 GB | 4.0bpw | 2 | 342,272 | 263,936 | 340,992 || 32 GB | 4.0bpw | 4 | 762,880 | 683,776 | 761,856 || DGX Spark | 4.0bpw | 8 | 5,348,608 | 5,257,728 | 1,048,576 |The KV pool counts prompt and reply tokens across all active requests; one request can use most of it while the others are short. Sizes come from TensorFold's planner, which matches the engine's allocations byte for byte, for a GPU that does not drive a display; the recipes list the smaller desktop rows. RTX 30 and 40 series cards use the 16-bit drafter and get somewhat less (about 310,000 tokens on a 24 GB RTX 4090); the launcher sizes this automatically. Speed with DFlash2, one request and an 8k prompt: about 175 tok/s on code and 98 on prose on an RTX PRO 4500 (3.3bpw), about 85 on code on a DGX Spark (4.0bpw). Measurements and install steps are in the recipes.## Quants25 unmodified lines## LimitationsKL measures closeness to the official checkpoint, not task accuracy. Image input is available with `--vision` and passed our check set, but image quality has not been benchmarked. The official model uses W4A4 expert activations; weight-only formats do not reproduce that behavior.## LicenseApache-2.0, following the base model: Inkling 2 Mini by Thinking Machines is Apache-2.0 with the [Model Acceptable Use Policy](https://thinkingmachines.ai/model-acceptable-use-policy/), which applies to these quants too. EXL3 quants by Maxrio9.The engine is TensorFold by @ashhart and contributors (Apache-2.0), with work by @francip, @ajensenwaud, Jürgen Schmied (@jschmied), @BlivionIaG, @grantoverton and @cwschroeder, and MiaAI-Lab's structured-output, vision, prefill and decode patches. DFlash2 is by [Inco AI](https://inco.ai/blog/dflash2/) (Apache-2.0), based on [z-lab's DFlash](https://github.com/z-lab/dflash) (MIT). The recipes list the upstream pull requests and licenses.
README.md+13-11