Skip to content
NetProjects™
Menu

AI & Open Source

LayerFit™: bits where they matter

LayerFit™ is NetProjects™' own method for building small MLX models for Macs with Apple Silicon: it measures which parts of a model suffer most when squeezed, then spends the bits where they matter.

Bits where they matter. Same size, closer to the original. Ready to run locally.

60 builds · 20 models · as of 30 Nov 2026

Every LayerFit build, live on Hugging FaceLaunch article

LayerFit™ MLX: bits where they matter. Same size, closer to the original. Ready to run locally.

How LayerFit works

  1. Step 1

    Measure

    We squeeze each part of each layer on its own (the MLP, attention and linear-attention blocks, the embeddings and the output head) and measure how far the output moves from the original model.

  2. Step 2

    Budget

    We set a size target for a Mac, for example 9.1 GB for a Mac with 16 GB of memory.

  3. Step 3

    Search

    We spend the bits where they matter. Sensitive parts keep 4 to 8 bits; robust ones drop to 2 or 3. Each recipe is scored against the original, and it must beat a standard build of the same size before we publish it.

  4. Step 4

    Keep the format

    The result is a normal MLX build. There is no custom runtime: it loads in stock mlx-lm, mlx-vlm and LM Studio like any other build.

Every recipe ships in its repository, as layerfit-recipe.json or quant-recipe.json, so anyone can see exactly which bits went where.

Same size, closer to the original

Qwen3.8-27B, LayerFit against a standard build of exactly the same size. Our harness uses the language-model weights only, 32 passages of 512 tokens across English, other languages, code, tool calls and maths, scored against our own MLX bf16 conversion; GSM8K-50 is 50 grade-school maths questions with thinking off.

SizeStandard buildLayerFit build
4-bit, 16.5 GB92.7% top-1, 44/5094.0% top-1, 38% lower error, 46/50
3-bit, 13.1 GB84.4% top-1, 44/5088.6% top-1, 38% lower error, 45/50
2.5-bit, 11.5 GB75.9% top-1, 41/5083.4% top-1, 52% lower error, 46/50
2-bit, 9.1 GB68.2% top-1, 30/5076.7% top-1, 46% lower error, 46/50

Top-1 is how often the build picks the same next token as the bf16 model; error is the KL divergence from it. The headline: at 2-bit, a 27B model that fits a 16 GB Mac scores 46/50 on GSM8K-50, against 30/50 for a standard 2-bit build of the same size.

Which build fits my Mac

Each pick leaves room for macOS and a long prompt: the download is at most about 60% of the Mac's memory. For the Qwen3.8-27B family, including the coding-agent builds:

Your MacLayerFit build
16 GB2-bit, 9.1 GB (text only)
16 GB, stretch2.5-bit, 11.5 GB
24 GB3-bit, 13.1 GB
32 GB4-bit, 16.5 GB
48 GB and upA standard 6-bit or 8-bit build; LayerFit adds little there

For a Mac with 8 GB, the small LayerFit builds fit: Qwen3.5-4B at 2.5 GB (3-bit) or 3.0 GB (4-bit), Qwen3.5-9B 3-bit at 4.8 GB, NVIDIA's Nemotron Dory 1.0 4B 3-bit at 1.7 GB, and, tightly, Ornith-1.5-9B 3-bit at 4.8 GB.

Every LayerFit build

60 public builds across 20 models as of 30 Nov 2026. Sizes are on disk, as listed on each model card; each size links to its repository on Hugging Face. New builds appear first in the live list.

See every LayerFit build, live on Hugging Face →One pick per model (collection)

Honest limits

Questions

Is LayerFit a custom runtime?

No. A LayerFit build is a normal MLX build. It loads in stock mlx-lm, mlx-vlm and LM Studio like any other build; only the bits given to each part of the model differ, and the recipe that sets them ships in the repository.

Why not use LayerFit at 6-bit or 8-bit?

At 6-bit and 8-bit a standard build already stays close to the original, so choosing bits layer by layer adds little. LayerFit is for small builds, from 2 to 4 bits. For a Mac with 48 GB or more, a standard 6-bit or 8-bit build is the better pick.

Which repositories count as LayerFit builds?

Only repositories on our Hugging Face organisation with LayerFit in the name. Our older hand-tuned 2.5-bit and 3-bit builds of DaisyRose-27B, Arete-27B and the coding-agent models, and our GGUF files, which use an importance matrix, are not LayerFit builds. The live list: https://huggingface.co/models?author=netprojects&search=LayerFit

Are these official benchmarks?

No. Every comparison is our own measurement with our own harness: the same test at the same size, against our bf16 conversion, or Thinking Machines' code for Inkling 2 Mini. For the makers' own results, see the original model cards.

How is LayerFit kept up to date?

We keep the builds current on Hugging Face. When a maker releases a new version of a model, or LayerFit finds a better recipe, we rebuild, re-test and publish it there, and each model card carries the current figures. This page links to the live list, so it always points to the latest builds: https://huggingface.co/models?author=netprojects&search=LayerFit

LayerFit and the LayerFit builds are by NetProjects™ (Internet Projects Ltd). NetProjects™ and LayerFit™ are trade marks of Internet Projects Ltd.

Not affiliated with Google, Alibaba Cloud or the Qwen team, Nous Research, RadixArk, Concept Country, Tencent, SenseNova, the Ornith team or DeepReinforce, NVIDIA, Thinking Machines or harness-hub.

More in our Insights: LayerFit™: our own method for small MLX builds that stay closer to the originalAll our AI ports

Last updated