# Inkling 2 Mini

Fast everyday coding, tool calling and chart reading on your own NVIDIA GPU. Maxrio quantized Thinking Machines’ model for Ash Hart’s TensorFold engine with Inco AI’s DFlash2 drafter.

[Canonical HTML page](https://lasse-ai.com/recipes/inkling-2-mini/)

## Origin and credits

Quantized and packaged by Lasse AI.

- [Maxrio](https://huggingface.co/Maxrio/Inkling-2-Mini-exl3)
- [Maxrio9](https://github.com/Maxrio9/inkling-2-mini-exl3-recipes)
- [Inco AI](https://huggingface.co/incoai/Inkling-2-Mini-DFlash2)
- [Ash Hart / TensorFold](https://github.com/ashhart/TensorFold)
- [Thinking Machines](https://huggingface.co/thinkingmachines/Inkling-2-Mini)
- [Mia's AI Lab](https://github.com/MiaAI-Lab/Inkling-2-Mini-DGX-Spark-TensorFold)
- [Z Lab / DFlash](https://github.com/z-lab/dflash)
- [Zbigniew Majewski / Inkling Spark kernels](https://github.com/knapcio/Inkling-2-Mini-1x-DGX-Spark)
- [Turboderp / ExLlamaV3](https://github.com/turboderp-org/exllamav3)
- [plotarmordev / Spark kernel patches](https://github.com/plotarmordev)
- [Maxrio9 / TensorFold v4](https://github.com/Maxrio9/TensorFold/releases/tag/inkling2-mini-exl3-v4)
- [DFlash2 FP8 (Blackwell)](https://huggingface.co/Maxrio/Inkling-2-Mini-DFlash2-FP8)
- [NOTICE](https://github.com/Maxrio9/inkling-2-mini-exl3-recipes/blob/3ebc15b974db2f97c381ba6c28a8dc8fe6415ed5/NOTICE)
- [TensorFold patch authors and engine credits](https://github.com/Maxrio9/inkling-2-mini-exl3-recipes/blob/3ebc15b974db2f97c381ba6c28a8dc8fe6415ed5/README.md#credits)

## Hardware and prerequisites

Linux, a supported NVIDIA GPU (RTX 30/40/50, RTX PRO Blackwell or DGX Spark), Python 3.11+ and the Hugging Face CLI.

| Preset | Engine | Quantization | Context | Vision | Speculative decoding | Port |
| --- | --- | --- | --- | --- | --- | --- |
| 16 GB · dedicated GPU | TensorFold | EXL3 3.3bpw | 181248 | No | DFlash2 | 8080 |
| 16 GB · desktop GPU | TensorFold | EXL3 3.3bpw | 75776 | No | DFlash2 | 8080 |
| 16 GB (long context) · dedicated GPU | TensorFold | EXL3 3.3bpw | 245760 | No | Off | 8080 |
| 16 GB (long context) · desktop GPU | TensorFold | EXL3 3.3bpw | Auto (≤245760) | No | Off | 8080 |
| 24 GB · dedicated GPU | TensorFold | EXL3 4.0bpw | 353280 | 274432 | DFlash2 | 8080 |
| 24 GB · desktop GPU | TensorFold | EXL3 4.0bpw | 294912 | 215040 | DFlash2 | 8080 |
| 32 GB · dedicated GPU | TensorFold | EXL3 4.0bpw | 737280 | 654336 | DFlash2 | 8080 |
| 32 GB · desktop GPU | TensorFold | EXL3 4.0bpw | 678912 | 595968 | DFlash2 | 8080 |
| 1× DGX Spark · dedicated GPU | TensorFold | EXL3 4.0bpw | 1048576 | 1048576 | DFlash2 | 8080 |
| 1× DGX Spark · desktop GPU | TensorFold | EXL3 4.0bpw | 1048576 | 1048576 | DFlash2 | 8080 |

### 16 GB · dedicated GPU (`16gb-dedicated`)

API: `http://127.0.0.1:8080/v1`

Parallel slots: 1

```sh
git clone https://github.com/Maxrio9/inkling-2-mini-exl3-recipes.git
cd inkling-2-mini-exl3-recipes
./start.sh --card 16 --no-desktop
```

Alternative manual setup

```sh
hf download Maxrio/Inkling-2-Mini-exl3 --revision 3.3bpw --local-dir ./inkling-mini
(cd inkling-mini && sha256sum --check --strict SHA256SUMS)
# Blackwell (RTX 30/40: use incoai/Inkling-2-Mini-DFlash2 instead)
hf download Maxrio/Inkling-2-Mini-DFlash2-FP8 --local-dir ./inkling-mini/dflash2
TENSORFOLD_MEMORY_RESERVE_GIB=0.5 ./bin/tensorfold-native serve ./inkling-mini --config ./configs/16gb.toml --drafter ./inkling-mini/dflash2 --host-embed --name inkling-2-mini --port 8080
```

Verify in a second terminal.

```sh
curl http://127.0.0.1:8080/v1/models
```

### 16 GB · desktop GPU (`16gb-desktop`)

API: `http://127.0.0.1:8080/v1`

Parallel slots: 1

```sh
git clone https://github.com/Maxrio9/inkling-2-mini-exl3-recipes.git
cd inkling-2-mini-exl3-recipes
./start.sh --card 16 --desktop
```

Alternative manual setup

```sh
hf download Maxrio/Inkling-2-Mini-exl3 --revision 3.3bpw --local-dir ./inkling-mini
(cd inkling-mini && sha256sum --check --strict SHA256SUMS)
# Blackwell (RTX 30/40: use incoai/Inkling-2-Mini-DFlash2 instead)
hf download Maxrio/Inkling-2-Mini-DFlash2-FP8 --local-dir ./inkling-mini/dflash2
TENSORFOLD_MEMORY_RESERVE_GIB=0.5 ./bin/tensorfold-native serve ./inkling-mini --config ./configs/16gb-desktop.toml --drafter ./inkling-mini/dflash2 --host-embed --name inkling-2-mini --port 8080
```

Verify in a second terminal.

```sh
curl http://127.0.0.1:8080/v1/models
```

### 16 GB (long context) · dedicated GPU (`16gb-long`)

API: `http://127.0.0.1:8080/v1`

Parallel slots: 1

```sh
git clone https://github.com/Maxrio9/inkling-2-mini-exl3-recipes.git
cd inkling-2-mini-exl3-recipes
./start.sh --card 16 --long --no-desktop
```

Alternative manual setup

```sh
hf download Maxrio/Inkling-2-Mini-exl3 --revision 3.3bpw --local-dir ./inkling-mini
(cd inkling-mini && sha256sum --check --strict SHA256SUMS)
TENSORFOLD_MEMORY_RESERVE_GIB=0.5 ./bin/tensorfold-native serve ./inkling-mini --config ./configs/16gb-long.toml --host-embed --name inkling-2-mini --port 8080
```

Verify in a second terminal.

```sh
curl http://127.0.0.1:8080/v1/models
```

### 16 GB (long context) · desktop GPU (`16gb-long-desktop`)

API: `http://127.0.0.1:8080/v1`

Parallel slots: 1

```sh
git clone https://github.com/Maxrio9/inkling-2-mini-exl3-recipes.git
cd inkling-2-mini-exl3-recipes
./start.sh --card 16 --long --desktop
```

Verify in a second terminal.

```sh
curl http://127.0.0.1:8080/v1/models
```

### 24 GB · dedicated GPU (`24gb-dedicated`)

API: `http://127.0.0.1:8080/v1`

Parallel slots: 4

```sh
git clone https://github.com/Maxrio9/inkling-2-mini-exl3-recipes.git
cd inkling-2-mini-exl3-recipes
./start.sh --card 24 --no-desktop
```

Alternative manual setup

```sh
hf download Maxrio/Inkling-2-Mini-exl3 --revision 4.0bpw --local-dir ./inkling-mini
(cd inkling-mini && sha256sum --check --strict SHA256SUMS)
# Blackwell (RTX 30/40: use incoai/Inkling-2-Mini-DFlash2 instead)
hf download Maxrio/Inkling-2-Mini-DFlash2-FP8 --local-dir ./inkling-mini/dflash2
./bin/tensorfold-native serve ./inkling-mini --config ./configs/24gb.toml --drafter ./inkling-mini/dflash2 --host-embed --name inkling-2-mini --port 8080
```

Verify in a second terminal.

```sh
curl http://127.0.0.1:8080/v1/models
```

### 24 GB · desktop GPU (`24gb-desktop`)

API: `http://127.0.0.1:8080/v1`

Parallel slots: 4

```sh
git clone https://github.com/Maxrio9/inkling-2-mini-exl3-recipes.git
cd inkling-2-mini-exl3-recipes
./start.sh --card 24 --desktop
```

Alternative manual setup

```sh
hf download Maxrio/Inkling-2-Mini-exl3 --revision 4.0bpw --local-dir ./inkling-mini
(cd inkling-mini && sha256sum --check --strict SHA256SUMS)
# Blackwell (RTX 30/40: use incoai/Inkling-2-Mini-DFlash2 instead)
hf download Maxrio/Inkling-2-Mini-DFlash2-FP8 --local-dir ./inkling-mini/dflash2
./bin/tensorfold-native serve ./inkling-mini --config ./configs/24gb-desktop.toml --drafter ./inkling-mini/dflash2 --host-embed --name inkling-2-mini --port 8080
```

Verify in a second terminal.

```sh
curl http://127.0.0.1:8080/v1/models
```

### 32 GB · dedicated GPU (`32gb-dedicated`)

API: `http://127.0.0.1:8080/v1`

Parallel slots: 8

```sh
git clone https://github.com/Maxrio9/inkling-2-mini-exl3-recipes.git
cd inkling-2-mini-exl3-recipes
./start.sh --card 32 --no-desktop
```

Alternative manual setup

```sh
hf download Maxrio/Inkling-2-Mini-exl3 --revision 4.0bpw --local-dir ./inkling-mini
(cd inkling-mini && sha256sum --check --strict SHA256SUMS)
# Blackwell (RTX 30/40: use incoai/Inkling-2-Mini-DFlash2 instead)
hf download Maxrio/Inkling-2-Mini-DFlash2-FP8 --local-dir ./inkling-mini/dflash2
./bin/tensorfold-native serve ./inkling-mini --config ./configs/32gb.toml --drafter ./inkling-mini/dflash2 --host-embed --name inkling-2-mini --port 8080
```

Verify in a second terminal.

```sh
curl http://127.0.0.1:8080/v1/models
```

### 32 GB · desktop GPU (`32gb-desktop`)

API: `http://127.0.0.1:8080/v1`

Parallel slots: 8

```sh
git clone https://github.com/Maxrio9/inkling-2-mini-exl3-recipes.git
cd inkling-2-mini-exl3-recipes
./start.sh --card 32 --desktop
```

Alternative manual setup

```sh
hf download Maxrio/Inkling-2-Mini-exl3 --revision 4.0bpw --local-dir ./inkling-mini
(cd inkling-mini && sha256sum --check --strict SHA256SUMS)
# Blackwell (RTX 30/40: use incoai/Inkling-2-Mini-DFlash2 instead)
hf download Maxrio/Inkling-2-Mini-DFlash2-FP8 --local-dir ./inkling-mini/dflash2
./bin/tensorfold-native serve ./inkling-mini --config ./configs/32gb-desktop.toml --drafter ./inkling-mini/dflash2 --host-embed --name inkling-2-mini --port 8080
```

Verify in a second terminal.

```sh
curl http://127.0.0.1:8080/v1/models
```

### 1× DGX Spark · dedicated GPU (`spark-dedicated`)

API: `http://127.0.0.1:8080/v1`

Parallel slots: 8

```sh
git clone https://github.com/Maxrio9/inkling-2-mini-exl3-recipes.git
cd inkling-2-mini-exl3-recipes
./start.sh --card spark --no-desktop
```

Alternative manual setup

```sh
hf download Maxrio/Inkling-2-Mini-exl3 --revision 4.0bpw --local-dir ./inkling-mini
(cd inkling-mini && sha256sum --check --strict SHA256SUMS)
# Blackwell (RTX 30/40: use incoai/Inkling-2-Mini-DFlash2 instead)
hf download Maxrio/Inkling-2-Mini-DFlash2-FP8 --local-dir ./inkling-mini/dflash2
./bin/tensorfold-native serve ./inkling-mini --config ./configs/dgx-spark.toml --drafter ./inkling-mini/dflash2 --name inkling-2-mini --port 8080
```

Verify in a second terminal.

```sh
curl http://127.0.0.1:8080/v1/models
```

### 1× DGX Spark · desktop GPU (`spark-desktop`)

API: `http://127.0.0.1:8080/v1`

Parallel slots: 8

```sh
git clone https://github.com/Maxrio9/inkling-2-mini-exl3-recipes.git
cd inkling-2-mini-exl3-recipes
./start.sh --card spark --desktop
```

Alternative manual setup

```sh
hf download Maxrio/Inkling-2-Mini-exl3 --revision 4.0bpw --local-dir ./inkling-mini
(cd inkling-mini && sha256sum --check --strict SHA256SUMS)
# Blackwell (RTX 30/40: use incoai/Inkling-2-Mini-DFlash2 instead)
hf download Maxrio/Inkling-2-Mini-DFlash2-FP8 --local-dir ./inkling-mini/dflash2
./bin/tensorfold-native serve ./inkling-mini --config ./configs/dgx-spark-desktop.toml --drafter ./inkling-mini/dflash2 --name inkling-2-mini --port 8080
```

Verify in a second terminal.

```sh
curl http://127.0.0.1:8080/v1/models
```

## Connect clients

Use the API URL from the selected preset. Confirm the model ID with `/v1/models`. The recipe's example model ID is `inkling-2-mini`.

- **Open WebUI** — Enter the OpenAI API URL under Settings → Connections.
- **Coding agent** — Select an OpenAI-compatible provider and enter the API URL and model ID.
- **Python SDK** — Use the port of the selected preset.

```python
from openai import OpenAI

client = OpenAI(base_url="http://127.0.0.1:8080/v1", api_key="local")
```

`local` is a placeholder. If the server requires authentication, use the key configured on the server.

## Caveats

- Vision needs CUDA 13 cuBLAS (libcublasLt.so.13). Use --vision on 24 GB cards and larger. The 16 GB presets are text-only.
- The v4 context values are planner caps per request with FP8 KV. At startup the launcher reduces them to fit free memory. Both 16 GB long modes use 16gb-long.toml. The desktop long mode has no separate capacity receipt.
- 96 GB card (96-gb-card): the launcher selects the 32 GB config on discrete GPUs with at least 31 GiB. Upstream has no dedicated 96 GB config or verified capacity for it. Add --dry-run to inspect the selection.
- LoopCD-Logits is optional and off by default. Add --loopcd-logits 0.5 for contrastive guidance, and --loopcd-skip-thinking to apply it only to visible output. On 24 GB and larger, --native requires a compatible decode-hill engine (ff436d258) and uses Thinking Machines’ NVFP4/MXFP8 weights with kernels adapted from Mia’s AI Lab.
- For manual setup, verify and unpack the v4 engine for your architecture, then copy configs/ from the recipe checkout. On RTX 30/40 use the BF16 DFlash2 bundle and set TF_INKLING2_LAZY_HEAD=0. The launcher handles both steps automatically.

## Measurements

- **Decode & multi-stream speed (32 GB RTX PRO 4500, v4, 3.3 bpw + FP8 KV)** — 70.64 tok/s plain → 173.3 tok/s coding / 133.6 tok/s prose at 1 stream, rising to 418.3 at 8 streams and 519.7 tok/s coding across 16 streams. [1](https://lasse-ai.com/tests/2026-11-30-inkling-2-mini-exl3-v4-on-32-gb-prefill-and-multi-stream-decode/) [2](https://lasse-ai.com/tests/2026-11-25-inkling-2-mini-3-3-bit-version-speed-on-a-32-gb-card/)
- **Prefill & 1× DGX Spark speed (v4)** — 7,013 tok/s at 8K (6,498 at 32K) on 32 GB; 3,427.4 tok/s 8K prefill, 66.5 tok/s coding solo (56.1 prose, 44.6 plain) and 419.0 tok/s prose across 64 streams on 1× DGX Spark. [1](https://lasse-ai.com/tests/2026-11-30-inkling-2-mini-exl3-v4-on-32-gb-prefill-and-multi-stream-decode/) [2](https://lasse-ai.com/tests/2026-11-30-inkling-2-mini-exl3-v4-on-1x-dgx-spark-prefill-and-64-stream-decode/)
- **Vision & real-world breadth (1× DGX Spark, official reference)** — 91.5% ChartQA; 69% on our harder 36-attempt real-world task suite. [1](https://lasse-ai.com/tests/2026-11-22-inkling-2-mini-official-nvfp4-mxfp8-long-documents-and-chart-reading-on-a-dgx-spark/) [2](https://lasse-ai.com/tests/2026-11-22-inkling-2-mini-official-nvfp4-mxfp8-everyday-tasks-on-a-dgx-spark/)

## Test records

- [Inkling 2 Mini EXL3 v4 on 32 GB: prefill and multi-stream decode](https://lasse-ai.com/tests/2026-11-30-inkling-2-mini-exl3-v4-on-32-gb-prefill-and-multi-stream-decode/)
- [Inkling 2 Mini EXL3 v4 on 1x DGX Spark: prefill and 64-stream decode](https://lasse-ai.com/tests/2026-11-30-inkling-2-mini-exl3-v4-on-1x-dgx-spark-prefill-and-64-stream-decode/)
- [Inkling 2 Mini, 3.3-bit version: speed on a 32 GB card](https://lasse-ai.com/tests/2026-11-25-inkling-2-mini-3-3-bit-version-speed-on-a-32-gb-card/)
- [Inkling 2 Mini official NVFP4/MXFP8: long documents and chart reading on a DGX Spark](https://lasse-ai.com/tests/2026-11-22-inkling-2-mini-official-nvfp4-mxfp8-long-documents-and-chart-reading-on-a-dgx-spark/)
- [Inkling 2 Mini official NVFP4/MXFP8: everyday tasks on a DGX Spark](https://lasse-ai.com/tests/2026-11-22-inkling-2-mini-official-nvfp4-mxfp8-everyday-tasks-on-a-dgx-spark/)
