this post was submitted on 25 Apr 2026
370 points (98.2% liked)

Technology

84143 readers
2451 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] brucethemoose@lemmy.world 6 points 1 day ago* (last edited 1 day ago) (2 children)

Just not power/cost efficiently on CPU only, is what I meant. CPUs don’t have the compute for batching (running generation requests in parallel). You need an accelerator, like Huawei’s, to be economical.

It’s fine for local inference, of course.

[–] ag10n@lemmy.world 2 points 1 day ago (1 children)

A whole ecosystem that can run on any hardware, efficiently or not, is a whole ecosystem developed for the Chinese market

[–] brucethemoose@lemmy.world 1 points 11 hours ago* (last edited 11 hours ago) (1 children)

…I mean, yeah? It’s obviously developed for the Chinese market.

But that’s theoretical, for now. No CPU backend I can find supports DSV4, and DeepSeek hasn’t contributed anything yet.

[–] KingRandomGuy@lemmy.world 2 points 3 hours ago (1 children)

Yeah, I'd expect KTransformers to add support eventually, especially considering their existing support for previous DeepSeek models. One of the tricky parts is that backends need both FP8 and MXFP4 support. As far as I'm aware no inference engine supports both on CPU at the moment (llama.cpp added fp4 support recently, but doesn't have fp8, while kt-kernel doesn't support fp4 yet).

[–] brucethemoose@lemmy.world 2 points 2 hours ago* (last edited 2 hours ago) (1 children)

Not to speak of the new attention scheme and the (IIRC) MLP changes.

I’m very much looking forward to ik_llama.cpp implementing it. I don’t think I can quite fit Flash on my rig (hence no Ktransformers for me) but a little quantization of the sparse layers, and it’d be perfect.

[–] KingRandomGuy@lemmy.world 1 points 1 hour ago (1 children)

Makes sense, even Flash is fairly sizable! KTransformers also has a "llamafile" backend which uses GGUFs, but ik_llama will almost certainly perform better if you're not on a NUMA setup. In my case, I'm using a dual socket motherboard, so KTransformers performs quite a bit better (I think ik_llama hasn't implemented extensive NUMA optimizations quite yet, but sounds like it's coming), though I normally use KTransformers for native FP8 weights.

[–] brucethemoose@lemmy.world 1 points 24 minutes ago

It is! 143GB last I checked. I'm on 128GB RAM + 3090, 1 NUMA node, so I think it's juuust barely too tight. But it should be perfect with a few of the "sparsest" MoEs quantized.

If KTransformers supports something like that, I may have to finally check it out, since v4 won't need many esoteric features.

[–] gens@programming.dev 1 points 1 day ago* (last edited 1 day ago) (1 children)

LLMs are limited by memory bandwidth much more then calculating power. You need HBM. Dedicated accelerators only lower power usage.

[–] brucethemoose@lemmy.world 1 points 4 hours ago* (last edited 4 hours ago)

This is commonly cited, but not strictly true.

Prompt processing is completely compute limited. And at high batch sizes, where the weights are read once for many tokens generated in parallel, token generation is also quite compute limited. Obviously you want enough bandwidth to match the compute, but its very compute heavy.

You can see this for yourself. Try ~10 prompts in parallel on a CPU in llama.cpp, and it will slow to a crawl, while a GPU with a narrow bus won't slow down much.

Training is a bit more complicated, but that's not doable on CPUs anyway.

Now, local inference (aka a batch size of 1), past prompt processing, is heavily bandwidth limited. This is why hybrid inference works alright on CPUs. But this doesn't really apply to servers, which process many users in parallel with each "pass".