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. What's interesting is you can LRU type things (in GPU & local RAM) which does noticeable improve performance [3]. Tiny-LFU works 'slightly' better but the warm up phase ends up hurting overall performance [6]. What I haven't gotten around too is, because MTP generally works, training a model to "race the beam" (so to say) and re-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.
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
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:
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.
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.
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 connect 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, 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
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. What's interesting is you can LRU type things (in GPU & local RAM) which does noticeable improve performance [3]. Tiny-LFU works 'slightly' better but the warm up phase ends up hurting overall performance [6]. What I haven't gotten around too is, because MTP generally works, training a model to "race the beam" (so to say) and re-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
6. I haven't pushed this code now I realize, so you'll have to trust me on this.
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
> 512GB DDR4 RAM
how do you live without an arm and a leg now?
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
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.
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.
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
These ram cache projects are cool but the speeds aren’t anything usable unless you’ve got an absurd amount of memory
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.
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 connect 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, 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.
Yet another boring system RAM caching project for those with 512GB to spare. Yawn.
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
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.