Ads skipped

How Fast Can One RTX 3060 Actually Run 35B (llama.cpp enhancement)?

68K views · Aug 23, 2026 · Science & Technology

Comments · 315

  • @Codacus · 3 months ago · pinned

    Join Discord: <a href="http://discord.gg/RBFFF898MB">discord.gg/RBFFF898MB</a><br>Follow me on X : <a href="http://x.com/thecodacus">x.com/thecodacus</a><br>github repo for the changes: <a href="https://github.com/thecodacus/llama.cpp">https://github.com/thecodacus/llama.cpp</a> [&quot;perf&quot; branch]<br><br>TL;DR — MoE expert cache, one RTX 3060, Qwen3.6-35B-A3B.<br><br>42 tok/s baseline → 6 with the cache &quot;working&quot; (the scheduler was regrouping my graph and pulling cached experts back over PCIe every layer) → 44 after reordering the graph → 55 at 124 slots. Speculative decoding alone: also 55. Both together: 70. Concurrent GPU/CPU chains: 75. Peak 80, 70+ with real context.<br><br>⚠ Scales with how much of the expert set fits. Half on my card. On a 118B where only 36 of 256 fit, the gain is 5%.<br><br>1 — CAPTURE A PROFILE<br><br>cd /root/repos/fable5-cuda-q2 &amp;&amp; \<br>MOE_TRACE_OUT=/root/models/traces/qwen35b-code.csv ./build/bin/llama-moe-trace \<br> &nbsp;-m /root/models/Qwen3.6-35B-A3B-UD-Q4_K_M.gguf -ngl 99 -ncmoe 99 -fa 1 -c 4096 -n 512 \<br> &nbsp;-p &quot;Write a Python implementation of an LRU cache with O(1) operations, then explain the design choices in detail. After that, write the same thing in Rust and compare the two implementations.&quot; &amp;&amp; \<br>MOE_TRACE_OUT=/root/models/traces/qwen35b-chat.csv ./build/bin/llama-moe-trace \<br> &nbsp;-m /root/models/Qwen3.6-35B-A3B-UD-Q4_K_M.gguf -ngl 99 -ncmoe 99 -fa 1 -c 4096 -n 512 \<br> &nbsp;-p &quot;Write a warm, personal letter to a friend describing a memorable summer trip through the mountains, with vivid sensory details. Then reflect on why travel memories stay with us longer than everyday ones.&quot; &amp;&amp; \<br>cat /root/models/traces/qwen35b-code.csv /root/models/traces/qwen35b-chat.csv &gt; /root/models/traces/qwen35b-merged.csv<br><br>2 — SERVE<br><br>/root/repos/fable5-cuda-q2/build/bin/llama-server \<br> &nbsp;-m /root/models/Qwen3.6-35B-A3B-UD-Q4_K_M.gguf \<br> &nbsp;--host <a href="http://0.0.0.0/">0.0.0.0</a> --port 8189 --jinja --no-mmap \<br> &nbsp;-ngl 99 -ncmoe 99 -fa 1 -c 65536 \<br> &nbsp;--moe-cache-profile /root/models/traces/qwen35b-merged.csv \<br> &nbsp;--moe-cache-slots 88 \<br> &nbsp;--spec-type draft-mtp --spec-draft-n-max 2 \<br> &nbsp;--temp 0.7 --top-k 20 --top-p 0.95<br><br>⚠ Keep --spec-draft-n-max at 2-3. Higher and the expert union blows up and you go slower than no speculation at all. Slots are per layer, 88 fit my 12GB at 64k ctx. Output is identical at any count, only speed changes.

    20

  • @Cyzuel · 3 months ago

    I have no idea how this channel isn&apos;t more popular, especially when you consider the absolute garbage that is out there on self hosting. &nbsp; You give clear explanations, have no paywalled content, focused on self hosted and not API nonsense, you focus on cards people either have or can get without breaking the bank, and you&apos;re actively pushing the edges of performance while making actually useful models accessible. &nbsp;Are there really that few people interested in self hosting on youtube are the algos just missing the mark with all the slop it&apos;s gotta wade through these days?

    122

  • @Ren_Zekta · 3 months ago

    Honestly that&apos;s the only AI-assisted channel about AI inference that is worth watching.

    79

  • @DominikKozaczko · 3 months ago

    Now we need to hope Qwen releases 3.8 35B A3B 🤞

    58

  • @TheNPCSideQuest · 3 months ago

    “That answer is completely wrong, but reasonable…” ❤️

    18

  • @jace-72 · 3 months ago

    I got this running on my 3080 ti last night. Same 12GB of VRAM as your setup. 64 GB system RAM. And the increase is real. I did an A/B bakeoff on a series of 4 questions devised by Fable to test various local models on my rig. I used the same Qwen 3.6 MoE you did. Went from 47.5 t/s to 86 t/s on the raw server and when I used it through the new Unsloth Desktop beta I went from 42.7 tok/s letting Unsloth run the model natively to 75.5 tok/s when hitting your cache-optimized server for the model. These improvements are unreal! 77% speed boost on the same hardware, same prompts! Thank you so much for your work and for sharing.

    22

  • @tomstefanou8333 · 3 months ago

    Amazing, well done! :) That was SO informative

    9

  • @teodoralinsaramet1888 · 3 months ago

    Best local host AI channel!

    6

  • @udithadesilva1891 · 3 months ago (edited)

    Wow. Can&apos;t wait to try this tonight!<br><br>(I got my own speed boost to my inference rig this weekend - I added my old 2080ti in the PCIEx16 slot and moved the 3060 to a x4 - now getting 108+ tok/sec decode with the huihui abliterated version of Qwen3.6 35b-a3b with MTP. And I&apos;m also trying the new Unsloth method on dynamically quantizing different layers at different precisions).

    8

  • @GrayghostAlpha · 3 months ago

    This is the channel I and my insistence on local models has been looking for. Fantastic content good sir.

    5

  • @Elricky124 · 3 months ago

    Thanks for the video. Do you pass these improvements to the llama.cpp team? Or are your use cases singled-out scenarios that only work for your setup due to hardware and software constraints?

    5

  • @dannybastosbr · 3 months ago

    Fantastic job man!!

    5

