Top
Best
New

Posted by bobbitybobob 4 hours ago

Unmodified 748B DeepSeek-v4.1-Flash on one RTX 4090(axel-labs.com)
149 points | 31 comments
proxysna 2 hours ago|
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...

hugmynutus 1 hour ago||
> 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

guybedo 2 hours ago||
that's a cool setup, what team size can you serve with this setup ? what's the use case, mostly writing code ?
PcChip 4 hours ago||
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

walrus01 4 hours ago||
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?
lnxsxu 3 hours ago|||
[dead]
bobbitybobob 3 hours ago|||
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

NooneAtAll5 2 hours ago||
> 512GB DDR4 RAM

how do you live without an arm and a leg now?

bz_bz_bz 4 hours ago||
on one RTX 4090 and ~$20k worth of RAM*
these 3 hours ago||
I think that's the point, less of the hardware cost is going to NVIDIA and more to RAM
walrus01 4 hours ago|||
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.

gpm 2 hours ago||
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?
pgraf 2 hours ago|||
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.
pixl97 2 hours ago|||
Not sure what board type it is, but many server boards with craploads of slots require registered RAM.
logicallee 2 hours ago||
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.

teaearlgraycold 1 hour ago||
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.
IronWolve 1 hour ago||
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.

127 3 hours ago||
Something like full fat Deepseek v4.1 Flash quality on RTX 4090 AND ONLY 128GB of RAM would be revolutionary.
dietr1ch 1 hour ago|
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.

robotswantdata 2 hours ago||
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

variety8675 3 hours ago||
These ram cache projects are cool but the speeds aren’t anything usable unless you’ve got an absurd amount of memory
zeroq 4 hours ago||
I've tried one of these projects.

While you technically use the model expect seconds per token levels of experience.

mungoman2 3 hours ago|
They report 40+ tok/s. Not bad at all for this model class.
blaaarg123 1 hour ago|||
the number is good theoretically. Practically it's unusable imho.
WarmWash 3 hours ago|||
For the fist 500 tokens of context, or when you are already 80k tokens deep?
entrope 1 hour ago||
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, using Unsloth's UD_Q2_K_XL quantization, I get about 35 tok/sec for both shallow context and 400k of context.

walrus01 4 hours ago||
Yeah, but with an Epyc 9534 and presumably 512GB of DDR5 server RAM.
jubilanti 2 hours ago|
Yet another boring system RAM caching project for those with 512GB to spare. Yawn.
More comments...