NVIDIA’s Dory 1.0 4B runs at four compute budgets via llama.cpp loops
The guide shows how to run NVIDIA’s Dory 1.0 4B reasoning model with the llama.cpp server, exploiting the model’s shared recurrent block that can be applied one to four times per token. First, the tutorial builds the exact llama.cpp fork pinned by NVIDIA’s model card (commit 98a74c97ea09), selects the appropriate backend (Metal on macOS, CUDA on a GPU, or CPU), and verifies the environment.
Key points
- The GGUF file is 3.67 GB and matches the published SHA‑256 checksum exactly
- Dory’s architecture has 16 input, 40 recurrent, and 16 output layers, with a built‑in 4‑loop count
- Four loops increase parameters per token by 2.51×, weight reads by 2.28×, and KV‑cache from 306 MiB to 816 MiB
Next, it downloads the 3.67 GB Q5KM GGUF from Hugging Face at a fixed revision, confirms the SHA‑256 checksum, and reads the GGUF header to expose the layer layout: 16 input, 40 recurrent, and 16 output layers, with a built‑in loop count of 4 (the card recommends 2). Using these numbers the guide predicts per‑token parameter and weight‑byte costs for each loop count and estimates KV‑cache memory under two allocation modes. Finally, it launches the server with different loop settings, measures decode speed, and runs a GSM8K benchmark to see how accuracy, answer length, and latency change as loops increase.
The tutorial demonstrates that each additional loop roughly multiplies parameters per token by 2.51 and weight reads by 2.28, while KV‑cache grows from 306 MiB at one loop to 816 MiB at four loops under the per‑loop mode. These findings help developers balance speed, memory, and quality when deploying Dory.
The story so far
2 episodes →- NVIDIA’s Dory 1.0 4B runs at four compute budgets via llama.cpp loopsthis story
How to Run NVIDIA Dory 4B with llama.cpp: Loop by Loop Guide
MarkTechPost · 7 November 2026
Loading the full article…
This text was published by MarkTechPost and written by Sana Hassan. It is reproduced here with attribution so you can read it in full; the rights remain with the publisher. Read it at the source ↗
The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.
More in Generative AI & Models
All →- Cao: VAST's Tripo P2.0 Removes Topology Barrier · 1 src
- Huawei chip optimization: AscendGYM benchmark · 1 src
- Z.ai introduces GLM-5.4 with iterative depth for reasoning tasks · 2 src
- GPT-6.2 Astra and Sol score lower on transparency than Claude · 2 src
- OpenAI releases GPT-6.2 Astra and Sol; Google launches Gemini 4 Neon and free Gemini Tasks · 5 src
Comments
via GitHub Discussions