pipenetwork/nemotron-twotower-mlx — explained in plain English
Analysis updated 2026-05-18
Run a large NVIDIA diffusion language model locally on an Apple Silicon Mac without needing an NVIDIA GPU.
Experiment with mask-diffusion text generation as an alternative to standard left-to-right generation.
Compare generation speed and memory use across different quantization levels on Apple hardware.
Use the smaller autoregressive tower alone as a lighter, ordinary text generation model.
| pipenetwork/nemotron-twotower-mlx | 0xhassaan/nn-from-scratch | 3ks/embedoc | |
|---|---|---|---|
| Stars | 0 | 0 | — |
| Language | Python | Python | Python |
| Last pushed | — | — | 2023-06-08 |
| Maintenance | — | — | Dormant |
| Setup difficulty | hard | moderate | hard |
| Complexity | 5/5 | 4/5 | 1/5 |
| Audience | researcher | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires an Apple Silicon Mac with enough unified memory to hold the chosen model size, up to 128GB for the full precision version.
This project lets you run a large NVIDIA AI language model called Nemotron TwoTower on Apple computers with M-series chips, using a framework called MLX that Apple built for running machine learning on its own hardware. Normally this kind of large model would need an NVIDIA graphics card and specialized software, but this repo converts and adapts it to run natively on a Mac instead. What makes this particular model unusual is how it generates text. Most AI language models write one word at a time, left to right. This one uses a technique the author calls mask diffusion, where a block of upcoming words starts out completely hidden or masked, and the model gradually fills in and refines those words over several passes until it is confident enough to commit to them, then moves on to the next block. The repo actually offers two related things: a standard, ordinary text generation model that works out of the box with existing Mac AI tools, and the fuller two tower diffusion version that needs this repo's own code to run. The model comes in several size and precision options, from a smaller compressed 4-bit version up to a larger, more precise but much heavier bf16 version, with memory requirements ranging from about 17 gigabytes up to around 118 gigabytes depending on the version and precision chosen. Which one you can run depends on how much memory your Mac has. The README recommends starting with the smallest 4-bit versions if you are unsure. Getting started involves having a Mac with Apple Silicon, Python 3.9 or newer, cloning the repository, and installing the listed Python packages. The author reports that the converted model produces identical output, token for token, compared to running the original model on NVIDIA hardware, and provides speed benchmarks measured on a high-end Mac Studio showing how many words per second each version can generate.
A project that lets NVIDIA's large Nemotron TwoTower diffusion language model run natively on Apple Silicon Macs using the MLX framework.
Mainly Python. The stack also includes Python, MLX, Apple Silicon.
Distributed under an NVIDIA Open Model license as stated by the badge in the README.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Verify against the repo before relying on details.