Skip to content

inferd 0.5.2

Choose a tag to compare

@johntdavies johntdavies released this 30 Nov 02:58
· 58 commits to main since this release

inferd 0.5.2

Inkling 2 Mini drafts with Inco AI's DFlash2 draft model by default on the Mac; a clearer start-up error when the front
end's Python is missing.

Downloads

  • Mac (Apple Silicon, macOS 27): inferd-0.5.2-macos27-arm64.tar.gz (+ .sha256). macOS 26: build from source on
    that Mac.
  • NVIDIA DGX Spark: unchanged; use inferd-0.5.0-spark-cuda13-arm64.tar.gz from the
    v0.5.0 release.

What's new

  • Inkling 2 Mini drafts with Inco AI's DFlash2 draft model (incoai/Inkling-2-Mini-DFlash2,
    Apache-2.0) when it is on the Mac, and otherwise with the checkpoint's own DSpark head. run.sh prints which at
    start-up. Replies are byte-identical to undrafted ones: every drafted token is verified by the model.
    • Named model inkling: ./install.sh --model inkling downloads Inkling 2 Mini (thinkingmachines/Inkling-2-Mini)
      and the draft model at pinned revisions (docs/MODEL-REVISIONS.md),
      and ./run.sh start --model inkling finds and starts them. A checkpoint folder given by path looks for the draft
      model in the same places.

    • Mac mini M5 Pro, one user, 2k context, tokens per second:

      none DSpark DFlash2
      prose 35.4 35.2 40.2
      code 35.4 53.8 57.4
    • 8 agents on 4k contexts: 92.1 -> 104.6 (DSpark) -> 111.0 tok/s total.

    • Mac mini M6, one user: prose 23.0 -> 26.6, code 36.4 -> 37.5 tok/s (DSpark -> DFlash2).

    • Memory: about +1.6 GiB with the DFlash2 draft model (+1.0 GiB with DSpark).

    • Opt out: --draft none (no drafting, as in 0.5.1) or INK_DSPARK=1 (DSpark instead).

    • INK_DFLASH=<folder> / --draft <folder> name a draft model by hand; its linear layers run in 8-bit by default
      (INK_DFLASH_BITS=16 for bf16; drafts only, the output is unchanged).

Fixes

  • run.sh start when the front end's Python lacks its packages: the error now names the venv it looked for
    (INFERD_VENV, default ~/.venvs/inferd) and the two ways out (./install.sh, or PY / INFERD_VENV). The
    positional form's message is unchanged.

Versioning

0.5.2 changes a default in a patch release: only speed and memory change, and every reply stays byte-identical. The
changelog's versioning line now says a patch release may do this, and lists the change under Changed with how to
opt out.

Checks

  • Release gate: tools/release_gate.sh passed from this tarball on a Mac Studio M5 Ultra and Mac minis M5 Pro, M6
    and M4 Pro, with the same results as 0.5.1 on each.
  • Other models unchanged: byte checks against 0.5.1 are identical for the 27B, 9B, 4B, Flash-Next, GLM-5.3-Flash,
    DeepSeek V4.1 Flash, Hy4-flash, GLM-5.3 and Inkling.
  • Served text vs 0.5.1: identical for the 27B with its drafter and for Inkling (9/9 each).
  • Inkling's three drafter settings: byte-identical replies (9/9) after a clean ./install.sh --model inkling.

Full list: CHANGELOG.md.