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
zozbot234 9 hours ago [-]
> 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.
This looks like a weird choice to me, unless you're only targeting single-stream decode (which is wildly inefficient in the aggregate)? SSD throughput is your bottleneck most of the time, so loading possibly wrong experts is not something you'd want to do. If you have free throughput available, you should probably split your workload into μbatches and overlap fetching and routing across separate μbatches.
hugmynutus 6 hours ago [-]
> unless you're only targeting single-stream decode (which is wildly inefficient in the aggregate)
That is exactly what I'm targeting.
riobard 21 hours ago [-]
> NVMe/PCIe 5.0 devices have a fair amount of race-to-sleep type builtin logic
will disabling ASPM and better cooling address this issue?
bayindirh 17 hours ago [-]
NVMe drives provide a list of power states with their max power consumption and entering/exiting latencies in their SMART information (visible with smartctl -a).
If you limit the states your disk is allowed to switch with nvme command, you can trim this latency quite a bit, while keeping some of the power management in place, if you prefer.
hugmynutus 17 hours ago [-]
water cooled + c states & ASPM disabled. NVMe controllers simply do not run at maximum power draw 24/7. Their peak draw can reach 10w during heavy transfers, that is why they get so hot, high speed busses need that power.
Aurornis 20 hours ago [-]
> but would be cool to see some serious optimizations to NVMe offloading. It is much more likely scenario IMO.
The EPYC 9534 in the article support 12-channel DDR5. That's around 450GB/sec bandwidth. Less in practice, but still a lot.
That's about 30X faster than the fastest PCIe 5.0 SSDs you can buy. Interestingly, you could theoretically put 30 of them on to the PCIe bus of that CPU if everything worked out on the platform. $7000 of SSDs and enough adapters to make it all work, with a lot hope that the BIOS doesn't get in your way and no weird driver problems appear. Would be fun to see someone try this. I doubt you can actually saturate all 128 PCIe lanes of bandwidth, but it would have some impressive numbers.
For experimenting with one SSD, you can find a lot of projects that do a multi-tier split of experts across VRAM, RAM, and SSD, or SSD and unified memory. With quantized models and some intelligent expert selection strategies the speed can be almost reasonable, but the more they access the SSD the slower it gets.
zozbot234 9 hours ago [-]
> I doubt you can actually saturate all 128 PCIe lanes of bandwidth, but it would have some impressive numbers.
Since you'd obviously be wildly overprovisioning SSD raw capacity in that scenario, you could leverage further gains by offloading sparsely accessed KV-cache layers to the SSD, and reusing that RAM as fast cache. This isn't generally done because SSD wear and tear is a concern, but KV cache in plain old transformer models is a bulk append-only workload which does not wear out the SSD too much (minimizes write amplification). More recent fixed-size attention is different though, that gets overwritten in place and is suited to RAM.
lostmsu 13 hours ago [-]
GPU is still connected with a single PCIe, so having more RAM and even faster SSDs won't help.
guybedo 1 days ago [-]
that's a cool setup, what team size can you serve with this setup ? what's the use case, mostly writing code ?
proxysna 16 hours ago [-]
95% coding related tasks, some openSCAD work, red/blue exercises
ai_users_are_du 14 hours ago [-]
Thats, but $70k + cost of your time for maintenance and fiddling.
Whats tps with concurrency=4 (not sure what medium sized team is). I dont think this rig could pay for itself in any reasonable amount of time. But I concur there are other benefits outside just cost per token.
PcChip 1 days 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 1 days 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?
bobbitybobob 1 days 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
(It's fine, of course, to use AI tools—we use them ourselves. Just please don't use them to generate or edit text to be read by fellow humans on Hacker News.)
It's impossible to know for sure what was LLM-processed, but we have to rely on imperfect classifiers, or HN would be flooded by genai text, which is not what the community here wants to read, nor in the intended spirit of the site.
windingpath 13 hours ago [-]
[dead]
windingpath 13 hours ago [-]
[flagged]
NooneAtAll5 1 days ago [-]
> 512GB DDR4 RAM
how do you live without an arm and a leg now?
tehlike 22 hours ago [-]
I have about 1.5TB, bought before craziness, 35$/64G stick.
ozgrakkurt 14 hours ago [-]
Wow that is so sad to read now
tehlike 6 hours ago [-]
I know. It also saddens me I feel like I'm not putting them to beat possible use. And don't want to sell them either
matheusmoreira 21 hours ago [-]
I wonder if we'll ever see those prices again...
holoduke 15 hours ago [-]
Soon enough. Production capacity is going up at insane speeds. There will be a moment of stabilization or even less demand.
matheusmoreira 14 hours ago [-]
I hope you're right. I thought the memory manufacturers were against capacity increases due to the risk. They say the demand could simply vanish overnight and leave them holding the bag.
NortySpock 9 hours ago [-]
With LLMs we've literally discovered how to store something that intelligently answers most requests, on a chip, instead of in an apartment block.
I don't think we are close to the ceiling on the demand for "chips which allow you to run a spare personal assistant / junior employee".
jahnu 17 hours ago [-]
Within 5 years I guess.
busssard 16 hours ago [-]
yeah but in 5 years anything worth running will probably need more than 128gb ram.
sandworm101 15 hours ago [-]
And it will be on ddr>5.
matheusmoreira 14 hours ago [-]
Well, it shouldn't be a problem if we can actually afford the RAM, right?
lolive 10 hours ago [-]
I have a few spare Black Lotus, if you are ok for a fair trade.
#richGeeksJoke
red-iron-pine 7 hours ago [-]
i got mox if you got RAM
az226 19 hours ago [-]
I got 7TB DDR4 ECC and 2TB DDR5 ECC :-) I also have 6TB of VRAM.
Running in my homelab.
busssard 14 hours ago [-]
do you have a small datacenter in your basement?
znpy 12 hours ago [-]
you can have that kind of memory (7TB) in a single (server-class) machine.
Not sure about the 6tb vram, that might require more than one machine.
busssard 11 hours ago [-]
7TB DDR4? wow TIL
walrus01 2 hours ago [-]
I don't know what single chassis server machine from the older DDR4 era will fit 7GB, but a dell poweredge R940 quad socket xeon system will take 48 * 128GB (6TB) as its max configuration. Before RAM prices went totally nuts it would have been quite possible to populate one of them with 2TB, 4TB or 6TB in early 2025 for not very much money at all.
I believe the equivalent generation of same xeon cpu 3U/4U size machines from other manufacturers also maxed out at 48 * 128GB, in the times before DDR5 server RAM and CPUs that use it became a thing.
1 days ago [-]
zamadatix 24 hours ago [-]
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?".
bz_bz_bz 1 days ago [-]
on one RTX 4090 and ~$20k worth of RAM*
these 1 days ago [-]
I think that's the point, less of the hardware cost is going to NVIDIA and more to RAM
rdtsc 1 days ago [-]
> 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?
jacekm 12 hours ago [-]
RAM prices will eventually drop, I am not that optimistic about GPUs. And once the prices drop it will put larger models within the reach of consumers without specialized, enterprise-grade GPUs.
plaguuuuuu 20 minutes ago [-]
When RAM prices drop, GPU prices will also drop.
It will be in about 20 years lol
leidenfrost 22 hours ago [-]
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.
volkk 1 days ago [-]
i think more options is always a good thing
altmanaltman 23 hours ago [-]
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
neutrinobro 22 hours ago [-]
Yeah, you missed Micron, they'll happily take your cash too.
swalsh 17 hours ago [-]
Are we building more memory foundries? Demand for ram is going to keep going up.
mewse-hn 17 hours ago [-]
According to other threads on this site, it's apparently not price collusion when the makers decide to not invest in foundries despite demand skyrocketing - just the free market choosing not to compete I guess? I forget the argument, it's confusing
SideQuark 14 hours ago [-]
The cost to start new RAM foundries is such a massive investment and takes a long time, it is too risky to build one in the hope prices don't drop before one can even begin making back the $10B+ needed to even get started.
Just simply enter "why do not more ram makers enter the market" into google, read the AI summary, check the references it provides. There is no mystery and it's very easy to find things out.
walrus01 1 days 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 1 days 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 1 days 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 1 days ago [-]
Not sure what board type it is, but many server boards with craploads of slots require registered RAM.
logicallee 1 days 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:
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
teaearlgraycold 1 days 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.
jachee 1 days ago [-]
> right now
“Order today, delivers:
Jan 5 – Jan 13 — Free”
Not exactly right now.
bobbitybobob 24 hours ago [-]
[dead]
edg5000 14 hours ago [-]
This post inspired me to run the new Qwen4 28B (MoE) on my old 6GB 2060, with 64GB of DDR4. This is an old Xeon. Got 30tok/s/ If GPT Astra is 50-60 tok/s this is not too bad speed-wise? The model was able to handle a simple spreadsheet task which involved some basic Python scripting. So maybe this thing will run some boring jobs for me. Pretty cool for such an old machine. I'm running the weights as released, not quantized.
bilekas 14 hours ago [-]
I can't figure these out, I am doing something wrong, because I have an AMD 9070(16 GB), with 64GB DDR5 6000, and when running Qwen 3.8 27B, with quant 3, I end up with maybe 9tokens/s.
LMStudio with full offload to GPU. 120k~ context.
I know nVidia is better suited than AMD but 10x the difference?
PaulKeeble 14 hours ago [-]
You should be more like 35 token/s with that setup. I can't fit 120k context with quant 3 even with kv q4 in 16GB so I am going to guess that is your likely issue and you are spilling into RAM and then 9 token/s seems very likely. Try 16384 context and see if that fixes it and work upwards from there to find the right spot.
Personally I would recommend switching to unsloth and let it fit the context, it will max out out the card and its just a better app overall.
aand16 13 hours ago [-]
Sounds like the custom KV cache issue:
there's a longstanding "feature" of llama.cpp where if you use KV cache quantisation other than BF16, Q8 or Q4 for both keys and values, it silently uses a slow path on the CPU.
Llama.cpp project doesn't include optimizations for various mixed KV cache quant types in their released binaries, therefore each user of e.g. Q5,Q4 KV cache quant has to recompile the project with the appropriate flags for each local update.
l33tman 13 hours ago [-]
I also tested that model with 64GB ram and a 5800 ryzen, including two RTX3080's in the machine, with llama.cpp doing auto-offloading to CPU/GPU/GPU but it also just reached 10-15 tps in that setup :/ Didn't investigate much further.
DA-Mike74 9 hours ago [-]
Try project Maya, the 2.25 quant (you hardly lose anything over 3-bit), much lower context to start, say 16k and work your way up. Pin more experts, and turn on tail skipping, if needed (probably will be needed).
I think your main issue might be ram; you need closer to 160gb if I am correct.
nolok 11 hours ago [-]
You're growing out of vram which tanks performance.
If you want to see it "run well" just once to confirm use Unsloth Desktop instead of LM Studio, whatever affinity I have for LM Studio, Unsloth is a lot better at finding the right settings for your computer.
Then once you got it just copy its settings into lm studio (kv cache, quants, etc ...)
brador 12 hours ago [-]
Context too high. Trim to 30k and up in 10k increments. You’ll settle around 60k imo.
127 1 days ago [-]
Something like full fat Deepseek v4.1 Flash quality on RTX 4090 AND ONLY 128GB of RAM would be revolutionary.
teleforce 2 hours ago [-]
Please check Xolotl, open-source engine for running MoE models on a normal gaming PC [1],[2].
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 1 days 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
matheusmoreira 21 hours ago [-]
4090 makes sense for virtualization. It seems to be one of very few consumer nvidia cards that doesn't run into issues while resetting, which is necessary for good isolation per QubesOS documentation. 5090 can't be reset for some reason and requires full power cycles, lowering its value in a virtualized Linux setup.
ngl999 24 hours ago [-]
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
Why does the article keep listing CPU + RAM as a bundle under the term "host", rather than listing them separately in a traditional CPU/GPU/RAM format as most people do when referring to their computer's specs? For what it's worth, it lists the GPU "normally".
(This is a genuine question, as I'm not familiar with this field.)
alanhaha 17 hours ago [-]
Because this is an Ad. It wants you to know that Axel can run a large model on a single card, but don't want you to know much about the cost.
variety8675 1 days ago [-]
These ram cache projects are cool but the speeds aren’t anything usable unless you’ve got an absurd amount of memory
zeroq 1 days ago [-]
I've tried one of these projects.
While you technically use the model expect seconds per token levels of experience.
mungoman2 1 days ago [-]
They report 40+ tok/s. Not bad at all for this model class.
zeroq 7 hours ago [-]
In my case it was collibri with combination of SSD, DDR4 and 3080.
It got me ~3 tokens per second. Nice party trick, but nothing usable.
blaaarg123 1 days ago [-]
the number is good theoretically. Practically it's unusable imho.
teaearlgraycold 1 days ago [-]
Depends how interactive you need it to be. But for vibe coding or interactive chat I want >60 tok/s and ideally >100.
WarmWash 1 days ago [-]
For the fist 500 tokens of context, or when you are already 80k tokens deep?
entrope 1 days 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 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.
bobbitybobob 1 days ago [-]
[dead]
IronWolve 1 days 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.
yalok 24 hours ago [-]
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.
andai 24 hours ago [-]
I slopped 12-24k as cost estimate earlier.
Damn that GPU sounds cool though, thanks for the tip.
tokarev1986 7 hours ago [-]
did you measured how it holds with 8 or more requests, in term of total t/s, per user t/s, and time for first token?
zakki 23 hours ago [-]
Do they use their own program to offload it to RAM?
aitechpulse 9 hours ago [-]
How much Ram does it needs ? and what was tok/sec?
walrus01 1 days ago [-]
Yeah, but with an Epyc 9534 and presumably 512GB of DDR5 server RAM.
jonasbrunner 23 hours ago [-]
Running an unmodified 748B on a single 4090 is an impressive result.
jackalBrowseNov 17 hours ago [-]
"We’re building toward a machine people can own that runs Axel(opens in a new tab) privately." -> with 500GB RAM, this kind of spec is not a regular consumer PC
znpy 14 hours ago [-]
How lovely, i can skip buying a gpu, i just need 755.2 GiB of memory.
inshard 19 hours ago [-]
All these local model efforts ignore one big thing: you can’t run parallel agent sessions? It’s, it’s pretty much a mono session, so we should start measuring like how many parallel sessions are running on the cloud versus what’s going on in your local stack because I don’t think you can really get the same work done if you go local unless you invest a quarter of a million dollars on hardware.
bobbitybobob 1 days ago [-]
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
kphorn 24 hours ago [-]
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!
bobbitybobob 24 hours ago [-]
[dead]
Yashsarwaiya 9 hours ago [-]
[dead]
37708 17 hours ago [-]
[dead]
jy_huang 1 days ago [-]
[dead]
justapie 11 hours ago [-]
[dead]
OrderShift 23 hours ago [-]
[dead]
Hudson0209 22 hours ago [-]
[dead]
jing09928 1 days ago [-]
[dead]
blusl0918 22 hours ago [-]
[dead]
hz_builds 8 hours ago [-]
[dead]
camillelefevre 1 days ago [-]
[dead]
antoinegirard 1 days ago [-]
A full 748B model running unmodified on a single 4090 is a genuinely impressive result
cjbprime 1 days ago [-]
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.
xlayn 1 days ago [-]
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.
walrus01 1 days ago [-]
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.
Azantys 1 days ago [-]
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.
teaearlgraycold 1 days ago [-]
Pretty sure an M5 Ultra is the best option for someone trying to run models like this.
antonvs 1 days ago [-]
[dead]
jubilanti 1 days ago [-]
Yet another boring system RAM caching project for those with 512GB to spare. Yawn.
Rendered at 01:36:26 GMT+0000 (Coordinated Universal Time) with Vercel.
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...
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
This looks like a weird choice to me, unless you're only targeting single-stream decode (which is wildly inefficient in the aggregate)? SSD throughput is your bottleneck most of the time, so loading possibly wrong experts is not something you'd want to do. If you have free throughput available, you should probably split your workload into μbatches and overlap fetching and routing across separate μbatches.
That is exactly what I'm targeting.
will disabling ASPM and better cooling address this issue?
If you limit the states your disk is allowed to switch with nvme command, you can trim this latency quite a bit, while keeping some of the power management in place, if you prefer.
The EPYC 9534 in the article support 12-channel DDR5. That's around 450GB/sec bandwidth. Less in practice, but still a lot.
That's about 30X faster than the fastest PCIe 5.0 SSDs you can buy. Interestingly, you could theoretically put 30 of them on to the PCIe bus of that CPU if everything worked out on the platform. $7000 of SSDs and enough adapters to make it all work, with a lot hope that the BIOS doesn't get in your way and no weird driver problems appear. Would be fun to see someone try this. I doubt you can actually saturate all 128 PCIe lanes of bandwidth, but it would have some impressive numbers.
For experimenting with one SSD, you can find a lot of projects that do a multi-tier split of experts across VRAM, RAM, and SSD, or SSD and unified memory. With quantized models and some intelligent expert selection strategies the speed can be almost reasonable, but the more they access the SSD the slower it gets.
Since you'd obviously be wildly overprovisioning SSD raw capacity in that scenario, you could leverage further gains by offloading sparsely accessed KV-cache layers to the SSD, and reusing that RAM as fast cache. This isn't generally done because SSD wear and tear is a concern, but KV cache in plain old transformer models is a bulk append-only workload which does not wear out the SSD too much (minimizes write amplification). More recent fixed-size attention is different though, that gets overwritten in place and is suited to RAM.
Whats tps with concurrency=4 (not sure what medium sized team is). I dont think this rig could pay for itself in any reasonable amount of time. But I concur there are other benefits outside just cost per token.
I'm only getting 40 Tok/s decode
very interested in trying their inference engine
Curious what quant and prompt mix you're getting 40 tok/s on with Project Maya
exl3 3.5bpw quant, full native context (268k?)
(It's fine, of course, to use AI tools—we use them ourselves. Just please don't use them to generate or edit text to be read by fellow humans on Hacker News.)
It's impossible to know for sure what was LLM-processed, but we have to rely on imperfect classifiers, or HN would be flooded by genai text, which is not what the community here wants to read, nor in the intended spirit of the site.
how do you live without an arm and a leg now?
I don't think we are close to the ceiling on the demand for "chips which allow you to run a spare personal assistant / junior employee".
#richGeeksJoke
Running in my homelab.
Not sure about the 6tb vram, that might require more than one machine.
I believe the equivalent generation of same xeon cpu 3U/4U size machines from other manufacturers also maxed out at 48 * 128GB, in the times before DDR5 server RAM and CPUs that use it became a thing.
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?
It will be in about 20 years lol
Just simply enter "why do not more ram makers enter the market" into google, read the AI summary, check the references it provides. There is no mystery and it's very easy to find things out.
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.
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.
“Order today, delivers: Jan 5 – Jan 13 — Free”
Not exactly right now.
LMStudio with full offload to GPU. 120k~ context.
I know nVidia is better suited than AMD but 10x the difference?
Personally I would recommend switching to unsloth and let it fit the context, it will max out out the card and its just a better app overall.
there's a longstanding "feature" of llama.cpp where if you use KV cache quantisation other than BF16, Q8 or Q4 for both keys and values, it silently uses a slow path on the CPU.
Llama.cpp project doesn't include optimizations for various mixed KV cache quant types in their released binaries, therefore each user of e.g. Q5,Q4 KV cache quant has to recompile the project with the appropriate flags for each local update.
I think your main issue might be ram; you need closer to 160gb if I am correct.
If you want to see it "run well" just once to confirm use Unsloth Desktop instead of LM Studio, whatever affinity I have for LM Studio, Unsloth is a lot better at finding the right settings for your computer.
Then once you got it just copy its settings into lm studio (kv cache, quants, etc ...)
[1] Xolotl:
https://github.com/Indras-Mirror/Xolotl
[2]Xolotl: Four Frontier Models on One Gaming PC:
https://indrasmirror.au/blog-xolotl-frontier-models-one-gami...
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.
512gb DDR5 ECC + 5090 setup was about $7k 2years back, but these days doesn’t make sense
Adding another 7900XTX bumped prefill apparently.
https://github.com/mw00/project-maya/pull/1468
EDIT: add link
...which, upon checking, appears to have made it into the master list of /lmg/ builds: https://rentry.org/lmg-build-guides
(This is a genuine question, as I'm not familiar with this field.)
While you technically use the model expect seconds per token levels of experience.
It got me ~3 tokens per second. Nice party trick, but nothing usable.
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.
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.
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.
Damn that GPU sounds cool though, thanks for the tip.
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
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 748B model "tolerates" well lobotomy and trepanation.