Run this model with HF Jobs

Run cambash23/Inkling-2-Mini-DFlash2-Global-L13 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 and TRL to fine-tune https://huggingface.co/cambash23/Inkling-2-Mini-DFlash2-Global-L13. 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/cambash23/Inkling-2-Mini-DFlash2-Global-L13 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/cambash23/Inkling-2-Mini-DFlash2-Global-L13. 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.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/cambash23/Inkling-2-Mini-DFlash2-Global-L13. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

Inkling-2-Mini-DFlash2-Global (L13)

Engine (inkling-cmp-engine v1.3.0) | Target Model (thinkingmachines/Inkling-2-Mini) | Base Drafter (incoai/Inkling-2-Mini-DFlash2)

This repository contains Inkling-2-Mini-DFlash2-Global (L13) (s3_l13_sel_anc), a hybrid global-attention DFlash 2 lossless speculative draft model for thinkingmachines/Inkling-2-Mini, initialized from incoai/Inkling-2-Mini-DFlash2 and extended for full 262,144-token long-context speculative decoding.

It is not a standalone language model: it runs inside a speculative decoding engine (such as inkling-cmp-engine v1.3.0+) and drafts parallel blocks of tokens verified losslessly against thinkingmachines/Inkling-2-Mini.

What Changed vs. Stock Inkling-2-Mini-DFlash2

Stock Inkling-2-Mini-DFlash2 uses 5 sliding-window (SWA-2048) layers (layers 0..4), so its draft context cannot attend directly beyond 2,048 tokens. DFlash2-Global (L13) converts layers 1 and 3 to full-context global attention (global_rope_theta = 1,000,000) while preserving SWA-2048 on layers 0, 2, and 4, and calibrates the rank-256 bilinear candidate selector with stock-anchored long-context distillation:

  • Architecture: 5-layer parallel block-diffusion drafter (block_size = 8, hidden_size = 2304, 32 Q heads / 8 KV heads, head_dim = 128, 2-tap dynamic grouped convolutions, rank-256 bilinear candidate selector, target tap layers [5, 23, 41, 48]).
  • Hybrid layer map (layer_types): [sliding_attention, full_attention, sliding_attention, full_attention, sliding_attention] (global_layers = [1, 3], sliding_window = 2048, global_rope_theta = 1,000,000).
  • Paged 262K footprint in inkling-cmp-engine v1.3.0: Shares the engine's 1,024-token global page table lazily with FP8 (E4M3) draft KV (3.97 GiB arena @ 504 pages / 5.81 GiB @ 960 pages across 8 sessions, leaving 996 BF16 target KV pages = 1.02M tokens or 1,789 FP8 pages = 1.83M tokens per 64 GB CMP 170HX).
  • 100% lossless target distribution: Exact greedy argmax and exact Leviathan rejection/residual sampling preserve thinkingmachines/Inkling-2-Mini's output distribution identically.

Quick Start (inkling-cmp-engine v1.3.0+)

# 1. Download this checkpoint
hf download cambash23/Inkling-2-Mini-DFlash2-Global-L13 --local-dir ./Inkling-2-Mini-DFlash2-Global-L13

# 2. Point inkling-cmp-engine at it in scripts/local.sh
echo 'DFLASH2_DIR="/path/to/Inkling-2-Mini-DFlash2-Global-L13"' >> scripts/local.sh

# 3. Start the server (or pass --draft-dflash2 directly to ink-server)
./start.sh restart

Direct ink-server flag:

ink-server \
  --model-dir /path/to/Inkling-2-Mini \
  --draft-dflash2 /path/to/Inkling-2-Mini-DFlash2-Global-L13 \
  --draft-ctx 262144 \
  --kv-pages 960 \
  --prefill-chunk 8192 \
  --lookup 8

Benchmarks (inkling-cmp-engine v1.3.0, 1ร— NVIDIA CMP 170HX 64 GB sm_80)