Up next

LIVE

What’s the Best AI Model Your GPU Can Actually Run? 4GB to 16GB VRam

Codacus · 74K views

LIVE

Can a 3.5GB model replace my 35B daily driver? (Bonsai 27B)

Codacus · 99K views

LIVE

Can You Run Any LLM in Jev Mode Using llama.cpp?

Codacus · 100K views

LIVE

Is this how Local AI reaches Frontier Capabilities?

Codacus · 29K views

LIVE

llama.cpp Can Now Speak and Listen: A Voice Assistant With No Cloud

Inside The Machine · 481 views

LIVE

This Ridiculous $200 AI GPU Shouldn’t Be This Good

Hardware Haven · 988K views

LIVE

Can a looped transformer bring 27B AI to budget GPUs? | Inkling 2 Mini

Codacus · 29K views

LIVE

Flint - The First RSI Coding Model?

Sam Witteveen · 105K views

LIVE

Colibrì vs llama.cpp: Running DeepSeek V4 284B on CPU

Codacus · 188K views

LIVE

How I Built an End-to-End Local Voice Agent, and Made It Fast

Codacus · 99K views

LIVE

Is Frontier Class Local AI Finally Practical?

Codacus · 297K views

LIVE

I Asked Claude Fable 5 to Improve llama.cpp.. and It Did

Codacus · 80K views

LIVE

How They Fixed AI's Biggest Local Hardware Problem (with FreeToken)

Better Stack · 341K views

LIVE

local AI's biggest problem... they solved it?

NetworkChuck · 1.2M views

LIVE

Can 2 RTX 3060s Replace an RTX 3090 for Local AI?

Cian Mag · 3.9K views

LIVE

Adding a Second GPU to My AI Rig: Does It Double the Speed?

Codacus · 50K views

LIVE

I Turned Two Pieces of E-Waste into One AI Supercomputer!

TinyTechGuy · 75K views

LIVE

6× Faster Than llama.cpp — The New Way to Run 125B Models

Morgans Code · 67K views

LIVE

How much VRAM does Qwen 3.8 27B really need? Every GB, 8GB to 32GB..

KernelBrief · 31K views

LIVE

Nvidia Tried to Stop This... 2X VRAM GPU Mod

Vex · 1.9M views

YouTube, with the door locked.

Aegis plays a clean stream instead of YouTube's player, so pre-roll ads, trackers, and fingerprinting never ride along. Drop Shields any time if you want the official player back.