Instructions to use shinmegamiboson/Inkling-2-Mini-LookAtMyQuant-drafter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use shinmegamiboson/Inkling-2-Mini-LookAtMyQuant-drafter with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download shinmegamiboson/Inkling-2-Mini-LookAtMyQuant-drafter --local-dir Inkling-2-Mini-LookAtMyQuant-drafter
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
4-bit DSpark Drafters for Inkling-2-Mini
4-bit quantizations (178.9 MB each, 3.55ร smaller than the 635.8 MB BF16 mtp.safetensors inside thinkingmachines/Inkling-2-Mini) of Inkling-2-Mini's 3-layer DSpark MTP speculative drafter, for use with the LookAtMyQuant Apple Silicon MLX and NVIDIA CUDA runtimes.
The drafter reads four target hidden taps (logical visits 5, 23, 41, and 48) and proposes adaptive linear blocks (verified in one batched pass) for lossless greedy decoding, exact unbiased temp > 0 speculative sampling, and --max-thinking-tokens parity. Measured on an Apple M5 Max with mtp_4bit.safetensors alongside all six published Inkling-2-Mini builds:
| Target build | Active / peak RAM | Prefill (T=512) | Serial | Drafted (math / code) |
|---|---|---|---|---|
| 12.8 GB | 12.73 / 13.51 GB | 1,556 tok/s | 53.8 tok/s | 125.9 / 75.5 tok/s |
| 11.2 GB | 11.14 / 11.97 GB | 1,540 tok/s | 53.1 tok/s | 116.9 / 87.7 tok/s |
| 8.9 GB | 8.84 / 9.68 GB | 1,784 tok/s | 56.0 tok/s | 139.7 / 96.2 tok/s |
| 5.4 GB | 5.34 / 6.41 GB | 1,552 tok/s | 66.3 tok/s | 115.5 / 105.0 tok/s |
| 4.7 GB | 4.67 / 5.75 GB | 1,497 tok/s | 68.3 tok/s | 126.3 / 100.3 tok/s |
| 3.9 GB | 3.81 / 4.91 GB | 1,353 tok/s | 75.2 tok/s | 118.3 / 96.3 tok/s |
Run it
Install the LookAtMyQuant runtime (lookatmyquant.com):
# Apple Silicon (MLX)
pip install git+https://github.com/ShinMegamiBoson/lookatmyquant.git
lamq generate shinmegamiboson/Inkling-2-Mini-LookAtMyQuant-5.4GB \
--drafter shinmegamiboson/Inkling-2-Mini-LookAtMyQuant-drafter \
--max-thinking-tokens 960 \
-p "What is 17 times 23? Show the steps." --stats
lamq serve shinmegamiboson/Inkling-2-Mini-LookAtMyQuant-5.4GB \
--drafter shinmegamiboson/Inkling-2-Mini-LookAtMyQuant-drafter --port 8080 --ui
# NVIDIA CUDA (supported on the 3.9, 4.7, 5.4, and 8.9 GB trellis builds)
pip install "lookatmyquant[cuda] @ git+https://github.com/ShinMegamiBoson/lookatmyquant.git"
lamq generate shinmegamiboson/Inkling-2-Mini-LookAtMyQuant-8.9GB --device cuda --drafter auto \
-p "What is 17 times 23? Show the steps." --stats
Files
mtp_4bit.safetensors(default): 4-bit (group_size = 64) quantized stock DSpark weights (norms,fuse_weight,mask_embed, andhidden_outkept in native precision).mtp_4bit_5p4gb_v2.safetensors: 4-bit DSpark drafter distilled onto the 5.4 GB build.mtp_4bit_8p9gb_v2.safetensors: 4-bit DSpark drafter distilled onto the 8.9 GB build.config.json: model andmtp_configmetadata.manifest.json: drafter format descriptor (inkling2-dspark-4bit-v1).
- Downloads last month
- 2,019
Quantized
Model tree for shinmegamiboson/Inkling-2-Mini-LookAtMyQuant-drafter
Base model
thinkingmachines/Inkling-2-Mini