Skip to main content

JustFit 2.6.0 native distribution

JustFit serves a 27B language-and-vision model (Qwen3.8-27B) on Apple silicon Macs with 24 GB of unified memory. The justfit command and everything it starts are native (Rust, C++/Metal, Swift); no Python runs at inference time.

Install

python3 -m venv ~/.justfit && ~/.justfit/bin/pip install justfit-llm==2.6.0
~/.justfit/bin/justfit doctor
~/.justfit/bin/justfit serve

pip only places the files: justfit is a native executable. The first justfit serve installs the bundled runtime, downloads the original mlx-community/Qwen3.8-27B-4bit checkpoint and its DFlash2 draft from Hugging Face, and downloads the ANE vision programs for this chip (about 2.8 GB) from a pinned, hash-checked index. Later starts reuse them.

Requirements: macOS 27.0 or later on Apple silicon; presets for M4 Pro, M5 Pro and M6 (--node m4|m5|m6, chosen from the chip; at least 24 GB of memory). About 22 GB of disk for the model, draft and ANE programs, plus the SSD cache (64 GB quota by default; --max-cache-disk changes it, 0 turns it off). --no-ane-vision uses GPU vision and skips the ANE download. Precompiled ANE programs are published for macOS 27.2.1 (build 26B131); on other macOS builds the first justfit serve compiles them on this Mac, which took 30 minutes to over an hour in our tests, once (vision runs on the GPU meanwhile).

What changed since 2.3.1

  • All native: the justfit command is a native executable and nothing at inference time runs Python. pip only places the files; no runtime manifest or ANE manifest flags are needed, and justfit serve sets up everything on first start.
  • Original checkpoint: serves mlx-community/Qwen3.8-27B-4bit with the DFlash2 draft, both downloaded from Hugging Face on first start, instead of the incoai/Qwen3.8-27B-Splash model pack.
  • Draft-tree decode: the draft proposes a small tree of continuations and the model checks the whole tree in one pass. It applies to greedy requests on all three presets and to sampled requests on M5 Pro and M6, not to grammar-constrained (JSON schema) requests. On SPEED-Bench with greedy decoding (512 output tokens) decode is 4-14% faster than verifying a single draft chain with 1K-token prompts, and 4-7% faster with 16K-token prompts, depending on the chip.
  • Memory safety: a request in service never takes the host's memory reserve, so the system keeps room under full load.
  • Fewer SSD writes: progress checkpoints taken while decoding stay in memory; the long-prompt recovery point is written only when memory runs short, at most once per 16K prompt tokens.
  • Multi-turn reuse: a finished request keeps its exact state for the next turn that extends it, so agent and chat turns prefill only the new tail.
  • return_token_ids (vLLM/SGLang-compatible token-in/token-out), crash-request quarantine (400 request_quarantined), and a sandbox applied by justfit itself to the engine and native workers (no outbound network).
  • ANE vision programs for the chip are found and downloaded automatically on first use.

The binaries are signed with a Developer ID; they are not notarized.

With greedy decoding, tree verification almost always gives the same text as verifying a single draft chain: in the SPEED-Bench runs above, every task matched on two chips and one of sixteen tasks differed on the third. Sampled requests keep the same distribution. A multi-turn request that resumes a kept state can likewise differ slightly from a full recompute.

Two 160K requests on a MacBook

Two 160K requests at once need almost all the memory a 24 GB Mac can wire (keep non-swappable). macOS stops the process that holds the most wired memory when the system-wide total reaches a kernel limit, so what else is wired decides whether both requests fit.

On Macs without a display attached (our M5 Pro and M6 test machines) this workload completed in every run of this release. On a 24 GB M4 Pro MacBook with macOS 27.2.1 it is at the edge: of five runs, one completed, in two JustFit paused one request near the end to stay within memory, and in two, both with the display on, macOS stopped the server. With the display on, macOS 27 wires GPU memory again each time the screen redraws; we measured about 0.45 GB for a few seconds every minute from the lock screen clock, and about 0.7 GB held by a moving (Aerial) wallpaper.

For this workload on a MacBook, let the display sleep, use a still wallpaper and leave GPU-heavy apps closed; that removes the redraw spikes, though a request may still be paused near the end. A single request up to 256K is not affected, and shorter pairs leave more room.

More

bin/justfit --help, justfit serve --help. Source, license and attribution: LICENSE, NOTICE, ORIGIN.json; package-manifest.json pins every file.

Metadata

Release files for justfit-llm 2.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for justfit-llm 2.6.0
File Interpreter ABI Platform Actions
justfit_llm-2.6.0-py3-none-macosx_26_0_arm64.whl Python 3 none macOS 26.0+ ARM64 Details for justfit_llm-2.6.0-py3-none-macosx_26_0_arm64.whl

Release files / justfit_llm-2.6.0-py3-none-macosx_26_0_arm64.whl

Download URL justfit_llm-2.6.0-py3-none-macosx_26_0_arm64.whl
Size 28.6 MB
Tags Python 3 macOS 26.0+ ARM64
SHA-256 checksum
How to use checksums
a3ef01420bb6ca44f98fa9409583357fa6a3761befd562780b9172331656584a
BLAKE2b-256 checksum
How to use checksums
67564a0b7187badf5290a0a98700e34bc0a28b59ea68b1f77b65b93ae0704c62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Security for justfit-llm 2.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for justfit_llm-2.6.0-py3-none-macosx_26_0_arm64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page