Skip to content

v0.2.4

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Dec 00:53
· 3 commits to main since this release
8e670ee

Highlights

  • Inkling 2 Mini. thinkingmachines/Inkling-2-Mini serves text, image input, reasoning and tool calls, with prefix reuse, 8-bit KV, the fused, offload, hybrid and cpu MoE strategies, and DSpark speculative decoding from the draft in its checkpoint (#957, #962, #963, #973).
  • Qwen4-35B-A3B. The BF16, FP8 and NVFP4 checkpoints serve as downloaded, and so do llama.cpp's GGUF files, with image input, MTP speculative decoding, and --kv-cache-dtype nvfp4 for the QSA KV (#981, #983, #988, #989).

Speculative Decoding

  • [Feature] Add --spec-algo dspark for Inkling 2 Mini, drafting with the DSpark head in its checkpoint (mtp.safetensors) (#971, #973)

GGUF Support

  • [Feature] Load Qwen4-35B-A3B GGUF files (ggml-org, unsloth) and their MTP drafts (#983)

Model Support

  • [Feature] Serve Inkling 2 Mini: text, image input, reasoning and tool calls (#957)
  • [Feature] Serve Inkling 2 Mini under --moe-strategy hybrid and cpu (#963)
  • [Feature] Serve Qwen4-35B-A3B (qwen4_moe) FP8 and NVFP4 checkpoints (#981)
  • [Feature] Serve Qwen4-35B-A3B checkpoints without trust_remote_code, reading the tokenizer from tokenizer-compat/ (#988)
  • [Feature] Read the stacked bf16 routed experts of Qwen4-35B-A3B BF16 checkpoints (#989)
  • Not supported yet: Inkling 2 with --tp > 1; Qwen4's own chat encoder and tool / reasoning parsers; it renders the Jinja template in tokenizer-compat/ and uses the qwen3 / qwen3_coder parsers (#979).

Quantization

  • [Feature] Add MXFP8 MoE expert kernels for GPU and CPU (#954, #955)
  • [Feature] Read fp8 / int8 per-token-head KV in the Inkling 2 attention kernels (#962)
  • [Feature] Add --kv-cache-dtype nvfp4 and --indexer-kv-dtype for the QSA layers of Qwen3.8-Flash-Next and Qwen4-35B-A3B (#981, #990)

Engine

  • [Perf] Vectorize the hybrid expert ensure kernel (#907, #984)
  • [Perf] Reuse the gate_up buffer for the NVFP4 prefill down output (#956)
  • [Fix] Wait for every TP rank's subscription before the first fan-out (#951)

Kernels

  • [Perf] Split Inkling 2 decode attention to fill one wave of the GPU (#972)
  • [Perf] Run Inkling 2 low-M projections through Triton split-K kernels (#977)
  • [Perf] Fuse the Inkling 2 decode and verify attention prologue into one kernel (#978)

Server and CLI

  • [Feature] Add ft bench serve for end-to-end prefill and decode speed (#974)
  • [Fix] End in-flight generations when the backend worker dies (#958)
  • [Fix] Name the unsupported Anthropic tool type in the 400 instead of a missing input_schema (#959)
  • [Fix] Serve every reasoning effort level of a chat template that rejects unknown names (#960)

AMD ROCm (WIP, experimental)

  • [Perf] Read fp8 KV as fp16 bit patterns in RDNA3 (gfx11) decode (#899)

Dependencies

  • [Fix] Cap fastapi below 0.142: with opentelemetry-api 1.46, its built-in request telemetry fails every request with a 500 (#992)

Breaking Changes & Deprecations

  • benchmarks/bench_decode_moe.py is removed; use ft bench serve (#974).

Contributors

@jason-fxz, @ischencheng, @zihaomu, @LZ-QWQ, @sword-k-w, @xinze-zheng, @andy-yang-1

First contributions this release:

Full changelog: v0.2.3...v0.2.4