Inkling-2-Mini — DFly2-KV Drafter & FP8 Dense Weights

Auxiliary zero-KV speculative-decoding drafter and offline per-channel FP8 dense weights for thinkingmachines/Inkling-2-Mini, built for shisuiki/honeycomb (packages/inkling-v100 on 1Cat-vLLM).

Repository Contents

Path Description Size SHA256
model.safetensors (repo root) DFly2-KV On-Policy Pilot (step 956, BF16) — 3-layer block-parallel (block_size=8, γ=7, 1 global + 2 SWA-1024 local) + sequential SWA-1024 AttentiveCorrection drafter (320.37M params, 0 B draft KV cache, 0 B draft conv state, reads target epilogue KV directly from L20 (SWA), L23 (Global), L22 (SWA)). Trained 2.005B tokens (1.002B off-policy + 1.003B on-policy, pre-cooldown lr=5e-4). Stage C FP8 and W4 draft-only lm_head are quantized on-load by inkling-v100. 641 MB 48a60f271a7eb7cad3458b7d84bc9332c2b7e7ccb74fc67bea7ba9cc9eec0dbc
fp8_dense/inkling2_fp8_dense_absmax.safetensors Offline Per-Channel absmax E4M3FN FP8 Dense Weights — quantized dense attention projections + lm_head for INKLING_FP8_DENSE_PATH (KLD = 0.0038 vs 48-visit FP32 oracle). 1.14 GB 0da4e49d9f9bcb15c349cba7de38b19393ece7c5fdbdfe2d02295e5963f60d3e

The repo root also includes config.json, tensor_inventory.json, HANDOFF.md, PyTorch reference modules (reference_model.py, reference_kernels.py), and BF16-teacher evaluation reports (eval_i2m_onpolicy_step956.json, eval_i2m_onpolicy_step720.json, eval_i2m_pilot_report.json).


Live Speculative Acceptance (Inkling-2-Mini, γ = 7, max τ = 8.0)

Compared head-to-head against Inkling-2-Mini's native 3-layer DSpark7 drafter on identical held-out prompts (eval_i2m_onpolicy_step956.json), while reclaiming 100% of DSpark7's 3-layer KV cache (up to 1.32M FP8 GPU KV, 1.75M–2.61M with TurboQuant K6V4 / +ELR, and 2.59M–3.42M with TS-QJL2(K6V4) / +ELR on 4× V100-16GB):

Drafter Overall (T = 0.0) Overall (T = 0.6) long_12_30k (T = 0.0) long_12_30k (T = 0.6) Draft Context KV
Native DSpark7 (baseline) 3.050 3.228 3.871 3.729 3 layers
DFly2-KV (step 956, On-Policy) 3.645 (+0.595) 3.722 (+0.494) 4.486 (+0.615) 4.549 (+0.820) 0 B

Serving with Honeycomb (4× V100-SXM2-16GB, inkling-v100)

# Download locally
hf download shisuiki/Inkling-2-Mini-GLA-g4-DFly2 --local-dir ./Inkling-2-Mini-DFly2

# FP8 KV + Zero-KV DFly2-KV + RingAPC (1.32M served KV @ max_len=131K, C=32 @ 1,826–1,943 tok/s):
MODEL_DIR=/path/to/Inkling-2-Mini \
  DFLY2_DIR=./Inkling-2-Mini-DFly2 \
  INKLING_FP8_DENSE_PATH=./Inkling-2-Mini-DFly2/fp8_dense/inkling2_fp8_dense_absmax.safetensors \
  packages/inkling-v100/tools/serve_inkling.sh

# Opt-in TurboQuant K6V4 (+ optional ELR -> 1.75M / 2.61M GPU KV, 36/36 RULER @ 80K):
MODEL_DIR=/path/to/Inkling-2-Mini \
  DFLY2_DIR=./Inkling-2-Mini-DFly2 \
  INKLING_FP8_DENSE_PATH=./Inkling-2-Mini-DFly2/fp8_dense/inkling2_fp8_dense_absmax.safetensors \
  INKLING_K6V4=1 \
  packages/inkling-v100/tools/serve_inkling.sh

# Opt-in Tiered Two-Stage TS-QJL2(K6V4) (+ optional ELR -> 2.59M / 3.42M GPU KV, 36/36 RULER @ 80K):
MODEL_DIR=/path/to/Inkling-2-Mini \
  DFLY2_DIR=./Inkling-2-Mini-DFly2 \
  INKLING_FP8_DENSE_PATH=./Inkling-2-Mini-DFly2/fp8_dense/inkling2_fp8_dense_absmax.safetensors \
  INKLING_TS_QJL2=1 INKLING_TS_TOP_FRAC=0.125 \
  packages/inkling-v100/tools/serve_inkling.sh

Note that DFly2-KV shares the target model's embed_tokens and lm_head (not duplicated in model.safetensors).

Training Data Provenance

The step 478 → 956 on-policy continuation was trained on the public corpus hedgedhog/Inkling-2-Mini-OnPolicy-500M (46,815 trajectories generated directly by thinkingmachines/Inkling-2-Mini). Please comply with thinkingmachines/Inkling-2-Mini's upstream model license and terms.

Downloads last month
66
Safetensors
Model size
0.3B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for shisuiki/Inkling-2-Mini-DFly2

Finetuned
(200)
this model

Collection including shisuiki/Inkling-2-Mini-DFly2