1. 180 W MiaAI-Lab Decode Matrix (T=0, 400 tok/user, reasoning_effort=none, CHUNK=12288, 928 BF16 pages = 950K KV)

Measured on both 6D (1,728 MHz HBM) and 67 (1,458 MHz HBM) CMP 170HX cards (agg includes TTFT; dec is sum of post-TTFT decode rates):

Workload 6D agg (dec) 67 agg (dec) Median TTFT (6D / 67)
1u lists 396.0 (418.8) tok/s 376.8 (397.6) tok/s 56 ms / 60 ms
1u code 250.0 (259.9) tok/s 246.7 (256.4) tok/s 62 ms / 64 ms
1u prose 214.7 (221.2) tok/s 203.2 (209.2) tok/s 58 ms / 59 ms
2u lists 637.6 (714.5) tok/s 630.6 (704.1) tok/s 108 ms / 108 ms
2u code 385.9 (454.1) tok/s 405.8 (462.1) tok/s 118 ms / 118 ms
2u prose 358.9 (380.1) tok/s 325.0 (370.4) tok/s 114 ms / 116 ms
4u lists 1,081.8 (1,231.0) tok/s 1,031.9 (1,165.0) tok/s 132 ms / 134 ms
4u code 608.2 (697.7) tok/s 561.8 (680.1) tok/s 154 ms / 156 ms
4u prose 577.6 (632.7) tok/s 528.6 (581.9) tok/s 142 ms / 144 ms
8u lists 1,559.5 (1,800.9) tok/s 1,575.3 (1,823.1) tok/s 169 ms / 171 ms
8u code 852.9 (1,086.0) tok/s 822.3 (1,041.0) tok/s 203 ms / 204 ms
8u prose 835.7 (938.8) tok/s 834.9 (919.7) tok/s 186 ms / 187 ms

2. Long-Context Speculative Decode (180 W & 140 W, 262K Paged Global KV)

  • Cold 246,393-token prompt + 256-tok decode (180 W, 6D): 4,723 tok/s prefill, 135.5 tok/s speculative decode (2.0ร— vs non-speculative 68.0 tok/s).
  • 4ร—45K batched long-context agent benchmark (140 W, 67): 532.89 tok/s (5.592 tok/rd, +28.3% vs DSpark 415.32 tok/s, +13.5% vs stock SWA-only DFlash2).
  • Multi-turn agent replay (140 W, 343 reqs, ~45K median ctx, 960 BF16 pages, 0 errors): 6D N=4 T=0 385.4 tok/s (p99 TTFT 2.95 s), N=8 T=1.0 384.7 tok/s (p99 TTFT 4.26 s).

3. Lossless Verification (ink-spec, --draft-ctx 262144 --lookup 8)

  • Greedy equivalence: 0 / 8,000 bad argmax tokens (max_gap = 0.0000, 4.020 tok/rd).
  • Sampled equivalence: 20 / 20 exact sequences (8,000 / 8,000 tokens, flags_or = 0).
  • Exact Leviathan sampling distribution (sdist): 13 / 13 PASS (212,992 draws, 0 zero-probability draws).
  • 246K page-boundary rollback test: PASS (bit-identical).

License & Attribution

Licensed under the Apache License, Version 2.0. Derived from:

Citations

@misc{inco2026dflash2,
  title  = {{DFlash 2: Keep Drafting Parallel}},
  author = {{Inco AI}},
  year   = {2026},
  month  = {August},
  url    = {https://inco.ai/blog/dflash2/}
}

@inproceedings{chen2026dflash,
  title     = {{DFlash: Block Diffusion for Flash Speculative Decoding}},
  author    = {Chen, Jian and Liang, Yesheng and Liu, Zhijian},
  booktitle = {International Conference on Machine Learning (ICML)},
  year      = {2026}
}
Downloads last month
348
Safetensors
Model size
0.5B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for cambash23/Inkling-2-Mini-DFlash2-Global-L13

Finetuned
(3)
this model