Latest / Models & Agents / Ep 52: NVIDIA's 4-bit pretraining technique cuts memory needs for large hybrid models while keeping accuracy nearly identical to FP8.
Transcript
- 0:00What's up? Welcome to Models and Agents episode 52 from May 18th, 2026.
- 0:05New week in AI, and if last week was anything to go by, buckle up.
- 0:09Let's get into it. In video's 4-bit pre-training technique,
- 0:13cuts memory needs for large hybrid models while keeping accuracy nearly identical to FP8.
- 0:19The core development is a full 4-bit pre-training stack called NVFP4.
- 0:24It was validated on a 12-billion-parameter Mamba transformer hybrid
- 0:29trained for 10 trillion tokens. The method combines selective BF-16 layers for critical weights,
- 0:3716 x 16 random Hadamard transforms on ingredients, two-dimensional weight scaling,
- 0:43and stochastic rounding. Downstream accuracy stayed within 0.04 points of the FP8 baseline.
- 0:50That is 62.58% versus 62.62% on MMLU Pro.
- 0:59Teams running extended pre-training on constrained GPU fleets now have a documented path
- 1:04to reduce memory and interconnect pressure. Watch for follow-up work on larger dense models
- 1:10and whether the same recipe transfers to pure transformer architectures.
- 1:15Community forecasts point to new open-weight model drops, likely landing between late May and early
- 1:20June. Postures on R-slash Local L-L-L-A-M-A notice shift in how open-weight submissions are being handled.
- 1:29They are watching for signs that major labs are extending the current cadence.
- 1:33Tests on 23.535 BA3B and its no refusal fine-tune show register dependent expert routing
- 1:42even before refusal layers activate. AAV-E coded safety prompts produce different first token
- 1:48routing tensors and longer thinking traces than matched academic English prompts.
- 1:54This raises questions about whether refusal alone masks underlying safety gaps.
- 2:00Luce D-flash plus P-flash delivered 2.24 times decode and 3.05 times pre-fills speed-ups
- 2:07versus Lama dot CPP hip on an RX-7900 XTX. The optimal DDTree budget was 8 rather than the 22
- 2:16recommended for Strix Halo. This highlights how GDDR6 bandwidth changes the best speculation strategy.
- 2:24A new agent built specifically for 4B to 14B local models reaches 87% on a coding benchmarks.
- 2:32It replaces chain tool calls with compound actions, automatic lint and fixed loops,
- 2:38and on-demand escalation to larger models. Small code runs against LM Studio or Lama endpoints
- 2:45and keeps 95% of work local. Developers are exploring dedicated local models that read a testing.md
- 2:53or quality.md file. These models continuously refactor generated code for security,
- 2:59readability and maintainability, without sending large code bases to cloud APIs.
- 3:06Simon Willison argues that useful AI-generated tools save reviewers time, while unedited LLM
- 3:13slop wastes it. He recommends including detailed terminal sessions that demonstrate exactly what
- 3:19was tried and how success was verified. Any LLM output containing opinions or anecdotes must be
- 3:26closely directed and reviewed by a human. Willison calls out examples where models falsely claim
- 3:32months of personal usage as particularly harmful. Carpathi noted that simply saying boot in 8 times
- 3:39H100 in a tutorial immediately blocks most viewers at step 1. This highlights the gap between assumed
- 3:47hardware access and real-world availability. Okay, let's pop the hood on data mixing. Everyone
- 3:53talks about data mixing as a one-time hyperparameter you set at the start of training. In practice,
- 4:00it is a recurring online decision that must be solved at every phase of the model lifecycle.
- 4:06The core insight is that you can cheaply simulate candidate mixtures by interpolating between
- 4:11low-rank adapters already trained on the current checkpoint. This avoids training separate proxy
- 4:16models from scratch. The approach keeps the surge grounded in the model's actual learning dynamics
- 4:22rather than an earlier snapshot. It adds negligible overhead per decision yet finds mixtures that
- 4:28improve average perplexity by roughly 6% over static baselines during pre-training.
- 4:34In continual learning it matches full retraining or distillation performance while using 66-95%
- 4:41less compute. The practical takeaway is to treat mixing as a lightweight inner loop that runs every
- 4:47few hundred steps rather than a single upfront choice. The main gotcha is forgetting to re-evaluate
- 4:53when the data distribution or training objective shifts. Test the loose D-flash plus P-flash set up
- 5:00on your AMD card with 2.3.627b. See whether a budget equals 8 gives you the reported 2.24 times speed
- 5:09up on short generations. Run small code against a local 4B to 7B model on a real code base. Compare failure
- 5:17rates to your current agent workflow. Add a short terminal session block to your next project
- 5:22readme to show exactly how you verified functionality. Follow Simon Willison's recommendation on that one.
- 5:29Experiment with op-mix style low-rank adapter interpolation on your next continued pre-training run.
- 5:36This keeps data mixing decisions current without extra proxy models.
- 5:40Community forecasts point to new open-weight model drops likely landing between late May and early June.
- 5:47Further scaling experiments on the NVFP44bit pre-training recipe are expected once labs move beyond
- 5:54the 12B hybrid proof of concept. More work on dialect-aware safety testing for MOE models is likely
- 6:01after the recent rooting divergence findings. Tomorrow keep an eye on the first public follow-ups to the
- 6:09NVFP44bit pre-training runs as labs test larger dense models. That wraps up today's AI briefing.
- 6:16Share this with a developer or builder who wants to stay current. Subscribe wherever you listen.
- 6:22See you tomorrow. This episode used AI voice synthesis of my voice. Editorial selection and analysis are my own.