Skip to content

inferd 0.5.0

Choose a tag to compare

@johntdavies johntdavies released this 29 Nov 13:16
· 94 commits to main since this release

inferd 0.5.0

inferd is a native inference engine built for many AI agents at once. 0.5.0 adds NVIDIA DGX Spark support, new models
on the Mac, two numerical presets and native loading of Hugging Face and GGUF checkpoints.

Downloads

  • Mac (Apple Silicon, macOS 27): inferd-0.5.0-macos27-arm64.tar.gz (+ .sha256). macOS 26: build from source on
    that Mac (run.sh refuses to start a release build made for another macOS major).
  • NVIDIA DGX Spark (GB10, CUDA 13): inferd-0.5.0-spark-cuda13-arm64.tar.gz (+ .sha256); needs Docker and the
    vllm/vllm-openai:v0.32.0 image for the front end. See docs/SPARK.md.

What's new

  • DGX Spark engine (spark/): Qwen3.8-27B (DFlash2), Qwen3.8-Flash-Next (one Spark, or two with expert
    parallelism), Inkling 2 Mini (DSpark), Qwen3.6-35B-A3B (MTP), DeepSeek V4.1 Flash on two Sparks (tensor parallel),
    Qwen3 embeddings; images on the 27B, Flash-Next and Inkling.
  • New Mac models: Inkling 2 Mini (from a 32 GB Mac mini), Qwen3.6-35B-A3B, and on a Mac Studio DeepSeek V4.1 Flash,
    GLM-5.3, GLM-5.3-Flash and Hy4-flash; Gemma-4 and Muse Glimmer.
  • Presets: exact (the default: the checkpoint's own numerics) and fast (8-bit KV and other measured
    approximations); legacy keeps the 0.4.x settings selectable.
  • Loading (Mac): Hugging Face bf16 checkpoints of the Qwen3.5 / 3.6 / 3.8 family load and serve directly; llama.cpp GGUF files are read by run.sh plan, and serving a .gguf on the Mac comes in 0.5.1 (on the DGX Spark, GGUF serves now as a preview, below); --quant a8|a4 quantises at load
    with MLX's exact rule (a conversion cache makes the next start fast); run.sh plan shows what fits and how long the
    start takes before anything loads.
  • Loading (Spark, preview): Qwen3.8-27B from Qwen's block-FP8 release and from GGUF Q8_0 / UD-Q4_K_M, converted at
    load (opt-in with WEIGHTS=; KL vs Qwen's bf16 release 0.011-0.022); Qwen3.6-35B GGUF / FP8 and Inkling 2 Mini GGUF
    (IQ4_NL) experimental. Flash-Next and DeepSeek GGUFs are not yet supported.
  • Release gate passed from the tarball on a Mac Studio M5 Ultra, Mac minis M5 Pro / M6 / M4 Pro.
  • Forked agents share one copy of a context's cache on the Qwen-family models (e.g. 8 agents forking a 64k
    conversation on a 32 GB Mac mini reuse 63.8k cached tokens each).

Benchmarks

Release build, same machine and harness as each competitor, every answer checked
(docs/BENCHMARKS.md):

  • Mac Studio M5 Ultra 256 GB, Qwen3.8-Flash-Next: 64 agents x 16k at 1,560 tok/s (fast); 160 x 16k at 1,825
    (legacy preset; fast 1,750). At 8-32 agents x 16k: 2.7-5.7x oMLX 0.8.4 and 2.5-4.3x TensorFold 1.3.7 (which does
    not start 32 sessions of 16k).
  • DGX Spark, Qwen3.8-Flash-Next: 1.4x / 2.1x / 4.8x / 11.5x TensorFold 1.3.5 at 8 / 16 / 32 / 64 agents x 16k
    (712 vs 62 tok/s at 64); TensorFold is about 7% ahead for one agent.
  • DGX Spark, Qwen3.6-35B-A3B: 905 tok/s at 64 agents x 16k (fast) against vLLM 0.32's 242 (vLLM measured on another
    Spark the day before).
  • Mac mini, Inkling 2 Mini: on a 64 GB M5 Pro, 32 agents x 16k at 146.6 tok/s or 10 x 64k; on a 32 GB M6, 6 x 16k,
    4 x 32k or 2 x 64k. oMLX 0.8.4 does not complete 8 agents x 4k on the M6.
  • DGX Spark x2, DeepSeek V4.1 Flash: 1.1-1.8x TensorFold from 16 agents x 16k (189 vs 112 tok/s at 32), first token
    0.9-1.5 s vs 10-93 s; TensorFold leads at 8 agents and for one user (its drafter).
  • Mac mini M6 32 GB, Qwen3.8-27B: one 64k main thread plus 8 forked agents sharing its cache at 60.9 tok/s, first
    token 8.1 s.
  • Where inferd trails: single-user decode against oMLX and TensorFold on Flash-Next (7-15% on the Studio) and
    against TensorFold on DeepSeek; Splash 1.7.3 on the M5 Pro Mac mini at 8-16 agents (27B 7-19%, 35B 19-38%). Every
    such cell is on the benchmarks page.

Upgrading from 0.4.x

  • The default preset is now exact (bf16 KV): about half the KV tokens of 0.4.x's 8-bit KV in the same memory. For
    0.4.x capacity use INFERD_PRESET=fast; for 0.4.x behaviour exactly, INFERD_PRESET=legacy.
  • Release tarballs carry build/BUILD-INFO; run.sh refuses to start a build made for another macOS major.

Notes on model behaviour seen in the release benchmarks

  • Qwen3.8-27B (Spark, fast, 32-64 agents): some replies answer "agentically" (a sentence plus <tool_call> blocks for
    file tools that were not offered). Coherent and on task; counted as passes.
  • Inkling 2 Mini (Spark): follow-ups are often answered in on-topic prose without code; counted as passes.
  • Inkling 2 Mini sometimes declines a required answer-line format it reads as a grading marker, and writes the task output
    without it. Our answer checks count these as failures, so Inkling's "answers correct" figures include this refusal floor.

Known limits

See docs/LIMITS.md. In short: one model per server; trusted local use (an API key is required off loopback); Inkling 2
Mini does not share KV between conversations yet; DeepSeek V4.1, GLM-5.3-Flash and Hy4-flash on the Mac have no SSD tier
and no drafter; DeepSeek on the Spark needs two boxes and has one preset; no audio-capable model is servable and Gemma-4 is text-only; GGUF on the Spark only as listed above (preview / experimental).
Drafting is verified by the model: the 27B's drafted output matches plain decoding token for token except at near-tie
positions (byte-exact row invariance for the dense 27B is opt-in). On the M6, one release-gate sequence diverges between
drafted and plain decoding at a near-tie (logit gap under 0.5), which the gate's tie check passes; the repetitive gate
sequence 0 diverges on every machine.

Licences

Apache 2.0. Third-party notices (MLX, oMLX, ggml / llama.cpp, DeepSeek's chat template, the EXL3 format references,
CUTLASS and NCCL): NOTICE.