phon xay (@ddragon) profile picture

Digital artist - specialize in generative art and soon artificial intelligence in art and music

Joined March 2007
Photo by phon xay (@ddragon)Photo by phon xay (@ddragon)Photo by phon xay (@ddragon)Photo by phon xay (@ddragon)Photo by phon xay (@ddragon)Photo by phon xay (@ddragon)Photo by phon xay (@ddragon)Photo by phon xay (@ddragon)Photo by phon xay (@ddragon)
phon xay retweeted
Run Gemma 4 26B MoE on 8GB VRAM with 250k context at 20+ tokens/sec If you own any 8GB VRAM graphics card, stop what you are doing. Local AI just had its absolute "Holy Shit" moment for budget hardware. Yesterday, I benchmarked Unsloth Gemma 4 12B Q4_K_XL on an 8GB card. The community went wild but immediately demanded more: "Can we run a 25B+ model on budget GPUs?" Today, I’m delivering exactly that. I am running a massive 26B parameter Mixture of Experts (MoE) model locally on a standard 8GB VRAM setup with 250k full native context!. If you own an RTX 3060, 3070, 4060, or any budget GPU with 8GB of VRAM, the local AI paradigm has completely changed. The performance metrics are astonishing: - 20 tokens/sec flat decode throughput. - Stable, flat decode speed even with massive prompts. - I threw a 60k token prompt at it, and it still clocked in at 20 TPS without dropping a single frame. # What about prefill? Yes, Time To First Token (TTFT) is slightly high when swallowing massive contexts. But with a solid 200 tokens/sec prefill speed, the wait is barely noticeable and highly usable. And this is running completely without Multi Token Prediction (MTP) active. How is this possible? It’s the magic of Google's new QAT (Quantization Aware Training) quants for Gemma 4. The model weight file (unsloth gemma-4-26B-A4B-it-qat-UD-Q4_K_XL.gguf) is only 13.2 GB, making it the ultimate local powerhouse. # The Test Setup: CPU: Intel Core i7 RAM: 16GB System RAM GPU: NVIDIA GeForce RTX 4060 Laptop GPU (8GB VRAM) # The Secret Sauce (The -cmoe Flag) To make this work properly on any 8GB card, you must use the -cmoe (CPU MoE) flag in llama.cpp. This flag isolates the heavy MoE expert weights directly to system memory (CPU/RAM) while letting your GPU focus strictly on the Attention layers and the KV Cache. It prevents VRAM spillage and holds the throughput rock solid. # The flags: -m "gemma-4-26B-A4B-it-qat-UD-Q4_K_XL.gguf" -cmoe -c 248000 -v Once running, just open the UI on localhost and toggle the new reasoning lightbulb icon in the text input box to watch the model perform multi step thinking. Are you still running smaller models, or are you ready to scale up your budget local setups? Let's discuss in the replies
a new 8GB VRAM GPU dense Local LLM leader was born yesterday runs on: RTX 4060 / RTX 3070 / RTX 2080. any 8GB card Qwen 3.5 9B (dense) was the go to for 6-8GB VRAM builds. Gemma 4 12B QAT (dense) just changed that. same llama.cpp + cuda 13.2. i7 12700H. 16GB RAM. same -ngl 99 flags. same 48k context. unsloth gemma-4-12b-it-Q4_K_M.gguf → 15 tok/sec @ 48k ctx unsloth gemma-4-12B-it-qat-UD-Q4_K_XL.gguf → 32 tok/sec @ 48k ctx → 26 tok/sec @ 64k ctx 64k context is a big deal. Hermes 3 agent requires 64k minimum to run. you're now getting full hermes compatible context on a budget consumer GPU at 26 tok/sec locally. 2.1x faster on identical hardware. and here's the part that breaks your brain: the QAT-UD-Q4_K_XL is actually SMALLER than the Q4_K_M "XL" why? QAT = Quantization Aware Training Google didn't train the model first and compress it later they trained it to be quantized from day one the weights already know how to survive low precision that's why you get more quality per byte llamacpp flags: -m gemma-4-12B-it-qat-UD-Q4_K_XL.gguf -cnv -ngl 99 -c 48000 -v fits in 8GB VRAM clean. no API. no cloud. no subscription. and this isn't even the MTP variant yet Gemma-4-E2B QAT runs on 3GB RAM, E4B on 5GB, 12B on 7GB, 26-A4B on 15GB and 31B on 18GB. I have benchmarked the 26b and 31b qat as well on a single RTX 4090, checkout the comments for details. If you have a 6GB or 8GB VRAM GPU, post your numbers. more benchmarks and configs coming soon
74
174
18
1,617
295,978
phon xay retweeted
Help bring more AI-created apps to the Pi ecosystem and enter a raffle to win Pi Network merch! Pioneers are invited to introduce Pi App Studio to vibe coders and AI-builder communities around the world. Why? Because as AI makes building apps easier, competition for human attention and user acquisition becomes more intense. Pi App Studio helps creators connect AI-built apps to: 60M+ engaged Pioneers Built-in payments Identity infrastructure Pi Ad Network And more! Find a relevant builder community, share how Pi can help creators reach real users, then submit your post through the Pi App to enter the raffle. By helping more creators discover Pi, Pioneers can help expand the range of apps, tools, and services available in the Pi ecosystem. A stronger app ecosystem gives Pioneers more ways to use Pi, support useful products, and participate in real utility. Go to the Pi mining app to learn more.
27
64
5
434
11,298
Google just dropped a new LLM! You can run it locally on just 8GB RAM. Let's fine-tune this on our own data (100% locally):
131
355
21
5,046
818,200
It's really piss me off to see “verify you are a human “ delay on website these days, I think this got to STOP! #verifyyouareahuman
1
41
How a book written in 1910 could teach you calculus better than several books of today [Calculus Made Easy, by Silvanus P. Thompson, 1910 - full text pdf: https://xitter.gq/t.co/W4gspJoGQc or with the table of contents: calculusmadeeasy.org]
316
2,730
273
15,201
2,084,735
This is a completely 2D image generated by #Midjourney, and now I have full control over the 3D transition using some magic in #Unity 🪄
2
7
1
25
4,677
Fast Script Reload - Hot Reload implementation for Unity is now open source! I was really chuffed to see FSR selling over 1000 copies on Asset Store in February and going to #1 best selling. Hope this way even more game devs can get it: github.com/handzlikchris/Fas…
4
51
10
193
23,599
How do you use 𝗺𝘂𝗹𝘁𝗶𝗽𝗹𝗲 EF Core 𝗗𝗯𝗖𝗼𝗻𝘁𝗲𝘅𝘁𝘀 in a single application? Here are a few scenarios of why you would want to create multiple DbContexts. - Multiple databases - Separating concerns - Modular monolith #dotnet
10
35
2
180
26,329
I am sending you 1π! Pi is a new digital currency developed by Stanford PhDs, with over 23 million members worldwide. To claim your Pi, follow this link minepi.com/phonx88 and use my username (phonx88) as your invitation code. #crtpto, #PiNetwork
1
phon xay retweeted
Anyone can download an exact replica image of @beeple’s artwork by googling its title. What is comparatively more difficult to do is fool people into thinking you own the original art creation. That’s what “Monsieur Personne” is trying to prove. trib.al/xK9YO7p
14
15
43
The Linux Foundation Announces Hosting of AsyncAPI https://xitter.gq/t.co/2MqbELWIxY via @InfoQ
1
Get my art printed on awesome products. Support me at Redbubble #RBandME: redbubble.com/i/clock/Vibran… #findyourthing #redbubble
Get my art printed on awesome products. Support me at Redbubble #RBandME: redbubble.com/i/mask/Vibrant… #findyourthing #redbubble
Get my art printed on awesome products. Support me at Redbubble #RBandME: redbubble.com/i/duffle-bag/N… #findyourthing #redbubble
Wow, we (+@h0t_max and @_Dmit) have found two undocumented x86 instructions in Intel CPUs which completely control microarchitectural state (yes, they can modify microcode)
103
1,797
488
4,861
Get my art printed on awesome products. Support me at Redbubble #RBandME: redbubble.com/i/mask/Cheer-u… #findyourthing #redbubble
1