Why I went all-in on Local AI.
Not to save money. Two GPUs and a Blackwell box will never pay themselves back at $20/month.
I did it because I’ve spent 25 years watching people get locked out of systems they don’t own.
Somebody pointed AI at NVIDIA's closed Linux kernel driver, rebuilt it in Rust, and on Tesla V100 it's beating NVIDIA's own driver.
The project is nvdriver, MIT licensed, a drop-in replacement for the proprietary kernel module. Your normal NVIDIA userspace stays put: CUDA, PyTorch, cuDNN, NCCL, llama.cpp and nvidia-smi run unmodified on top of it.
Where the speed comes from: on V100 it raises the HBM2 memory clock from the stock 877.5 MHz cap to 1107 MHz, which is the V100S factory spec. The project's own tests against NVIDIA's 580.178.04 driver on 8x V100-SXM2-32GB:
- STREAM Triad bandwidth: 821.85 to 1,041.72 GB/s, about +27%
- FP16 tensor core GEMM: 97.69 to 107.17 TFLOPS
- llama.cpp prompt processing (pp512): 31,067 to 34,884 tok/s, about +12%
- PCIe transfers and CUDA graph replay: basically parity
The README also goes after the stuff NVIDIA gates in software: P2P across consumer cards, Resizable BAR on by default, unrestricted NVENC sessions, and a full compute unlock for CMP mining cards from the 30HX up to the 170HX.
Now the cold water. Only Volta has been tested on real silicon. Turing through Blackwell, RTX cards, the CMP cards and anything driving a display are marked as verified offline and still awaiting physical tests. If your GPU runs your monitor, treat this as one to watch, not a weekend install.
But hell, if even half of that unlock list holds up on newer cards, a lot of "that's just how the hardware is" limits are going to turn out to be a config flag.
QuixiAI/nvdriver
Ha, you're not slow, you're way ahead of us. 170 t/s is 4–5× what the 1080 Ti does. We get ~36 t/s at short context and ~21 t/s at 119k.
The trick isn't the card, it's fitting it into 11 GB:
• --n-cpu-moe 28 keeps most of the MoE expert weights in system RAM, so only the active work hits VRAM
• -ctk q8_0 -ctv q8_0 halves the KV cache vs f16
• Qwen4-35B-A3B is a hybrid: only ~10 of its 41 layers are full attention, so 128k of KV is small to begin with
If your 4090 is filling up, it's probably all experts on GPU plus an f16 cache. Quantize the cache first, then move a few expert layers with --n-cpu-moe if you still need room. Each layer you move costs some speed, so only move as many as you need.
We ran Qwen4-35B-A3B on the same GTX 1080 Ti with NVIDIA's own driver (580.178.04) and with @QuixiAI's open-source Rust driver. Same machine, same llama.cpp build, same settings, 3 runs each.
Generation, tok/s (NVIDIA's → open-source):
• 32k context: 36.1 → 38.7 (+7%)
• 128k context: 35.4 → 36.4 (+3%)
• With speculative decoding: 42.9 → 44.2 (+3%)
Prompt reading: NVIDIA's driver is 1–2% faster.
Why: core clocks are the same, but NVIDIA's driver holds the memory at 5,005 MHz during compute work, a long-standing behavior on these GeForce cards. The open driver runs it at the full 5,508 MHz, and generation on a model like this is limited by memory speed.
Fair caveat: you can push NVIDIA's memory clock up yourself with overclocking tools, and we didn't try that. This is both drivers as they come.
An open-source driver beating NVIDIA's on NVIDIA's card is a fun sentence to write.
https://t.co/MAS6NKOF6U
Follow-up: the 36 tok/s was with the 128k window open but short prompts. So we filled it for real.
A 119k-token document with three facts hidden at 10%, 50% and 90% of the way through:
• Reading the prompt: 232 tok/s, 8.6 minutes
• Generating at that depth: 21 tok/s
• All three facts retrieved exactly
• GPU peaked at 69 °C, no errors
It doesn't collapse, it slows down. The real cost is that first read. Follow-up questions on the same document reuse the cached prompt.
The model makes long context cheap. Qwen4-35B-A3B has 41 layers, but only every 4th is full attention. The rest are recurrent layers whose memory stays the same size however long the context gets.
So only ~10 layers keep a per-token cache, with just 2 KV heads each, stored in 8-bit. That's roughly 1.4 GB at 128k.
To make room, I moved 4 more expert layers to system RAM (--n-cpu-moe 28 instead of 24). Generation went from 38.6 to 36 tok/s.
CUDA start-up on my GTX 1080 Ti under @QuixiAI's open-source Rust NVIDIA driver just got 5× faster.
Creating a CUDA context: 277 ms → 57 ms. NVIDIA's own driver does it in 31 ms on the same card (persistence mode on).
What was slow: every new context copies a 1.3 MB starting image of the GPU's graphics state into place. The driver was moving it one 32-bit word at a time through a small memory window, reading each word back over PCIe, even though 94% of it is zeros. Now it keeps a copy in system RAM and only writes, with the zero runs done in bulk.
Found along the way: the TLB flush on every Maxwell and Pascal card waited for a status bit to clear that is set when idle, so each flush spun 10,000 register reads and then reported failure. One CUDA start did 690,001 of those reads. Now 73.
Thanks to greg-a-atkinson on GitHub, whose Tesla P40 timings pointed straight at the slow call.
https://t.co/bVGNhJWdjq
Earlier this week my $400 GTX 1080 Ti couldn't run CUDA at all under @QuixiAI's open-source Rust NVIDIA driver. Here's everything on our 1080 Ti branch now:
• CUDA works: llama.cpp, PyTorch with cuDNN, two programs at once
• Memory at full speed: GDDR5X from 405 MHz to its rated clock, bandwidth 30 → 424 GB/s
• GPU Boost 3.0: up to 1961 MHz
• Fan control: the card's own fan curve, a 14B model peaks ~60 °C, plus a 90 °C safety net
• PCIe stuck at Gen1 → Gen3: pinned copies 3.3 → 12.8 GB/s
• CUDA start-up 8.5 s → 0.35 s (adapted from dcr000's P100 fix)
• Kernel launches 1.69 → 0.98 µs; NVIDIA's driver does 1.00 (found alongside dcr000)
• Cold start for cards the BIOS never initialized
Result: Qwen4-35B-A3B generates up to 7% faster than on NVIDIA's own driver, same card.
Three PRs merged upstream so far, more open. Built on the Pascal runtime others started, with help and testing from people running 1080 Tis, P40s, P100s and a P4.
https://t.co/bVGNhJWdjq
It was, at first. The open driver had no fan control, so the fans sat at their boot speed and the card reached about 86 °C in torture tests once the memory ran at full speed.
So we added it: the driver now runs the card's own fan curve on its power-management controller. Under a 14B model it peaks around 60 °C, down from 72–76. There's also a safety net: three readings at 90 °C drop the memory clock back down.
A day ago my $400 GTX 1080 Ti ran its memory at 405 MHz under @QuixiAI's open-source Rust NVIDIA driver. Retraining GDDR5X memory to full speed is something no open driver had done on Pascal, because the memory controller is locked behind NVIDIA-signed firmware that Nouveau was never given.
Now it runs at the full 5505 MHz:
Memory bandwidth: 30 → 425 GB/s
Qwen2.5-7B: 5.2 → 51.5 tok/s
Qwen2.5-14B: 2.7 → 27.4 tok/s
5-minute 10 GB soak: 0 bit errors
We learned it by recording what the stock driver tells the card and replaying it. Nothing was disassembled. The first version passed short tests but crashed on big models. The cause was four settings NVIDIA programs at cold boot, before our recording started.
Four AI models from three companies each found a piece of it.
Draft PR: https://t.co/XyWrzCrf5i
Thanks! The trick is the model, not the card. Qwen4-35B-A3B is a mixture-of-experts model, so only about 3B parameters are active per token. I'm running the UD-IQ4_NL quant (~33 GB).
llama.cpp puts the expert weights of 24 layers in system RAM (48 GB DDR4) and keeps everything else, plus the KV cache, on the 11 GB card:
llama-server -ngl 99 --n-cpu-moe 24 -fa on -ctk q8_0 -ctv q8_0 -t 7 -c 32768
Driver: https://t.co/MAS6NKOF6U
That's 88 GB of VRAM, enough for some big models. Two honest answers:
For you today: NVIDIA's own 580 driver still supports the 1080 Ti, and llama.cpp splits a model across all 8 cards with it. You don't need us for that.
What the open driver gives you: support that outlives NVIDIA's, plus full memory clock in compute (+3–7% generation in our tests).
And you could help us. The branch has per-card isolation for multi-GPU, but we've only tested 1 card (2 next week). 8 cards on mining risers would be a great test. Guide: https://t.co/Q07Hdo5Aav
The speed this is moving at is something else.
@QuixiAI's open-source Rust NVIDIA driver has merged about 250 pull requests since Tuesday. And a chunk of the people showing up are bringing back cards from 2016 and 2017.
Just today, on the Pascal side:
• A Tesla P40 owner got CUDA running on our GTX 1080 Ti work, sent a fix for the P40's memory layout, and confirmed another fix the same evening
• A Tesla P4 owner fixed a bug that locked the card after its first unload
• Someone took our 1080 Ti memory-clock and boost work and carried it to a GTX 1070 Ti
• A P100 owner tracked down why CUDA took 8 seconds to start. We ported the fix: 8.5 s down to 0.3 s on the 1080 Ti
• Another 1080 Ti owner re-tested everything on a second board within hours
People are pulling old cards out of drawers, trying the builds, and sending back fixes and test runs.
In GPU years these cards are ancient. They still have plenty of work left in them.
https://t.co/MAS6NKOF6U
Follow-up on Qwen4-35B-A3B on our GTX 1080 Ti rig. Last time was a "will it run" test. Tonight we tuned it.
The box is now $500 all-in: the $400 Marketplace rig plus 32 GB of DDR4 I got off Marketplace for $100, so 48 GB total.
Same settings as last time, 64k context: 29.1 → 36.1 tok/s. That gain is the RAM running at its rated speed (XMP on) plus this week's launch fix in @QuixiAI's open-source Rust NVIDIA driver.
Then tuning on top:
• 32k context: 38.6 tok/s generating, ~500 tok/s reading the prompt
• Bigger prompt batches: prompt reading up to 835 tok/s
• With speculative decoding (MTP): 40–43.5 tok/s
• 128k context fits at 36 tok/s
The 11 GB card holds the attention and part of the experts; the rest run on the i7-9700K from system RAM.
What helped: 8-bit KV cache (more experts fit on the card), 7 CPU threads instead of 8, MTP. What didn't: a custom llama.cpp build for Pascal tied the stock CUDA image.
All on a 2017 card.
https://t.co/MAS6NKOF6U
Found the last speed gap we had measured between @QuixiAI's open-source Rust NVIDIA driver and NVIDIA's own on the GTX 1080 Ti.
Every CUDA kernel launch was about 0.7 µs slower. Small, but a model launches hundreds of kernels for every token.
The cause: CUDA keeps a little area of system memory the GPU checks between launches, and asks for it to be cached on the card. The driver ignored that, so every check went across PCIe to system RAM.
Fixed, with the cache flushing NVIDIA's driver does so freed memory can't be corrupted:
• Tiny kernel launch: 1.69 → 0.98 µs (NVIDIA's: 1.00)
• Qwen2.5-0.5B generation: 306 → 345 tok/s
• Qwen2.5-14B: 30.0 → 31.1 tok/s
• 10-minute stress, 3,129 GB of freed memory checked: 0 corruptions
dcr000 on GitHub was chasing the same stall on Tesla P100s, and found the cache rule and the flush requirement from their side the same night. It's in code all the older cards share, so it should help them too.
https://t.co/8BXqmvnVrC
Quick one: Qwen4-35B-A3B runs on the GTX 1080 Ti bench, under nvdriver, the open-source Rust NVIDIA driver.
This was an unoptimized, surface-level test, only to see whether it would run at all. It does. Part of the model sits on the card's 11 GB and the rest is offloaded to system RAM, on a 2017 GPU with no NVIDIA kernel driver loaded. Test questions came back right.
To be explicit: we are not claiming we've figured out how to make this useful yet. That's for later. How fast it can actually go is yet to be determined. The RAM isn't even at its rated speed yet, and nothing has been tuned.
It runs. The rest comes next.
Thanks @QuixiAI for the driver that is going to make this possible. @Alibaba_Qwen
If you have a GTX 1080 Ti in a drawer: there's now one branch that runs it on @QuixiAI's open-source Rust NVIDIA driver at NVIDIA-driver speed.
https://t.co/bVGNhJWdjq
On my card, against NVIDIA's own driver:
• Memory 5505 MHz, 425 GB/s (same)
• Boost to ~1961 MHz (same)
• PCIe copies ~13 GB/s (same)
• Qwen2.5-14B: ~30 tok/s generation (NVIDIA's: 29.5)
• The card's own fan curve, cuDNN, PyTorch, llama.cpp
It isn't a separate driver. Every piece is also a pull request to nvdriver, and the branch shrinks as they merge. It's a way to use it now instead of waiting.
Experimental: spare machine, not your daily one. The safest first step is the fan dry run, which only prints what it would send to the card. Bugs go to the main repo.
The full story: https://t.co/wKiGTY4PzY
Qwen4-35B-A3B came out this morning. By late morning it was the production model on my laptop.
The laptop: a ThinkPad P14s Gen 6 AMD. Ryzen AI 7 PRO 350 with the built-in Radeon 860M, no discrete GPU. 64 GB of DDR5-5600, 16 GB of it set aside for the iGPU. llama.cpp on Vulkan. It runs my offline rescue agent, the one I can talk to when home and the internet are both down.
I tested it against Qwen3.6-35B-A3B, which held that job since September. Same 9 scenarios, each one a real problem this laptop has had (a tethered iPhone hijacking the network route, Wi-Fi that won't reconnect, a slow boot, battery drain, overheating), two runs each, scored blind by Claude judges:
Qwen4: 10.2 / 11, 1 rule-breaking attempt
Qwen3.6: 8.1 / 11, 6 rule-breaking attempts
It's slower. Both 4-bit with their own MTP draft heads:
Short prompt: 23 tok/s vs 37
4.5k context: 22 tok/s vs 32
Still faster than I read. It fits the agent's full 262k context with about 9 GB of RAM to spare.
Better judgment beat raw speed for this job, so it's in. Small sample (two runs per scenario), our own harness, one machine. Thanks @Alibaba_Qwen and @UnslothAI for the quant.
A correction to my 1080 Ti post, with the story behind it.
I wrote "my $400 GTX 1080 Ti." Wrong. $400 bought the whole rig.
I'd been reading about @QuixiAI's open-source Rust NVIDIA driver. Its Pascal support was listed as verified offline only. Then a used gaming PC showed up on Facebook Marketplace: EVGA 1080 Ti, i7-9700K, 16 GB of RAM, no hard drive. Listed at $500. I offered $400.
I bought that box for this exact work. Put an NVMe in it, loaded Linux, pointed it at the driver. That was two days ago.
Everything since has run on it: the memory clock, the fan curve, the PCIe fix, boost clocks that match NVIDIA's own driver. Another tester's 1080 Ti, a different board, has confirmed the memory, fan and PCIe work since.
A used 1080 Ti by itself goes for about $200. I just bought a second one for $209, shipping and tax included.
$400 rig, not $400 card. The numbers stand.
Thanks, that would genuinely help. A 1080 Ti FTW is a different board from the two tested so far (an EVGA SC2 and an ASUS), and every new board is a real test for the fan and memory-clock code.
No rush. Once you have a Linux box for it, start with the fan dry run in https://t.co/JlQCzv8PCW. It only prints what it would send to the card, and you can post the log there. It's an experimental driver, so use a spare machine, not your daily one.
Update on the GTX 1080 Ti work in nvdriver @QuixiAI:
A second 1080 Ti, a different board owned by gdevenyi on GitHub, now confirms it independently:
• Memory clock reaches the full 5508 MHz. Device-to-device copies hit 428 GB/s, versus 385 on NVIDIA's own driver on the same card
• PyTorch and llama.cpp both run on it
• The new fan code builds its fan curve from each card's own firmware tables. Their card passes every check in a dry run, which prints exactly what it would send to the card first
Their testing also found where we're still behind stock, which is what testing is for:
• Pinned host↔GPU copies are about 4× slower (3.2 vs 12–13 GB/s)
• On a tiny 135M model, generation is about 24% slower (290 vs 381 tok/s), and CUDA graph launches take about a third longer
The copy path is the next thing I'm fixing.
Thanks to everyone digging Pascal cards out of closets after the last post. That's the point: these cards still have a lot left in them.