NVIDIA's looped Dory 4B model now runs on a Mac
Paris Michalas, Partner, NetProjects™ (Internet Projects Ltd)
Most language models run each layer once per token. NVIDIA's Nemotron-Labs Dory 1.0 4B reuses a block of its layers: the same weights are applied one to four times, and you choose how many. One set of weights becomes a dial between faster and more careful. NVIDIA released it on 16 October 2026 for NVIDIA GPU software stacks. NVIDIA's model card: https://huggingface.co/nvidia/NVIDIA-Nemotron-Labs-Dory1.0-4B-BF16
We wanted that dial on a laptop, so we wrote the MLX version and released it on 17 October 2026, the day after NVIDIA. As far as we could find on 17 October 2026, it was the first public MLX build of Dory.
Always up to date. We keep these builds and the engine that runs them current on Hugging Face and GitHub. When NVIDIA releases a new version of Dory, we rebuild, re-test and publish it there, so the links on this page always point to the latest version. The numbers in this article were measured on the version named in each section; the README on GitHub and the model card on Hugging Face carry the current figures and a dated change log.
- Hugging Face: https://huggingface.co/netprojects
- GitHub: https://github.com/internet-projects
- NetProjects™ MLX builds collection: https://huggingface.co/collections/netprojects/netprojects-mlx-builds
What we built
- A Dory implementation for MLX. A small Python package, dory-mlx, adds the dory architecture and a loader, so Dory runs on Apple Silicon with a single install command. Code: https://github.com/internet-projects/dory-mlx
- Four builds, each with a model card. The 8-bit build is 4.2 GB on disk: https://huggingface.co/netprojects/Nemotron-Dory-1.0-4B-MLX-8bit
- The bf16 build is 8.0 GB: https://huggingface.co/netprojects/Nemotron-Dory-1.0-4B-MLX-bf16
- The NVFP4 build is 2.6 GB and about 1.4x faster than 8-bit. It is made from NVIDIA's own NVFP4 checkpoint, with NVIDIA's 4-bit weights and scales copied unchanged into MLX's native nvfp4 format rather than re-quantised by us. Build: https://huggingface.co/netprojects/Nemotron-Dory-1.0-4B-MLX-nvfp4
- The LayerFit™ 3-bit build is 1.7 GB, for Macs with 8 GB of memory, added 30 November 2026: https://huggingface.co/netprojects/Nemotron-Dory-1.0-4B-LayerFit-MLX-3bit
- A converter and checks. One script rebuilds either model from NVIDIA's original weights, and a check script tests the caches and compares the output with an independent PyTorch version.
Does the port match the original?
Yes. NVIDIA's own accuracy results are on NVIDIA's model card, linked above. Our checks show the Mac version says the same thing the original does:
- Against a second implementation. We wrote a plain fp32 PyTorch version from the vLLM implementation of Dory, separately from the MLX one, and compared outputs on the real weights at two loops over 55 tokens. The top token matched at every position, and the probabilities differed by only 0.001 to 0.003 (KL divergence).
- 8-bit versus bf16. The 8-bit build gives the same top token as bf16 98% of the time, with a KL divergence of 0.003 from it. On WikiText-2 the perplexity (lower is better) is 12.18 / 11.77 / 11.70 at one, two and four loops, against 12.17 / 11.76 / 11.69 for bf16. The 8-bit build is half the size and is the one we recommend.
- Caches. With the sliding attention window shrunk to 64 tokens, processing a text in chunks or one token at a time gave the same answers as one full pass (top-token agreement of at least 98.7%, KL divergence at most 0.0006).
- Loops. More loops lowered the perplexity (12.17, then 11.76, then 11.69 for bf16), so the dial works in the direction NVIDIA describes.
- Prompt length. We verified prompts of up to 24K tokens.
The NVFP4 build, measured on Dory 1.0 4B, 7 November 2026: WikiText-2 perplexity is 12.01 / 11.59 / 11.52 at one, two and four loops. It gives the same top token as bf16 about 89% of the time, with a KL divergence of about 0.06, about half the drift we got when we converted bf16 to nvfp4 ourselves. The 8-bit build stays the one we recommend.
“A looped model gives you a dial instead of a new model. We wanted that dial on a Mac, and we checked that it still reads the same way as the original.”
How fast is it?
Measured on Dory 1.0 4B, 20 October 2026 and confirmed 23 October, on a MacBook Pro M5 Max (128 GB) with no other models running, medians of repeated runs:
| Loops | 8-bit, tokens/s | bf16, tokens/s | Peak memory with a 32K-token prompt (8-bit / bf16) |
|---|---|---|---|
| 1 | about 101 | about 58 | 7.7 GB / 11.3 GB |
| 2 (default) | about 69 | about 39 | 9.0 GB / 12.6 GB |
| 4 | about 39 | about 23 | 11.5 GB / 15.1 GB |
At the default two loops the 8-bit build writes about 69 tokens a second, still about 54 after reading a 32K-token prompt, and needs 9 GB, which fits comfortably on a laptop. One loop gives you about 101 tokens a second when speed matters more. Dory reasons before it answers, so replies include the thinking.
Measured on Dory 1.0 4B, NVFP4 build, 7 November 2026, MacBook Pro M5 Max (128 GB).
| Loops | Generation, short prompt | Generation after a 16K-token prompt | Reading a 16K-token prompt | Peak memory, 16K prompt |
|---|---|---|---|---|
| 1 | 149 tokens/s | 124 tokens/s | 4,130 tokens/s | 6.1 GB |
| 2 | 99 tokens/s | 82 tokens/s | 2,600 tokens/s | 7.3 GB |
| 4 | 59 tokens/s | 49 tokens/s | 1,500 tokens/s | 9.8 GB |
Try it
pip install "git+https://github.com/internet-projects/dory-mlx"
python -m dory_mlx "Explain why the sky is blue in three sentences." --loops 2The first run downloads the 8-bit model (4.2 GB) from Hugging Face. The repository README has the commands to convert the weights yourself and to rerun the checks: https://github.com/internet-projects/dory-mlx
Dory support has also been proposed for MLX-LM itself: https://github.com/ml-explore/mlx-lm/pull/1988
What we are releasing
Public: the code (Apache-2.0), the model cards, the converter and the check scripts. Everything above can be reproduced from them.
- Code: https://github.com/internet-projects/dory-mlx
- 8-bit build: https://huggingface.co/netprojects/Nemotron-Dory-1.0-4B-MLX-8bit
- bf16 build: https://huggingface.co/netprojects/Nemotron-Dory-1.0-4B-MLX-bf16
- NVFP4 build: https://huggingface.co/netprojects/Nemotron-Dory-1.0-4B-MLX-nvfp4
- LayerFit™ 3-bit build: https://huggingface.co/netprojects/Nemotron-Dory-1.0-4B-LayerFit-MLX-3bit
Always up to date. We keep these builds and the engine that runs them current on Hugging Face and GitHub. When NVIDIA releases a new version of Dory, we rebuild, re-test and publish it there, so the links on this page always point to the latest version. The numbers in this article were measured on the version named in each section; the README on GitHub and the model card on Hugging Face carry the current figures and a dated change log.
- Hugging Face: https://huggingface.co/netprojects
- GitHub: https://github.com/internet-projects
- NetProjects™ MLX builds collection: https://huggingface.co/collections/netprojects/netprojects-mlx-builds
LayerFit™ build
Added 30 November 2026. There is now a fourth build: a LayerFit™ 3-bit build at 1.7 GB, for Macs with 8 GB of memory, made with NetProjects™' own method for small builds, which spends the bits where they matter and must beat a standard build of the same size. It is a separate repository with LayerFit in the name; the 8-bit, bf16 and NVFP4 builds above are unchanged. How LayerFit works: https://netprojects.com/layerfit. NetProjects™ and LayerFit™ are trade marks of Internet Projects Ltd.
- LayerFit 3-bit build: https://huggingface.co/netprojects/Nemotron-Dory-1.0-4B-LayerFit-MLX-3bit
Credits
Dory is by NVIDIA, released on 16 October 2026 under the OpenMDW-1.1 licence; the MLX builds carry the same licence and link to NVIDIA's model card for the full terms. The MLX port is by Paris Michalas, Partner, NetProjects™ (Internet Projects Ltd), and the code is Apache-2.0 licensed. NetProjects™ is not affiliated with NVIDIA. We used NVIDIA's vLLM implementation and the llama.cpp implementation as references, and the MLX and MLX-LM projects.
Paris Michalas is a partner at NetProjects™, the trading name of Internet Projects Ltd. This article was drafted with AI assistance, then edited and approved by people on our team. You can read more about how we use AI at https://netprojects.com/standards/ai.