Run this model with HF Jobs

Run gpustack/Inkling-2-Mini-MLX-8bit-dynamic on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/gpustack/Inkling-2-Mini-MLX-8bit-dynamic. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/gpustack/Inkling-2-Mini-MLX-8bit-dynamic on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/gpustack/Inkling-2-Mini-MLX-8bit-dynamic. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
File size: 2,480 Bytes
bd06f59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
library_name: mlx
license: apache-2.0
license_link: https://www.apache.org/licenses/LICENSE-2.0
pipeline_tag: image-text-to-text
base_model:
  - thinkingmachines/Inkling-2-Mini
  - incoai/Inkling-2-Mini-DFlash2
base_model_relation: quantized
tags:
  - gpustack
  - mlx
  - mlx-vlm
  - inkling2_loop
  - quantized
  - mixed-precision
  - dynamic-quantization
  - 8-bit
  - dflash2
  - multimodal
---

# gpustack/Inkling-2-Mini-MLX-8bit-dynamic

An MLX-native near-lossless affine (`group_size = 64`) 8-bit dynamic quantization of [`thinkingmachines/Inkling-2-Mini`](https://huggingface.co/thinkingmachines/Inkling-2-Mini) (`inkling2_loop`) for Apple Silicon (`mlx-vlm >= 0.8.1`), keeping embeddings, `lm_head`, and the vision tower (`vision_tower.*`) in full BF16 and bundling a blockwise-FP8 quantized [`incoai/Inkling-2-Mini-DFlash2`](https://huggingface.co/incoai/Inkling-2-Mini-DFlash2) drafter under `speculator/`.

## Original Models & License

| Role | Original Model | Original License |
| --- | --- | --- |
| Target Model | [thinkingmachines/Inkling-2-Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini) | [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0) |
| Speculative Drafter (`speculator/`) | [incoai/Inkling-2-Mini-DFlash2](https://huggingface.co/incoai/Inkling-2-Mini-DFlash2) | [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0) |

## Quantization Details (`8-bit dynamic`, ~27.23 GiB weights, 7 Shards)

All quantized tensors use standard MLX affine packing (`mode = "affine"`, `group_size = 64`) in `mlx-vlm >= 0.8.1` layout (`language_model.model.*`, split `mlp.switch_mlp.{gate_proj,up_proj,down_proj}`):

| Precision | Modules | Override Count |
| --- | --- | ---: |
| **BF16 (unquantized)** | Embeddings, `lm_head`, `vision_tower.*`, norms, routers, loop controllers, and short convolutions | `2` overrides + preserved |
| **8-bit (`Q8G64`)** | All MoE routed expert and attention projections | base |
| **Speculator (`speculator/`)** | Bundled FP8 `Inkling-2-Mini-DFlash2` drafter | — |

## Usage with MLX (`mlx-vlm >= 0.8.1`)

```sh
pip install -U "mlx-vlm>=0.8.1"

# Text generation
python -m mlx_vlm generate \
  --model gpustack/Inkling-2-Mini-MLX-8bit-dynamic \
  --max-tokens 256 \
  --prompt "Write a Python Fibonacci function."

# Multimodal vision
python -m mlx_vlm generate \
  --model gpustack/Inkling-2-Mini-MLX-8bit-dynamic \
  --max-tokens 256 \
  --prompt "Describe this image." \
  --image <path-to-image>
```