RAM offloading pushed to the max via a 500G of ram? It's cool sure, but would be cool to see some serious optimizations to NVMe offloading. It is much more likely scenario IMO.
> would be cool to see some serious optimizations to NVMe offloading.
As somebody who has played around with this [1] one problem you run into is NVMe/PCIe 5.0 devices have a fair amount of race-to-sleep type builtin logic [2] so your replies can get into a really wonky space, just startup lag. What's interesting is you can LRU type things (in GPU & local RAM) which does noticeable improve performance [3]. What I haven't gotten around too is training a model to "race the beam" (so to say) and pre-load experts for future tokens. It definitely -seems- possible [4] [5]
2. This is based off my own measurements but mostly conjecture from knowing how much power they suck & heat they throw out. Initial reads have a slow (100-200μs) ramp up before latency drops back to the predictable 10-20μs, at least from my measurements.
*Edit Update* Somebody posted an engine 6hr ago to LocalLLAMA: https://github.com/runmyai/tokenwing haven't read the code but it claims to do some of these things
Bottleneck difference might be that they're using an Epyc that uses DDR5, so higher GB/s throughput, and it's likely in 12-channel RAM configuration. Is your EPYC setup populating at least 12 DIMM slots?
Nice setup. To be fair on the comparison, DDR5 on the 9534 has a big bandwidth edge over DDR4, and 78.8 tok/s was the long SVG run (our 18 short prose/code prompts averaged 42.81 tok/s). Still on the unmodified weights and a single 4090 though
Curious what quant and prompt mix you're getting 40 tok/s on with Project Maya
More like "how do you live without an extra arm and leg now?". I.e. for those of us lucky enough to splurge right before the price went to the moon, we're left asking "should I just sell it now that it's THAT much?".
more options in terms of competition is good thing, but more options because you there is no direct competition is not really more options just different ways of doing things
12-channel RAM CPU, so more like $26000 USD these days if we're looking at market rates for something like 12 * 48GB DDR5 ECC Registered.
Considering the GPU, cost of the CPU, motherboard, one basic NVME SSD to hold the model, we're looking at a minimum of $30,000 to $35,000 of hardware here at full market prices, unless someone had the foresight and was lucky enough to buy the hardware for this at early 2025 market prices.
So yeah, uh, basically the claim is "we're getting 76tok/s decode on Deepseek V4 flash 1017 FP8 on $35,000 of locally hosted hardware", which doesn't seem like such a shocker to me.
Why are we paying for registered ram? I might be behind on hardware but I thought unregistered DDR5 was cheaper and neural nets generally quite tolerant to the occasional bit flip?
The Epyc processor OP used only supports registered RAM. Unfortunately, most server CPUs that provide enough channels for good memory bandwidth don't support unregistered DIMMs.
if it's really "one RTX 4090 and ~$20k of RAM " then that comes to around $23,000 right now (the RTX 4090 goes for around $3,0000.) For $22,290 you can get a 512 GB Mac Studio with M5 ultra new right now:
Yeah for local inference Apple is one of the better options. Although modded 22GB 2080Tis are also important to consider. You can get 200 tok/s out of them running Qwen 27B with NVLink and a forked version of vLLM. Not in the same class as the other models mentioned in this thread. But certainly worth thinking about.
Somewhat related, there's a PR sitting in the Maya repo that reportedly ran quantized DeepSeek on a single 7900XTX and a bunch of scrap Tesla T10s, with 64GB of DDR4, got 40 tps decode.
my immediate thought is this guy was a /g/ local models general poster. people on there love cobbling together wacky inference rigs out of varying degrees of ewaste. just a week ago there was this fellow: https://rentry.org/Max1100MAXX
I'm guessing you can learn to time the DISK->RAM->GPU reads to make it feasible, which is probably the end-goal of many local-oriented inference engines.
Attacking the RAM->GPU problem first is a good way of defining how good performance can be prior to committing to the whole problem at once.
You can do DISK->GPU reads along the RAM->GPU ones too, but I guess it'll take some experimentation to find how to minimise GPU stalls.
I'm running UD-IQ1_M .basalt on my 5090/64gig/nvme with about 65-85 tok/s and it did 30 of 33 on the LiveCodeBench v6 33 Problem bench, took almost 5 hours to run.
Gemini implemented every tune/tweak it can find from top opensource llm engines to get that speed.
With the new loop overlays out, should bump up the intelligence some too, even for quants.
RAM cost for this is way more than 4090; also, you can't install so much RAM on your regular PC - needs workstation level motherboard & CPU, iiuc...
AMD Threadripper - 2-4k
Motherboard - 1k
512GB DDR5 RDIMM - 20-25k
4090 - 3k
so total cost is 25-35k
at this rate, replace 4090 with RTX PRO 6000 Backwell (adds ~10k, 30% more) - and you get much faster TTIT due to 96GB GPU RAM and 4bits native support.
It's basically not running on the 4090. Only 24GB / 748GB (3% of experts) is, right? The EPYCs have memory bandwidth closer to video card bandwidth than normal PC bandwidth, like Apple Silicon does.
DS4.1F does not slow down very much as a function of its context depth because its context is so small: under 1 KB/token, so under 1 GB for a full million-token context. The dense experts are almost 7 GB, and routed experts add another 3-4 GB during decode -- so a gigabyte of context adds about 10% of additional memory traffic. Models like Qwen3.8-27B can have contexts as big as their weights, so 100% additional traffic.
On my Radeon R9700 (32 GB) and 256 GB of DDR4 using Strata (before the author nuked the DeepSeek kernels) and the drafter, using Unsloth's UD_Q2_K_XL quantization, I get about 35 tok/sec for both shallow context and 400k of context.
Hey HN, I'm Joel, founder of Axel Labs. We're building Axel, a highly capable agent designed around persistent, long term context. This inference R&D is aimed at running Axel fully local and private on hardware you own, designed and built by Axel Labs, without shrinking the model.
This was a test of how large of an unmodified model we can serve on one machine, at respectable speeds. A few details the headline leaves out: the active 24 GB RTX 4090 isn't doing this alone - the engine ran with one AMD EPYC 9534 socket and 468.1 GiB of resident host RAM. Speed also varied by workload: the filmed SVG run averaged 78.76 decode tok/s, while a separate set of 18 short prose and code requests averaged 42.81 decode tok/s. DSpark speculative decoding was enabled, and the reported rates count committed output tokens delivered to the client. On the 128K-token retrieval test, time to first token was 196.9 seconds.
The engine is closed-source right now since it's part of what we're building at Axel Labs.
The post has the original-speed recordings, exact prompt, raw SVG, run receipt, and SHA-256 checksums. Happy to answer questions about the setup and numbers
This is cool and I like that you're publishing the results here. I think there's an important benefit to getting hybrid inference more widespread and I've been a big fan of Strata for a 16GB+64GB computer and am constantly looking for more and better tools here!
I think you ran this with thinking off, can you enable thinking and how does that affect performance? I'd also like to understand prefill performance and how stable it is over longer contexts lengths! finally, are you exposing an OpenAI or Anthropic endpoint such that this could hook into various harnesses? And how are you using the CPU in this case? Llama Swap uses CPU and GPU pretty well on my 16c Zen 5 + 5080m computer but I'm constantly chasing forks and patches to cover compatibility.
I hope you can find a way to open source it that drives business your way!
While I am also extremely skeptical of these "we are running a giant 500GB+ model on one consumer GPU" claims, they do specifically say they're using the full FP8 weights.
Yes, one consumer GPU... and 20000€+ of RAM. Also a few thousand more for the Epyc board and CPU etc. and you are quickly at 25-30000€+. Thats the part no one wants to write in the headlines.
RAM offloading pushed to the max via a 500G of ram? It's cool sure, but would be cool to see some serious optimizations to NVMe offloading. It is much more likely scenario IMO.
A more traditional setup i am running since a few weeks ago deepseek 4.1 at around 300 tok/s with this. Exceptional stuff for medium sized teams. https://github.com/sybil-solutions/deepseek-v4.1-flash-4x-rt...
> would be cool to see some serious optimizations to NVMe offloading.
As somebody who has played around with this [1] one problem you run into is NVMe/PCIe 5.0 devices have a fair amount of race-to-sleep type builtin logic [2] so your replies can get into a really wonky space, just startup lag. What's interesting is you can LRU type things (in GPU & local RAM) which does noticeable improve performance [3]. What I haven't gotten around too is training a model to "race the beam" (so to say) and pre-load experts for future tokens. It definitely -seems- possible [4] [5]
---
1. Worked with agents to patch DMA support into xe2-hpg series GPUs https://github.com/valarauca/linux/pull/1
2. This is based off my own measurements but mostly conjecture from knowing how much power they suck & heat they throw out. Initial reads have a slow (100-200μs) ramp up before latency drops back to the predictable 10-20μs, at least from my measurements.
3.https://github.com/valarauca/Strata/blob/main/migration/NOTE... Granted I'm able to load ~60% of experts at once into my VRAM, so I'm slightly cheating.
4. https://arxiv.org/abs/2603.19289
5. https://arxiv.org/abs/2605.11537
*Edit Update* Somebody posted an engine 6hr ago to LocalLLAMA: https://github.com/runmyai/tokenwing haven't read the code but it claims to do some of these things
that's a cool setup, what team size can you serve with this setup ? what's the use case, mostly writing code ?
I have a 32-core Epyc and 512GB DDR4 RAM, with two 3090's and two 4090's using a quantized deepseek 4.1 flash with project maya
I'm only getting 40 Tok/s decode
very interested in trying their inference engine
Bottleneck difference might be that they're using an Epyc that uses DDR5, so higher GB/s throughput, and it's likely in 12-channel RAM configuration. Is your EPYC setup populating at least 12 DIMM slots?
Nice setup. To be fair on the comparison, DDR5 on the 9534 has a big bandwidth edge over DDR4, and 78.8 tok/s was the long SVG run (our 18 short prose/code prompts averaged 42.81 tok/s). Still on the unmodified weights and a single 4090 though
Curious what quant and prompt mix you're getting 40 tok/s on with Project Maya
>Curious what quant and prompt mix
exl3 3.5bpw quant, full native context (268k?)
> 512GB DDR4 RAM
how do you live without an arm and a leg now?
I have about 1.5TB, bought before craziness, 35$/64G stick.
More like "how do you live without an extra arm and leg now?". I.e. for those of us lucky enough to splurge right before the price went to the moon, we're left asking "should I just sell it now that it's THAT much?".
on one RTX 4090 and ~$20k worth of RAM*
I think that's the point, less of the hardware cost is going to NVIDIA and more to RAM
> I think that's the point, less of the hardware cost is going to NVIDIA and more to RAM
Does it matter? Is it just to keep the cash out of Huang's paws and hand it over to Samsung or Hynix instead. Or am I missing something obvious?
Deep down, we're all expecting a huge breakthrough that magically makes frontier intelligence work on a 24gb vram card and 64gigs of ddr4 ram.
i think more options is always a good thing
more options in terms of competition is good thing, but more options because you there is no direct competition is not really more options just different ways of doing things
Yeah, you missed Micron, they'll happily take your cash too.
12-channel RAM CPU, so more like $26000 USD these days if we're looking at market rates for something like 12 * 48GB DDR5 ECC Registered.
Considering the GPU, cost of the CPU, motherboard, one basic NVME SSD to hold the model, we're looking at a minimum of $30,000 to $35,000 of hardware here at full market prices, unless someone had the foresight and was lucky enough to buy the hardware for this at early 2025 market prices.
So yeah, uh, basically the claim is "we're getting 76tok/s decode on Deepseek V4 flash 1017 FP8 on $35,000 of locally hosted hardware", which doesn't seem like such a shocker to me.
Why are we paying for registered ram? I might be behind on hardware but I thought unregistered DDR5 was cheaper and neural nets generally quite tolerant to the occasional bit flip?
The Epyc processor OP used only supports registered RAM. Unfortunately, most server CPUs that provide enough channels for good memory bandwidth don't support unregistered DIMMs.
Not sure what board type it is, but many server boards with craploads of slots require registered RAM.
if it's really "one RTX 4090 and ~$20k of RAM " then that comes to around $23,000 right now (the RTX 4090 goes for around $3,0000.) For $22,290 you can get a 512 GB Mac Studio with M5 ultra new right now:
https://www.apple.com/shop/buy-mac/mac-studio
I'd be interested to know how it compares. This makes me think the Mac Studio might perform 20% better:
https://llamaperf.com/compare/m5-ultra-256gb-vs-rtx-4090
It has much faster memory than DDR 4.
It’s better (and cheaper) to get 2x256gb Mac and hook them up together. You get more performance because Mac is quite a bit gpu starved
Yeah for local inference Apple is one of the better options. Although modded 22GB 2080Tis are also important to consider. You can get 200 tok/s out of them running Qwen 27B with NVLink and a forked version of vLLM. Not in the same class as the other models mentioned in this thread. But certainly worth thinking about.
> right now
“Order today, delivers: Jan 5 – Jan 13 — Free”
Not exactly right now.
Running an unmodified 748B on a single 4090 is an impressive result.
Somewhat related, there's a PR sitting in the Maya repo that reportedly ran quantized DeepSeek on a single 7900XTX and a bunch of scrap Tesla T10s, with 64GB of DDR4, got 40 tps decode.
Adding another 7900XTX bumped prefill apparently.
https://github.com/mw00/project-maya/pull/1468
EDIT: add link
my immediate thought is this guy was a /g/ local models general poster. people on there love cobbling together wacky inference rigs out of varying degrees of ewaste. just a week ago there was this fellow: https://rentry.org/Max1100MAXX
...which, upon checking, appears to have made it into the master list of /lmg/ builds: https://rentry.org/lmg-build-guides
Something like full fat Deepseek v4.1 Flash quality on RTX 4090 AND ONLY 128GB of RAM would be revolutionary.
I'm guessing you can learn to time the DISK->RAM->GPU reads to make it feasible, which is probably the end-goal of many local-oriented inference engines.
Attacking the RAM->GPU problem first is a good way of defining how good performance can be prior to committing to the whole problem at once.
You can do DISK->GPU reads along the RAM->GPU ones too, but I guess it'll take some experimentation to find how to minimise GPU stalls.
5090 would be a better target card for KV optimisation.
512gb DDR5 ECC + 5090 setup was about $7k 2years back, but these days doesn’t make sense
I'm running UD-IQ1_M .basalt on my 5090/64gig/nvme with about 65-85 tok/s and it did 30 of 33 on the LiveCodeBench v6 33 Problem bench, took almost 5 hours to run.
Gemini implemented every tune/tweak it can find from top opensource llm engines to get that speed.
With the new loop overlays out, should bump up the intelligence some too, even for quants.
RAM cost for this is way more than 4090; also, you can't install so much RAM on your regular PC - needs workstation level motherboard & CPU, iiuc...
AMD Threadripper - 2-4k
Motherboard - 1k
512GB DDR5 RDIMM - 20-25k
4090 - 3k
so total cost is 25-35k
at this rate, replace 4090 with RTX PRO 6000 Backwell (adds ~10k, 30% more) - and you get much faster TTIT due to 96GB GPU RAM and 4bits native support.
I slopped 12-24k as cost estimate earlier.
Damn that GPU sounds cool though, thanks for the tip.
Do they use their own program to offload it to RAM?
These ram cache projects are cool but the speeds aren’t anything usable unless you’ve got an absurd amount of memory
A full 748B model running unmodified on a single 4090 is a genuinely impressive result
It's basically not running on the 4090. Only 24GB / 748GB (3% of experts) is, right? The EPYCs have memory bandwidth closer to video card bandwidth than normal PC bandwidth, like Apple Silicon does.
I've tried one of these projects.
While you technically use the model expect seconds per token levels of experience.
They report 40+ tok/s. Not bad at all for this model class.
the number is good theoretically. Practically it's unusable imho.
Depends how interactive you need it to be. But for vibe coding or interactive chat I want >60 tok/s and ideally >100.
For the fist 500 tokens of context, or when you are already 80k tokens deep?
DS4.1F does not slow down very much as a function of its context depth because its context is so small: under 1 KB/token, so under 1 GB for a full million-token context. The dense experts are almost 7 GB, and routed experts add another 3-4 GB during decode -- so a gigabyte of context adds about 10% of additional memory traffic. Models like Qwen3.8-27B can have contexts as big as their weights, so 100% additional traffic.
On my Radeon R9700 (32 GB) and 256 GB of DDR4 using Strata (before the author nuked the DeepSeek kernels) and the drafter, using Unsloth's UD_Q2_K_XL quantization, I get about 35 tok/sec for both shallow context and 400k of context.
Yeah, but with an Epyc 9534 and presumably 512GB of DDR5 server RAM.
Hey HN, I'm Joel, founder of Axel Labs. We're building Axel, a highly capable agent designed around persistent, long term context. This inference R&D is aimed at running Axel fully local and private on hardware you own, designed and built by Axel Labs, without shrinking the model.
This was a test of how large of an unmodified model we can serve on one machine, at respectable speeds. A few details the headline leaves out: the active 24 GB RTX 4090 isn't doing this alone - the engine ran with one AMD EPYC 9534 socket and 468.1 GiB of resident host RAM. Speed also varied by workload: the filmed SVG run averaged 78.76 decode tok/s, while a separate set of 18 short prose and code requests averaged 42.81 decode tok/s. DSpark speculative decoding was enabled, and the reported rates count committed output tokens delivered to the client. On the 128K-token retrieval test, time to first token was 196.9 seconds.
The engine is closed-source right now since it's part of what we're building at Axel Labs. The post has the original-speed recordings, exact prompt, raw SVG, run receipt, and SHA-256 checksums. Happy to answer questions about the setup and numbers
This is cool and I like that you're publishing the results here. I think there's an important benefit to getting hybrid inference more widespread and I've been a big fan of Strata for a 16GB+64GB computer and am constantly looking for more and better tools here!
I think you ran this with thinking off, can you enable thinking and how does that affect performance? I'd also like to understand prefill performance and how stable it is over longer contexts lengths! finally, are you exposing an OpenAI or Anthropic endpoint such that this could hook into various harnesses? And how are you using the CPU in this case? Llama Swap uses CPU and GPU pretty well on my 16c Zen 5 + 5080m computer but I'm constantly chasing forks and patches to cover compatibility.
I hope you can find a way to open source it that drives business your way!
yes... Q0.00001xxxxxxxxxs REAP 10% at 0.000001t/s, you can run it on a ESP32... is all about expectations.
Yes 748B model "tolerates" well lobotomy and trepanation.
While I am also extremely skeptical of these "we are running a giant 500GB+ model on one consumer GPU" claims, they do specifically say they're using the full FP8 weights.
Yes, one consumer GPU... and 20000€+ of RAM. Also a few thousand more for the Epyc board and CPU etc. and you are quickly at 25-30000€+. Thats the part no one wants to write in the headlines.
Pretty sure an M5 Ultra is the best option for someone trying to run models like this.
Yet another boring system RAM caching project for those with 512GB to spare. Yawn.