Loading video...

Video Failed to Load

Go Home

DiffusionGemma can now run at 2000+ tokens/sec! ⚡ We made local DiffusionGemma inference 1.8× faster. Run it on 18GB RAM via Unsloth Studio. GitHub: Guide:

180,842 views • 3 months ago •via X (Twitter)

35 Comments

Philipp Schmid's profile picture
Philipp Schmid3 months ago

Wow!

Tery Emilson's profile picture
Tery Emilson3 months ago

I think batch speed is the boring win compared with always-on local AI. A model you poke once can afford to be slow. A model running continuously in the background ... watching context, briefing you before things happen ... that's where 2000 tok/s is the line between a chatbot and an ambient assistant. Well done! (again!)

Maziyar PANAHI's profile picture
Maziyar PANAHI3 months ago

2000+ tokens/sec! wow! you know, i would die for a diffusion model like this on my iOS! ps: of course with a unsloth fine-tuning recipe! 🤩

Apollo's profile picture
Apollo3 months ago

isnt DiffusionGemma more prone to lower quality output though? Google’s own launch post says DiffusionGemma is optimized for speed and that its overall output quality is lower than standard Gemma 4. Google also says standard Gemma 4 remains the better choice for applications that need maximum quality.

Terp's profile picture
Terp3 months ago

??? im getting 170 usable tps on my 5090 compared to 500+ through vllm what's the issue ?

Le TechLead🔰's profile picture
Le TechLead🔰3 months ago

@danielhanchen we need to be able to serve it though, cli and chat doesn’t cut it.

Xaden Ryan's profile picture
Xaden Ryan3 months ago

@danielhanchen Does it do tool calling?

Ankit Prateek's profile picture
Ankit Prateek3 months ago

llama-server still doesn't support diffusion model. mlx does but token gen speed is horrible.

Tarrito.rocks's profile picture
Tarrito.rocks3 months ago

Nice but I didn't find UD-Q4 model version in your repo

Dariton's profile picture
Dariton3 months ago

Does this work with CPU offloading though?

Ankit Prateek's profile picture
Ankit Prateek3 months ago

This is wild

Ankit Prateek's profile picture
Ankit Prateek3 months ago

I spent ~6 hours making this diffusion model work on my mac, and that gave me 10 tokens/s because there was no llama.cpp support lol

ibrand's profile picture
ibrand3 months ago

It needs to run comfortably on 16gb. Hardly anyone has 18

Piyush's profile picture
Piyush3 months ago

any quantized version available that will enable it run on T4?

AACeeert's profile picture
AACeeert3 months ago

An abliterated version of this will have malware scripts flying around the internet in milliseconds

Eric ⚡️ Building...'s profile picture
Eric ⚡️ Building...3 months ago

WOW

Vabbyshabby's profile picture
Vabbyshabby3 months ago

2000 tok/s local is the actual answer to this morning's news. nobody export-controls a gguf on your own box. this is the lane.

Emircan ERKUL's profile picture
Emircan ERKUL3 months ago

cant you fit that into 14gb so i could use with 16vram gpu

mr_r0b0t's profile picture
mr_r0b0t3 months ago

Cooking with white hot 🔥🔥🔥🔥

Anis🐬Al's profile picture
Anis🐬Al3 months ago

My sister, this is truly exhilarating news! 🌟 Seeing DiffusionGemma achieve such breathtaking speeds—surpassing 2000 tokens per second—while remaining accessible on local hardware like 18GB RAM is a masterpiece of efficiency over sheer bulk. It’s not just about the technical milestones; it's about the democratization of intelligence. By bridging the gap between high-performance research and local accessibility, you are helping to put the pulse of innovation directly into our hands. This transition from massive cloud dependency to agile, local execution is where technology truly begins to serve humanity with grace and speed. Keep pushing these boundaries! ✨

Secta's profile picture
Secta3 months ago

local diffusiongemma inference at 2000+ tokens/sec is a clear win low ram threshold shifts deployment from cloud to edge

Pranav's profile picture
Pranav3 months ago

Is Gemma4 12B coming, based on this diffusion tech? 🤔

netrunner's profile picture
netrunner3 months ago

wait this runs on 18gb?

ArdanZ's profile picture
ArdanZ3 months ago

My GPU only 12GB Vram 😭

Robert Keyes's profile picture
Robert Keyes3 months ago

Have you been able to fix the slop it slings? Last I saw was terrible decode.

Kaustubh Joshi's profile picture
Kaustubh Joshi3 months ago

Fast inference is exciting — but what you prompt it with still determines the output quality. ⚡ Save your best DiffusionGemma prompts and never lose them at — free prompt management for AI power users. 🚀 #DiffusionGemma #UnslothAI #PromptEngineering

Sanjay's profile picture
Sanjay3 months ago

2000 tokens/sec on 18GB RAM is actually insane. local AI just quietly won

oriel haim's profile picture
oriel haim3 months ago

Details!!!

AI Mastery Guide's profile picture
AI Mastery Guide3 months ago

2000+ tokens per second locally on 18GB RAM is not a small deal. The gap between local and cloud is closing faster than most people expected.

Gerladina's profile picture
Gerladina3 months ago

local inference keeps getting more realistic 18gb ram opens this up to way more people now

Twon.'s profile picture
Twon.3 months ago

How fast on a 3090?!

Thor 雷神 ⚡️'s profile picture
Thor 雷神 ⚡️3 months ago

Yooo, that's very unsloth 🚀

Thomas Linden's profile picture
Thomas Linden3 months ago

Google’s tournament style idea generation would go crazy with diffusion models

Verma's profile picture
Verma3 months ago

Wow 🔥

Adel Bucetta's profile picture
Adel Bucetta3 months ago

because the hard part was always scaling diffusers, 2000 tokens/sec changes everything

Related Videos

Auto regressive LLMs are officially on notice. run Gemma 4 26B diffusion gguf with llama.cpp Google just dropped DiffusionGemma-26B, and it completely flips how we generate text. instead of predicting words one by one, it generates 256 tokens in parallel using bi-directional attention. its like stable diffusion, but for language. the model starts with random text "noise" and iteratively refines and self-corrects the entire block in real-time to fix formatting and reasoning errors on the fly. since it’s a Mixture of Experts (MoE) that only activates 3.8B parameters during inference, it fits perfectly on consumer hardware. You can run the Q4_K_M quant with an 18GB VRAM budget on a single RTX 3090 or RTX 4090 with exceptional throughput. Tested on Ubuntu 22 with CUDA 13.1 using the cutting edge experimental llama.cpp branch. Here is how to compile and run it with the live terminal denoising visualizer: # 1. Clone & check out the experimental PR (#24423) - 1) git clone && cd llama.cpp -git fetch origin 2) pull/24423/head:diffusiongemma && --git checkout diffusiongemma # 2. Build with CUDA support 1) cmake -B build -DGGML_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES=native 2) cmake --build build -j $(nproc) --config Release --target llama-diffusion-cli # 3. Run with live visual denoising (llama.cpp flags) ./build/bin/llama-diffusion-cli \ -m /path/to/diffusiongemma-26B-A4B-it-Q4_K_M.gguf \ -ngl 99 -cnv -n 2048 --diffusion-visual Watch the video below to see the live --diffusion-visual canvas iteratively de noising the prompt output in real time. guide and unsloth's hugging face GGUF model links are in the comments below! Is auto regressive generation officially legacy tech? Let me know what you think.

Alok

52,656 views • 3 months ago