Image-Text-to-Text
Basalt
English
multilingual
inkling2
Mixture of Experts
looped-transformer
nvfp4
mxfp8
bf16
blackwell
sm_120
conversational
Instructions to use harshav/Inkling-2-Mini-Basalt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Basalt
How to use harshav/Inkling-2-Mini-Basalt with Basalt:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Add model card for Inkling-2-Mini-NVFP4-MX8-BF16-ATTN.basalt
Browse files
README.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: thinkingmachines/Inkling-2-Mini
|
| 4 |
+
tags:
|
| 5 |
+
- basalt
|
| 6 |
+
- inkling2
|
| 7 |
+
- nvfp4
|
| 8 |
+
- mxfp8
|
| 9 |
+
- bf16-attn
|
| 10 |
+
- blackwell
|
| 11 |
+
- sm_120
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Inkling-2-Mini-NVFP4-MX8-BF16-ATTN (Basalt Pack)
|
| 15 |
+
|
| 16 |
+
Native `.basalt` pack built from [`thinkingmachines/Inkling-2-Mini`](https://huggingface.co/thinkingmachines/Inkling-2-Mini) (Apache-2.0) keeping all text attention projections in source **BF16** instead of rounding them to `Q8_0`, while keeping the release's native **NVFP4** (layers 0–19) and **MXFP8** (layers 20–23) routed experts, vision encoder, and bundled 3-layer **DSpark** drafter intact.
|
| 17 |
+
|
| 18 |
+
## Artifact
|
| 19 |
+
|
| 20 |
+
| File | Size | SHA-256 |
|
| 21 |
+
| --- | ---: | --- |
|
| 22 |
+
| `Inkling-2-Mini-NVFP4-MX8-BF16-ATTN.basalt` | 18.82 GiB (`20,210,354,301` bytes) | `7c17a381bcf4058044be5c001f21c9f00a3b103e2dab73427711cf6acb71d17e` |
|
| 23 |
+
|
| 24 |
+
## Conversion Recipe
|
| 25 |
+
|
| 26 |
+
Built directly from the official `thinkingmachines/Inkling-2-Mini` checkpoint using Basalt's converter with `--inkling2-bf16-attn`:
|
| 27 |
+
|
| 28 |
+
```bash
|
| 29 |
+
python tools/convert/convert.py \
|
| 30 |
+
--checkpoint /path/to/Inkling-2-Mini \
|
| 31 |
+
--out Inkling-2-Mini-NVFP4-MX8-BF16-ATTN.basalt \
|
| 32 |
+
--inkling2-bf16-attn
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
### Precision Layout
|
| 36 |
+
- **Routed experts (layers 0–19):** native NVFP4 codes & scales (bit-for-bit from official release)
|
| 37 |
+
- **Routed experts (layers 20–23):** native MXFP8 codes & UE8M0 scales (bit-for-bit from official release)
|
| 38 |
+
- **Text attention projections (`Q, K, V, rel, gate, sink, conv taps, output`):** source **BF16** (`--inkling2-bf16-attn`, requires a Basalt build with `bf16_sm120` BF16 attention support)
|
| 39 |
+
- **Output head & token embedding:** source BF16
|
| 40 |
+
- **Norms, router, biases, loop controllers, vision encoder, DSpark drafter:** source F32 / BF16
|
| 41 |
+
|
| 42 |
+
## RTX 5090 @ 600 W Benchmarks (`basalt-bench --seed 42 -r 2 --spec 16`)
|
| 43 |
+
|
| 44 |
+
| Mode | `pp16384` (tok/s) | `tg conv` (tok/s) | `tg struct` (tok/s) | `tg prose` (tok/s) |
|
| 45 |
+
| --- | ---: | ---: | ---: | ---: |
|
| 46 |
+
| `--kv fp16 --draft-stop-prob 0.15` | 20,726 ± 65 | 310 ± 4 (50.0% acc) | 772 ± 11 (89.5% acc) | 264 ± 1 (37.8% acc) |
|
| 47 |
+
| `--kv fp16 --draft-stop-prob 0` | 20,737 ± 65 | 308 ± 2 (51.0% acc) | 767 ± 2 (89.5% acc) | 264 ± 0 (37.3% acc) |
|
| 48 |
+
| `--kv int8` (with Fisher-LDA `--ablation`) | 20,686 ± 61 | 323 ± 6 (62.1% acc) | 699 ± 4 (93.4% acc) | 274 ± 0 (44.6% acc) |
|
| 49 |
+
|
| 50 |
+
## Usage
|
| 51 |
+
|
| 52 |
+
```bash
|
| 53 |
+
basalt serve Inkling-2-Mini-NVFP4-MX8-BF16-ATTN.basalt \
|
| 54 |
+
--gpu 0 --max-context 262144 --kv fp16 --spec 16 --parallel 1 --vision dynamic
|
| 55 |
+
```
|
| 56 |
+
|
| 57 |
+
## License & Attribution
|
| 58 |
+
|
| 59 |
+
Base weights and architecture © Thinking Machines Lab, Inc., licensed under Apache-2.0 (`thinkingmachines/Inkling-2-Mini`). Pack format by Basalt (`jesdga95/basalt`).
|