r/LocalLLaMA • • 12h ago

Discussion If SSD becomes an alternative to DRAM that would break the ramapocalypse

0 Upvotes

Kioxia and NVIDIA tested 144 SSDs on a GB200 NVL72 system, expanding effective memory capacity beyond 1 petabyte.

NVIDIA’s SCADA software enables GPUs to access SSD-based data when workloads exceed onboard HBM capacity.

While SSDs cannot match HBM bandwidth or latency, this architecture could improve memory scalability and reduce workload fragmentation.

Could SSD-based memory expansion become a standard feature of next-generation AI infrastructure?

https://x.com/MojoTricks/status/2125909329501093978

https://x.com/dnystedt/status/2125536313889931334


r/LocalLLaMA • • 7h ago

Showcase Testing whether abliterated models not only allow everything, but "everything" could also include false info such as conspiracy theories. These are a mix of locally-run models on a mac mini, models run on GPU instances in AWS, and SaaS exposed to a standardised test matrix.

Thumbnail
machinebehavior.io
1 Upvotes

The report includes all the different included tests, sizes, results, and makes for a good comparison.

Heretic Qwen 9B was pretty solid, as was Qwen3.8 27B, huihui. Scaling to 122B didn't make much of a difference in these specific studies.


r/LocalLLaMA • • 6h ago

Showcase Beating AI detectors: It's harder than you'd think but I tried anyways

Thumbnail
unslop.run
0 Upvotes

I compared several rewriting prompts and my own Gemma 4 26 A4B LoRA based workflow on a validation set of 100+ text passages.

TLDR/Spoiler: 1. Asking the model to "sound more human" or "avoid detection" is counterproductive. Detector scores sometimes even rise with these prompts. 2. A quick and easy way to avoid detection is to ask the model to imitate well known researchers, specifically Charles Darwin worked best. 3. If you want to be as close to human writing as possible you should use a fine tuned model.

The Article includes plots of all results and a downloadable .csv of all rewrites/outputs and results so you can validate everything yourself.

Disclosure: I'm currently building Unslop and there is obviously a "conflict of interest" here so I won't sell you my model as the best ever. I urge you to be skeptical. I'd be very thankful for feedback in either direction so don't be afraid to voice your opinion in the comments here. If you don't trust the model at least you can use the Darwin prompt with a model you're already working with :)


r/LocalLLaMA • • 7h ago

Resources vLLM in Rust?? RustingStrata is now also a serving engine: 64 users on one 12 GB RTX 3060

3 Upvotes

RustingStrata is my Rust GGUF engine. Until now it was for one user. serve --parallel N now runs the requests of many users as one batch on the GPU, so the same binary works for one person on a laptop and for a small team on one server.

So this is first Strata that can be used for single inference and big inferences

To be clear: it is not better than vLLM. vLLM has years of work in it, multi-GPU, prefix caching and much more. I am working on closing the gap.

Equal test: both servers load the same file, Qwen3-4B-Instruct-2507-Q4_K_M.gguf, on the same RTX 3060 12 GB, same day, same load script (N streamed chats at once, 128 reply tokens each, greedy, 4k context). vLLM 0.33.0 reads GGUF through the official vllm-gguf-plugin. Total decode tok/s:

ClientsRustingStrata (CUDA)vLLM 0.33 + GGUF plugin
191.084.3
4231.7154.9
16734.1268.0
641694-1699283.4-283.6

GGUF is not vLLM's fast path, so I also ran both on the original bf16 weights (vLLM reads the HF safetensors, RustingStrata a BF16 GGUF made from the same files). Same card, same script, total decode tok/s:

ClientsRustingStrata BF16vLLM 0.33 bf16
138.336.5
4140.2139.1
16527.0525.8
641490-14911470-1473

On its own format vLLM is very good, and here the two are level. Vulkan works too in RustingStrata (824-960 tok/s at 64 clients on Q4_K_M), useful for AMD and Intel cards.

Each slot's KV cache starts at 512 tokens and grows when a request needs more, so all 64 slots fit at the default context.

Where RustingStrata goes from here: MoE models with a lot of RAM and little VRAM. Most companies that want a private, local model do not have an H100, but a server with 128 GB of RAM and one consumer card is cheap. RustingStrata keeps the most used experts on the card and runs the rest on the CPU.

Qwen3.6-35B-A3B UD-Q5_K_M, a 27 GB file on the same 12 GB card, 64 parallel slots (vLLM not run here, the model does not fit in VRAM):

ClientsRustingStrata
155.1
4106.4
1685.0
64106.7

For the MoE the total stops growing after 4 clients, because the expert work is not batched across requests yet. That is the next thing I am working on.

Speed at bigger context (one client, prefill / decode tok/s): Qwen3-4B 2125 / 87.9 at 0.5k, 1529 / 52.9 at 16k, 1123 / 37.1 at 32k. Qwen3.6-35B-A3B 1797 / 66.2 at 16k, 1647 / 61.7 at 32k.

rustingstrata serve --gpu --model Qwen3-4B-Instruct-2507-Q4_K_M.gguf --parallel 64
python3 tools/loadtest.py --url http://127.0.0.1:8080 --clients 1,4,16,64 --max-tokens 128

vllm serve Qwen3-4B-Instruct-2507-Q4_K_M.gguf --tokenizer <Qwen3-4B-Instruct-2507 tokenizer dir> --hf-config-path <same dir> --max-model-len 4096 --gpu-memory-utilization 0.88

BF16: rustingstrata serve --gpu --model Qwen3-4B-Instruct-2507-BF16.gguf --parallel 64 against vllm serve <HF Qwen3-4B-Instruct-2507 dir> --max-model-len 4096 --gpu-memory-utilization 0.88.

The batched path is on the vllm2 branch for now.

Do you think this make sense? Do I need to continue trying to catch up with vLLM and maybe make RustingStrata like vLLM but for a lot of RAM and low VRAM amount? I would be happy to hear some thoughts, ty all!

Repo: RustingStrata


r/LocalLLaMA • • 1h ago

Discussion LLM hardware endgame ?

0 Upvotes

I think it is becoming apparent day after another how LLMs are about hardware saturation

I mean for an example I have a Strix Halo it has around 250GB/s memory speed and 128 GB

Given that architecture the best model would be a MoE 120B with 6B active parameters count

The new architectural evolution I would say is maybe compression (for my memory speed constrained hardware)

And looped models (Inkling 2 Mini is super amazing and we also have the recent GLM 5.4 release!)

As for Chinese models they caught up via aggressive distillation and thinking traces (which are now not available) and big players built a moat again (they depend on that gap as it seems which unfortunately increased was more user and feedback for further post-training and GPRO!)

The point is given any hardware (amount of unified or VRAM) and the memory speed
You can get the best model architecture

And cluster that for a training run (on your data public data exists but performance fine tuning and agentic traces not so much, you can synthesize ofc from environments harness and multiple training runs with sth that checks if the final reward was reached!)

And that is about it

I have been using Qwen Flash Next on Strata and it was amazing and I don’t think anything can beat it in that hardware (that is the ceiling I guess?)

But then Inkling 2 mini is really interesting (I think looping is like evolution but these models are all evolutionary even the harness setup and training I mentioned above anyways)
Looping prefers logic templates and maybe thinking templates more than knowledge inside the transformer (that is the only way applying the same layers would work!) and it is very smart tbh (and actually you can observe the model has less knowledge but is more capable especially during thinking!)

Anyways the point is it is about the hardware now

And even that is hitting limits
Training is in NVFP4 now to make use of these clusters
And nVidia didn’t squeeze much with Blackwell (even their own presentation was about 4-bit performance) you can’t go below that

And they already bought Groq and Taalas so there is no alternative hardware (except for idk analog but I think noise will be a ceiling that the whole thing won’t be as useful!)

And even thinking traces (CoT training literally!) and tool call training and so on will hit a ceiling sooner or later if not already

Along with anthropic IPO and then being cash flow positive only this year and I think this is it
This is the endgame (it actually have been squeezed since o3 and thinking models)

I think there is still space for video generation and 3D especially the interplay between that and programming based video and 3D generation (with LLMs ofc!) (which can be used in a loop too for training as well!)

And we are mostly done

It would become a Max-Q of economics
And what kind of model you need and what hardware can run that and whether the cost is justifiable for your application + the declining cost of R&D (declining over model life time I mean!)

The point is I am grateful and AI have changed the world
But thinking this is it ? We are done is my question ?

Is that right ?
Even the recent Riemann hypothesis it is great it was proven
But you left a text generator street fighting a lean evaluator in mathematics in the hopes of the generating the least size of lean code that proves the Riemann hypothesis?! (By brute-force basically ?!)
(Also this is the same as Let’s verify step by step And a 3-4 years ago Google Alpha Code 1 or 2 ?, the same idea but with compute hardware and scale and money to spare ?!)

That is not mathematics and certainly not intelligence
It is awesome but not what would have been if we have a human actually understanding what it is and the implications (not to mention a human released his not so refined version so far ?!) (and did he every discuss that with any AI and then that data was used for training later ?!)

So idk maybe

But it is alpha fold all over again (it can predict all proteins that we know but for drugs design and when you make even one or two amino acid mutations it becomes useless and that is why it doesn’t work for RNA folding because we don’t know enough like 200,000 proteins for machine learning training ?!

So it didn’t solve protein folding ?!

Just like Alpha Go didn’t solve go (in fact it is vulnerable to adversarial attacks that a child won’t make those mistakes but the games are so out of sample

And it needs millions of games before learning the ladder pattern which humans learn fundamentally

Again it is awesome but if that was a human playing Go or Chess or folding Proteins we would have unlocked much more knowledge

But now it is a black box generating black information

Again useful but not what we mean by AGI I guess ?!

Humans in chess still look at a couple of positions only ?

So based on that I am thinking it is the point where we all realize a technology (Gartner Hype Cycle) and it becomes part of our everyday lives after revolutionizing those lives ?

And we are very close if not already inside that point IMO ?

(Unless AI finds a way for NP=P, I think it won’t it probably is NP!=P but we will see, and that isn’t just ASI or RSI
That is Deus Ex (computation oracle for tons of things!))

So yeah let us see I guess ?
Very interesting times (imagine any of the past mathematicians like Gauss or Euler or Euclid or whomever
That we now have an LLM and a Lean and an Agent to do mathematics or any physicist ?
What is happening here ?!


r/LocalLLaMA • • 15h ago

Funny That says it all, really.

Post image
0 Upvotes

Just updated!


r/LocalLLaMA • • 12h ago

Discussion Do you think Cloud models will turnover Customer info to Rockstar / Take Two? (Importance of local Ai)

7 Upvotes

As we all probably know by now, Grand Theft Auto 6 is being ripped open right now through AI assisted coding ( a PS5 version just got dumped too)

Among all the viral posts I've seen a few screenshots of people sharing the prompts /conversation log that people are telling Claude to help push the stability of the PC recompilations further..

I just don't see how this isn't an OPSEC nightmare?

I completely understand it's legal to make a recompilation project. but I also know that Rockstar could make the argument that there was no jail breaks possible At the timeline these people were using AI models to modify their copyrighted material... And I mean even if we play devil's advocate and just say that everybody had some super-secret jailbreak That was never posted online, lot's of these people have probably publicly admitted to using the leaked copy anyway

I just wonder are these people putting themselves at risk? Or is there something I'm unaware of. Anthropic already tried to tighten the guardrails around Reverse engineering other games, and anthropic has already collaborated with the authorities even proactively based off their customers sessions.

I just see this as another reason why local AI is so important and don't get me wrong. I know nobody was going to be re-comp'ing GTA 6 off of like some 27B model but we do have giant capable open source models too, And most of these token maxxers are spending thousands of dollars anyway. So they might as well just invest into some local hardware for the added security.


r/LocalLLaMA • • 7h ago

Question | Help Sharing one Engram RAM server across several 4× RTX PRO 6000 nodes (DeepSeek-V4.1-Flash on Flare) over RoCE: sanity check before we build it

Thumbnail
reddit.com
0 Upvotes

Big thanks to Local Inference Lab for the gb202 release. 59k tok/s cold prefill on four RTX PRO 6000 PCIe cards is wild.

The catch for us: that number is with --embedding-table-storage ram, which needs ≥320 GiB host RAM for the 188.8 GiB Engram tables. Our GPU nodes have 256 GB each, so we are stuck on disk mode.

Our plan: put the tables once into a dedicated memory server and serve the rows to every GPU node over RDMA, instead of adding RAM to each node.

Setup:

  • GPU nodes (2 now, 4 planned): ASUS ESC4000A-E12, EPYC 9115, 256 GB DDR5, 4× RTX PRO 6000 Server Edition, ConnectX-7
  • Memory node: Supermicro H12SSL-i, EPYC 7302P, 256 GB DDR4 (8×32 GB, all channels populated), ConnectX-7
  • Switch: MikroTik CRS804-4DDQ, 200G per node via breakout

It's work in progress, so no numbers yet. Questions for people who know Flare's internals or have run something similar:

  1. Has anyone measured prefill with disk vs ram Engram storage on gb202? The README only compares decode.
  2. How many Engram bytes per token does prefill actually pull? The latest release hides Engram AllGathers inside the FFN compute window. Will a remote fetch over 200G RoCE fit in that window, or do we need a local hot-row cache?
  3. Has anyone shared one read-only table store across several TP4 nodes? Any traps with contention when all nodes prefill at once?

We'll post results either way.


r/LocalLLaMA • • 16h ago

New Model Sber, Russia's largest bank, has released GigaChat 4, both 708B-A41B and 37B-A4B.

327 Upvotes

Sber (via its AI-Sage team) has released GigaChat 4, a new family of open-weight Mixture-of-Experts models. Sber says they are comparable to leading Chinese models.

The two models

GigaChat4-708B-A41BGigaChat4-37B-A4B
Total / active params708B / 41B
Layers / hidden size64 / 7,168
Routed experts (active)256 (8) + 1 shared
Context window~1M tokens
LicenseMIT

Architecture

  • A hybrid design combining Gated DeltaNet (linear attention) with DeepSeek Sparse Attention, in a 3:1 ratio. Sparse attention picks 2,048 earlier tokens per query.
  • Instant and reasoning modes now live in a single model and are switched per request. GigaChat 3.5 used separate checkpoints.
  • Speculative decoding is supported through a recurrent MTP drafter or a separate DFlash2 drafter.
  • Training used Muon, progressive residual warm-up, and multi-teacher on-policy distillation after RL.
  • It works with SGLang and vLLM, and the weights are available in FP8, BF16, GGUF and base variants.

Benchmarks (self-reported, reasoning mode)

  • 708B vs. Chinese models: SWE-bench Verified 80.9 (Qwen 3.5 397B: 73.0, DeepSeek V4 Flash: 81.8) and LiveCodeBench v6 88.8 (Qwen: 86.6). It trails on harder science and knowledge tests: GPQA Diamond 82.8 vs. 91.0 for DeepSeek V4 Flash, and HLE 23.9 vs. 43.4 for DeepSeek 4.1.
  • 37B vs. Qwen3.5/3.6-35B-A3B: LiveCodeBench v6 85.0 (Qwen: 65–69) and SWE-bench Verified 70.8 (Qwen: 60.6–67.8). It trails on GPQA Diamond (70 vs. 80–85) and on Terminal-Bench 2.0 against Qwen3.6 (38.2 vs. 48.3).

Takeaway: The claim of parity holds up best for coding and agentic tasks. It is weaker on hard reasoning and knowledge benchmarks. All numbers come from Sber's own model cards, so independent evaluations are still worth waiting for.Translation:

Disclaimer: This text was written with AI, but the data comes from their Hugging Face cards. I did this because my English writing isn't very good, but I double-checked the information, so it should be fine.

---------

Someone posted a link to their technical report in the comments. Thank you!


r/LocalLLaMA • • 15h ago

Discussion Another Inkling2, but about why the answer you get depends on your engine, your batch, and whether it gets stuck thinking - Tested through llama, runner and unsloths variant

0 Upvotes

I just finished adopting Inkling2-Mini unto runner and decided to do some tests just to check out how well the model performed and how well it held up.

Now I don’t truly have experience with Llama.cpp or the unsloth variants, I just pulled them from reading about them being used so I might now have full knowledge of all their knobs and whistles.

These tests were don’t just after the admission of the model and I haven’t done any speed-up improvements and or further testing than this so take it for what it is.

I develop Xyntetik-Runner on my spare-time so this isn’t a competition in any way I can win in the long-run and I don’t intend to, but for what its worth I’ve also validated the LoRA parts of runner so that’s also working if you intend to fine-tune the model yourself.

My purpose here is rather just to share results if there is any interest for it (and yes, i had Claude tidy up the graphics).

With the disclaimer out of the way. Here we go:

First Up:  

This is my normal comparison, i tend to try and get as close to the parents intention as possible
Batching form concurrent agent sessions is my 2nd standard test

 

This is where most of you look i think "SPEED!", runner is behind but there's no real optimization done yet.
CPU proved to be the more reliable to test most of it, had some issues with my lab's availability and CUDA, I'll get around to the CUDA parts once i have the lab up and running again.
Some while back with Qwen3.8 i noticed alot of thinking loops, hence why loop guard was added back then, this is just another test on just that.
Last but not least, the scorecacrd for all tests performed if you want an overview

So that's it folks, what this means in real-life tests i dont know yet since i havent done any actual workloads on it, just the synthetic test as shown here.

Link to runner if you want to test further:

https://github.com/Joakimpalm-Zen/xyntetik-runner

Records:

https://github.com/Joakimpalm-Zen/xyntetik-runner/tree/main/docs/inkling2-claims-evidence


r/LocalLLaMA • • 17h ago

Showcase Lum - Web UI for deploying hrx-loom models

Post image
2 Upvotes

So, for anyone else that have an AMD iGPU like the Strix Halo for local AI, I am not sure if you saw or tested hrx-loom yet: https://loom-fun.dev/

It's great, the performance I am getting with it is amazing on my Strix Halo.

So, I decided to put a quick web-ui (nothing fancy or incredible) that can deploy loom models on-demand, like how Lemonade Server does.

On Lemonade ROCm-LlamaCpp I get an average of 85 t/s for Qwen3.6-35B-A3B, same model (loom version) on hrx-loom over my UI gives me about 112 t/s

Again, this is something I put together yesterday for a local experiment, feel free to criticize, collaborate or use it.

https://github.com/dougmaitelli/lum (Better names welcomed)


r/LocalLLaMA • • 14h ago Heartwarming

Resources Reuters confirms: Cutting off distillation and compute works and slows down Chinese Models massively

Thumbnail reuters.com
630 Upvotes

r/LocalLLaMA • • 12h ago

Question | Help 80 t/s, QFN Q4, RTX 3090 on ancient hardware. Should I stop optimizing ?

Post image
8 Upvotes

For my vibecoding, I just love my current setup: Opus 5.5 architecting & checking, while QFN does the excellent implementing at 80 tok/s.

But is 80 tps really my software + firmware limit, before I have to buy more 3090, v100, p100, Mi100, cmp170hx ? Here is the result I've been trying the last few days:

=========== FOLLOWING IS AI WRITING =======================

**Title:**
 One RTX 3090 + old Xeon, 6 local engines compared: Strata (125B MoE, Q4 vs Q5), ninfer, HyperQwen, HyperInkling, llama.cpp. What would you try next?


I've spent the last few weeks testing every engine I could get running on one box. These are my own measurements,
taken with the same scripts on the same machine. Hints welcome, especially for the 125B MoE on old DDR4.


**Hardware**
- Dell Precision T5810 (2016 workstation): Xeon E5-2699 v4 (22 cores, Broadwell), 128 GB DDR4-2400 ECC (4 channels, ~77 GB/s)
- RTX 3090 24 GB on PCIe 3.0 x16, no Resizable BAR. 370 W limit (card default), with its own 1400 W server PSU for the 8-pins
- gpu-unlock 2.0.0 active (helps FP16 prefill on the vLLM engines; decode unchanged)
- Ubuntu, one model at a time on port 8080


**Main table: see above**
 (latest numbers: 370 W, gpu-unlock, unless marked)

¹ at 300 W. ² code at 300 W with a clock lock (2026-11-19); prose at 370 W. ³ systematic bug: drops a `]` in arguments
that are arrays of objects (about half the runs); flat schemas are fine. ⁴ DFlash2 in Strata serves one request at a time.


**Quality (small tests, not benchmarks)**
- Writing (seller replies in Dutch and English, 10 prompts each, partly blind): llama.cpp Q5 ≈ Strata ≈ HyperQwen > Inkling.
  Inkling keeps the rules but its Dutch is weaker. The 4-bit HyperQwen showed no measurable loss against Q5.
- Coding (8 small Python tasks with unit tests): Strata 8/8 first try (~10 min). Inkling 7/8, 8/8 after one fix (~1.5 min!).
  Both 27B dense models with thinking on: 5/8, where the 3 failures were 
**no code at all**
: they ran out of tokens while thinking.
- Strata Q4 vs Q5: Strata's own docs say top token matches Q8_0 93.1% (Q4) vs 94.6% (Q5). Not checked on my tasks yet.


**Q4 vs Q5 in Strata (same session, same settings, 3 runs each)**
- Decode 79.5 vs 67.3 tok/s (+18%). Prefill 8K +29%, 30K +5%. RAM used after load: 84 vs 104 GB.
- I think the Xeon's RAM bandwidth sets the speed: most experts run from RAM, so smaller experts = less traffic and more fit in VRAM.


**Things that surprised me**
- Software beat hardware: ninfer and HyperQwen gave 2–2.5x llama.cpp's speed on the same 27B and GPU, for €0.
- gpu-unlock: +49% prefill and +25–29% multi-request decode on HyperQwen; nothing on llama.cpp (int8 paths).
- The Strata 0.1.60 → 0.1.69 engine update gave no real decode gain here (+6% right after a start, same once warm).
- A newer Blackwell-only fork (Basalt) won't run on a 3090 (needs sm_120 / NVFP4).


**How I measured**
- Decode: temperature 0, ignore_eos, 512 tokens per request, N streams started together, one warm-up.
  Total = all tokens / wall time.
- Prefill: filler text with a random nonce (no prefix cache), max_tokens 1, 2 runs, prompt tokens / time.
- Tools: 10 multi-turn tasks against mock tools that really run (chaining, parallel calls, error recovery, nested args).
- Caveat: rows come from 2026-11-19 to 2026-11-26. Power limit and prompts are the same except where marked.


**Where I'd like hints**
1. 
**125B MoE with experts in 4-channel DDR4:**
 anything beyond Strata's tuning (`--pcie-frac`, expert cache, adaptive swaps)
   worth trying? Is ~80 tok/s near the limit of ~77 GB/s RAM?
2. 
**Long context on the 27B:**
 HyperQwen at 150K (MTP) or 240K (4/2-bit KV) vs Strata 256K. Which do you trust for
   200K+ prompts, and how do you test recall?
3. 
**Thinking models in agent loops:**
 the 27B overthinks small coding tasks. Do you cap thinking, turn it off, or use a no-think template per task?
4. Anything else for a PCIe 3.0, no-ReBAR, single-3090 box that I'm missing?

r/LocalLLaMA • • 19h ago

Showcase Adding a 16GB RTX 5060 Ti to my RTX PRO 5000 in Basalt gave me 11–32% faster chat

8 Upvotes

I tested my RTX PRO 5000 Blackwell with and without a 16GB RTX 5060 Ti as a Basalt expert peer. Chat generation gained 31.9% on Hy4 Flash, 19.6% on DeepSeek V4.1 Flash IQ2, and 11.0% on Qwen3.8 Flash-Next.

Setup

  • RTX PRO 5000 Blackwell 48GB at a 300W limit, PCIe 4.0 ×16
  • RTX 5060 Ti 16GB at a 180W limit, PCIe 4.0 ×8
  • Threadripper PRO 5955WX, 256GB eight-channel DDR4-3200, Samsung 9100 PRO SSD
  • Ubuntu, NVIDIA driver 580.178.04, Basalt 0.5.7
  • CUDA reported direct GPU-to-GPU access unavailable in both directions

Single stream, stock Basalt fixtures, three trials per configuration, a 98,304-token context cap, and default speculative decoding. Each pair used the same model pack and settings apart from GPU selection. The table highlights gains of at least 10% in median throughput where every dual-GPU trial beat every single-GPU trial. Rates are median tokens/s.

ModelWorkloadPRO 5000 only+ 5060 TiGain
DeepSeek V4.1 Flash 1017 UD-IQ2_XXSChat68.982.4+19.6%
DeepSeekProse65.378.1+19.6%
DeepSeekStructured output144.7186.3+28.8%
DeepSeek16K prefill1,538.51,728.7+12.4%
Qwen3.8 Flash-Next NVFP4-DQ6_KChat247.1274.3+11.0%
Qwen Flash-Next64K prefill2,674.03,110.6+16.3%
Tencent Hy4 Flash NVFP4Chat88.3116.5+31.9%
Hy4 FlashProse83.199.8+20.1%
Hy4 FlashStructured output164.5202.8+23.3%
Hy4 Flash64K prefill, 4,096-row chunks1,239.01,465.1+18.2%

What changed

  • DeepSeek: The 5060 Ti handled 20.5% of expert lookups. The CPU’s share fell from 8.5% to 4.0%, with zero expert spill to SSD in both runs. The structured fixture accepted roughly 99.9% of draft tokens, so the 186 tok/s figure is specific to that workload. Model pack
  • Qwen: The peer held 14.4 GiB of experts. Basalt logged about half as many expert exchanges between RAM and VRAM. At 64K, median time to first token fell from 24.94 s to 21.46 s. Model pack
  • Hy4: The peer handled 24.2% of expert lookups, and CPU share fell from 7.0% to 2.8%. The default single-GPU 64K fixture hit a CUDA memory-access fault twice. With --diag-rows 4096 on both configurations, all six 64K trials passed and median time to first token fell from 45.65 s to 38.60 s. The generation runs used default chunking. Model pack

Reproduce it

COMMON=(--model "$PACK" --kv fp8 --max-context 98304 \
  --vram-reserve-mib 4096 --seed 4242 -r 3 \
  -t conv,struct,prose -p 16k,64k -o json)

bin/basalt-bench "${COMMON[@]}" --gpu 0 --logs single
bin/basalt-bench "${COMMON[@]}" --gpu 0,1 --gpu-mode peer --logs peer

Set PACK to the matching model file and use separate log directories for each run. Use --kv int8 for Qwen. For Hy4’s matched generation and 16K tests, use -p 16k. For its separate 64K test, replace -t conv,struct,prose -p 16k,64k with --diag-rows 4096 -p 64k.

If you’ve tested a 16GB peer alongside a 48GB Blackwell card, I’d be interested in which models gained the most on your setup.


r/LocalLLaMA • • 6h ago

Discussion Hoping "the AI bubble pops" so you can have a cheaper GPU is irrational short term thinking

0 Upvotes

If there were an AI bubble and it popped, companies would likely no longer invest millions to create models we have any chance of running locally. These models are just hype vehicles for the most part. It's appalling to see this particular crowd, half of whom are Zeitgeist movie socialists, practically praying for the implosion of the data center market. When the type I Kardashev scifi future civilization requires a sacrifice on par with expensive hardware for a while, it's "NO, WAIFU NOW".

Ultimately I don't care about GPUs or agents. I want to live forever in a spaceship. Laugh, but there is a non-zero chance this becomes reality. The kind of intelligence that changes the human condition to this degree in a single lifetime is not going to come from a garage, or even from a million disorganized contributors. It requires massive institutions running profitable data centers.

Thankfully, there is no AI bubble. It's an anti-bubble. There is infinite demand and simultaneously a market that refuses to accept the demand is real. If you are anti-compute market, you are anti-AI. This attitude is impacting equities and even has a small chance of halting the singularity through legislation and other social hazards. We should be the salesmen of AI and data centers, expressing the as yet unseen benefits of infinite intelligence to civilians. We should not be celebrating five minutes after there's a minor drop in GPU pricing, creating post after post drooling over slightly discounted hardware in two years. Wait for the second marshmallow.


r/LocalLLaMA • • 3h ago

Resources [Resources] FLYX: 1M context on a 16GB GPU + 32GB RAM, in a 57MB zero-dependency exe

Thumbnail
gallery
17 Upvotes

We're Enwove, a small startup working on model optimization. We just released FLYX v0.2.1, our first open-source project. It's a zero-dependency local LLM inference engine we wrote from scratch in C++/CUDA (Apache-2.0).

On a 16 GB RTX 5070 Ti with 32 GB of system RAM, FLYX decoded Qwen3.8-27B at 113.5 tok/s on a 256K-context coding prompt using the release binary on native Windows 11. On a separate short-context benchmark, an RTX 5090 hit 315.5 tok/s on mixed prompts and 565.5 tok/s on one coding prompt with DFlash2.

GitHub · Download v0.2.1 + SHA256SUMS · Benchmark commands and logs

Decode benchmarks

Each cell shows plain → speculative decode, in tok/s, for the same GPU, quant, and workload. All runs used greedy decoding. The four-GPU tables come from pre-release builds. Every GPU kernel is tested against a float64 reference.

Qwen3.8-27B + DFlash2
Mixed: 3 prompts × 128 output tokens. Code: 1 prompt × 128 output tokens.

GPUQuantMixedCode
RTX 5090 (32 GB)NVFP493.8 → 315.593.8 → 565.5
RTX 4090 (24 GB)UD-Q4_K_XL49.4 → 171.649.5 → 305.7
RTX 5070 Ti (16 GB, Win11)UD-IQ3_XXS68.8 → 154.468.8 → 332.8
RTX 3090 (24 GB)UD-Q4_K_XL42.8 → 131.242.8 → 234.1

Qwen's built-in MTP needs no separate drafter file for these GGUFs. On the mixed prompts, it reached 286.6 / 158.0 / 167.2 / 121.7 tok/s in the same GPU order. The 5090 also reached 15,496 tok/s prefill with NVFP4 W4A4 on a 5,791-token prompt.

Inkling-2-Mini + DSpark
Sparse MoE with 8 of 128 experts active, using UD-IQ3_XXS on all four GPUs. Chat: 8 prompts × 128 output tokens. Code: 8 prompts × 384 output tokens.

GPUChatCode
RTX 5090225.5 → 259.8228.5 → 438.9
RTX 4090166.7 → 202.9167.9 → 322.4
RTX 5070 Ti (Win11)150.9 → 169.3153.6 → 276.2
RTX 3090126.2 → 136.5126.9 → 222.0

Long context on consumer GPUs

When the KV cache outgrows VRAM, FLYX stores the overflow in system RAM. A 2-bit index helps attention select which pages to fetch back for exact reads.

  • Inkling-2-Mini runs its full 1M-token window on 16 GB VRAM + 32 GB RAM.
  • Qwen3.8-27B at 256K, generating 512 coding tokens with MTP: 164.5 tok/s on the 5090, 122.7 on the 4090, 113.5 on the 5070 Ti, and 68.1 on the 3090.
  • The needle-in-a-haystack sweep passed at every depth tested. The native Windows v0.2.1 rerun covered the 5070 Ti coding prompt and passed its 50%-depth needle check. It took about 5½ minutes to prefill the 260K-token prompt before decoding at 113.5 tok/s. Windows rerun log

What you get

  • One 57 MB Windows .exe**.** The CUDA and C++ runtimes are linked in, with native cubins for RTX 30/40/50 and no PTX JIT at startup. No CUDA Toolkit, Python, or Docker required. The release also includes a Linux tarball and Python wheels.
  • Built-in browser UI. Search and download Hugging Face GGUFs, chat with text and images, and see live tok/s and VRAM/RAM placement.
  • Automatic memory sizing. FLYX picks the context length, KV precision, and GPU/RAM placement based on available memory and tuning measurements across 11 NVIDIA GPUs.
  • Coding agent APIs. OpenAI Chat Completions and Responses, plus Anthropic Messages. The dashboard can launch Claude Code and Codex in one click.

r/LocalLLaMA • • 15h ago Regret

News 3 trillion params GLM-5.5 is delayed to 2027 Q1 or later due to US chip curbs and distillation crackdown

Thumbnail reuters.com
255 Upvotes

r/LocalLLaMA • • 2h ago

Discussion What's everyone's Inkling 2 Mini speed? Getting 1038t/s prefill 43t/s decode with 4070TiS

5 Upvotes

I don't know if there's something wrong with the upstream llama.cpp or just my setup, but I was only getting ~500t/s prefill and ~36t/s decode and it was even worse at higher context, less than ~200t/s prefill and ~28t/s decode and I couldn't do more than 256 ubatch since it'd take around 22GB VRAM in total.

ubatcheach tensortotal
2563.2 GB6.4 GB
5126.4 GB12.9 GB
102412.9 GB25.8 GB

I'm using:

  • Inkling-2-Mini-UD-Q3_K_XL from Unsloth mainline support
  • No draft model, no mmproj
  • Q8
  • RTX 4070 TiS 16 GB VRAM
  • R5 7600 + 32 GB RAM

I ended up doing some optimizations to get my speed up and I'm planning to make a PR if that's the case, but I'm not sure if I had misconfigured my base llama.cpp:

llama-server.exe --model "<model>" -ngl 99 -ot "blk\.([0-5]|1[89]|2[0-3])\.ffn_.*_exps=CPU" -t 6 -fa on -c 131072 -np 1 -ctk q8_0 -ctv q8_0 -lm none --host 127.0.0.1 --port 18080 --temp 1.0 --top-p 1.0 --top-k 0 --min-p 0.0 --moe-cache-mib 2000 --moe-cache-cpu-share 0.0 -b 1024 -ub 1024

No MoE cache and uses b256 and ub256 on master
configpp t/stg t/speak VRAM
mine, -ub 1024 -b 1024, MoE cache 2000 MiB980.6341.2213,846 MiB
mine, same, layers 0-3 on GPU (8 CPU layers), cache 1500 MiB1038.0943.1014,866 MiB
master, -ub 256 -b 256 (ub512 does not fit at 131k), no cache262.0628.2015,825 MiB
llama-bench.exe -m "<model>" -p 512 -n 64 -r 2 -ngl 99 -fa on -ctk q8_0 -ctv q8_0 -t 6 -ot "blk\.([0-5]|1[89]|2[0-3])\.ffn_.*_exps=CPU" -b 1024 -ub 1024 -d 0,16384,131072 -o csv
depthmine ub1024mine ub1024, layers 0-3 on GPUmaster ub256
0818.59 / 34.901014.24 / 38.83531.33 / 36.50
16384907.02 / 34.521030.72 / 39.12414.12 / 34.78
131072683.42 / 29.93751.91 / 33.4083.81 / 27.43

I also did server test with Q4_K_M with 131,072 context limit

configminemaster
-ub 1024 -b 1024907.75 pp / 35.62 tg, 14,186 MiBdid not run: 25.8 GB compute buffer, out of memory
-ub 256 -b 256514.67 pp / 37.43 tg, 13,616 MiB183.67 pp / 34.69 tg, 15,919 MiB

During actual use with Hermes Agent, it was even faster. At ~64k context used out of 131,072, I was hitting 1026t/s prefill and 40t/s decode.

226.26.768.225 I slot print_timing: id  0 | task 161404 | prompt eval time =   62451.19 ms / 63987 tokens (    0.98 ms per token,  1024.59 tokens per second)
226.26.768.230 I slot print_timing: id  0 | task 161404 |        eval time =   21357.13 ms /   863 tokens (   24.78 ms per token,    40.36 tokens per second)
226.26.768.230 I slot print_timing: id  0 | task 161404 |       total time =   83808.32 ms / 64850 tokens

I've read through some posts and I haven't found similar setups yet (either more RAM, better CPU, or uses different KV cache). I feel like I'm getting low baseline speed here.


r/LocalLLaMA • • 7h ago

Question | Help Why is Pi Agent the default harness recommendation and not OpenCode?

72 Upvotes

I came across harness leaderboard on Hugging Face https://huggingface.co/spaces/joelniklaus/harness-leaderboard .

I know on this sub and other similar subs Pi is often the default recommendation when doing local inference but I barely see anyone recommending opencode yet on leaderboards it seems to perform on average much better than other harnesses?

Is there something about opencode thats not reflected on the leaderboard like higher context bloat, difficulty in setting things up or something else?


r/LocalLLaMA • • 16h ago

Discussion Using cloud LLM providers is equivalent to RCE on your system

42 Upvotes

I know this probably isn't news to people in this sub, but the recent Minimax fiasco on openrouter [0] should be a wake-up call to anyone using cloud models.

The entity controlling the API has access to all tools of your harness. If this entity wants to do so, it can simply inject any tool call it wishes, installing crypto miners, exfiltrating data, scanning your local network, etc.

If you ask online, everyone is using their harness in containers or VMs, but if were honest, we all know people raw-dogging coding agents on their systems.

[0]: https://news.ycombinator.com/item?id=50585962


r/LocalLLaMA • • 21h ago

Resources Inkling 2 Mini GGUFs, various sizes for Mac GPU (vision included)

Post image
13 Upvotes

Hey all,

I guess you've tried the TML model Inkling 2 mini which is really good. We made GGUFs of it at various sizes / quant formats and are sharing them here:
https://huggingface.co/QUASAR-QAT/Inkling-2-Mini-GGUF

12 sizes in total, 7.8 GB to 27.8 GB (plus the vision projector).

Everything runs on the GPU even on a Mac

Part of the official model is stored in NVFP4 and llama.cpp can't run NVFP4 on a Mac GPU yet. So these fallback to CPU. Ours only use GGUF so everything stays on the GPU.

Performance / quality

  • At the same size and speed they have 8–56% lower KL divergence than bartowski's files (lower is better)
  • notably, the 7.8 GB file scores 96.9 on GSM8K, the same as Q8_0.
  • IQ4_XS (15.7 GB) matches Q8_0 within error bars on GSM8K, MMLU-Pro, IFEval, HumanEval+, MBPP+ and GPQA-Diamond.

By memory

  • 16 GB Mac or 12 GB GPU: Q2_K (9.1 GB)
  • 24 GB Mac or 16 GB GPU: Q3_K_M (13.6 GB)
  • 32 GB Mac or 20 GB GPU: Q4_K_M (16.6 GB)
  • 48 GB Mac or 32 GB GPU: Q8_0 (27.8 GB)

To run it

llama-server -hf QUASAR-QAT/Inkling-2-Mini-GGUF --jinja

That gets you Q4_K_M and to pick a different size add it to the end like :Q2_K.

LM Studio works too as long as its llama.cpp runtime is b12600 or plus.

Full tables are on the model card on HF. Hope you like it


r/LocalLLaMA • • 2h ago

Question | Help What do a high-end CPU and 8/12 memory channels buy you in a multi-GPU LLM server that justify the price?

4 Upvotes

I have two RTX PRO 6000 Max-Q cards and I’m planning a build that can take four.

I’m looking at 8-channel Threadripper Pro vs. 12-channel EPYC, and I’m trying to figure out how much I should care about CPU cores and RAM bandwidth once I have the PCIe lanes and RAM capacity I need.

I’ve been looking for benchmarks of large MoE models above DeepSeek size with some of the weights or experts offloaded to system RAM. I’ve found examples of people getting these models to run, but I haven’t found decode numbers that would make me pay for the bigger platform.

What am I missing? Is there an offload setup that still feels decent to use, or does the extra memory bandwidth pay off somewhere else? Such setup used for something else than inferencing?

Basically I’m trying to understand why all the AI builders on youtube use such high end cpus and 512gb of ram.

What’s worth high end Threadripper and such an amount of ram if the outcome is 20 tps? That alone can cost $20k+.

If you’ve tested anything close to this, or have useful insights I’d love to hear it.

Happy thanksgiving and soon Black Friday 😀


r/LocalLLaMA • • 8h ago

Resources Inkling 2 Mini running at 3136 tok/s Aggregate , 45–47 tok/s (Per User) and 1,233 pp/s on a single RTX 3060 12GB + 16GB RAM, using the original checkpoint. Betelgeuse v0.7.0.

Post image
63 Upvotes

I've been working on Betelgeuse, a custom inference engine for running MoE models on relatively low-end consumer hardware.

Over the past few days I've been working extensively on native Inkling 2 Mini support, originally based on baptisterajaut's work in Strata and subsequently integrated into Betelgeuse.

I think I've finally reached a point where it's worth releasing.

Hardware:

  • RTX 3060 12GB
  • Intel i5-12400
  • 16GB single-channel DDR4
  • Linux

The important part is that this uses the original NVFP4/MXFP8/BF16 checkpoint.

No additional weight quantisation. No expert skipping. No speculative decoding. All three recurrent passes are executed.

Results

All of these are real programming and reasoning tasks running through bel-server, generating 512 tokens each.

TaskGeneration speed
LRU cache + TTL44.51 tok/s
Directed cycle detection45.52 tok/s
Race conditions47.11 tok/s
Token-bucket rate limiter44.33 tok/s
Serializability reasoning45.27 tok/s
Median45.27 tok/s

With an actual 16,338-token source-review prompt:

  • Prefill: 1,232.8 tok/s
  • Generation: 42.03 tok/s
  • Prefill-to-decode transition: 203.4 ms

The prefill measurement is from a warm server but with an uncached prompt. All 16K tokens are processed again.

Cold prefill is around 819 tok/s, and the first request incurs approximately 11 seconds of one-time pinned expert arena preparation. Subsequent requests don't incur that full cost.

What i added :

Prefill uses its own temporary workspace and batched tensor-core computation. Once prefill finishes, the engine reclaims that workspace and uses it to expand expert residency for decode.

Other changes include native Ampere NVFP4/MXFP8 kernels, fused GQA, GPU-side greedy sampling, decayed-LFU eviction, staged PCIe transfers and context-aware expert placement.

Comparison with other implementations

Some of the community benchmarks I've been following:

Engine / configurationHardwareGeneration
Original Strata-style CPU expert execution, my earlier local testsRTX 3060 12GB~25–29 tok/s
Unsloth llama.cpp, 4-bit, RAM expertsRTX 3060 12GB~18 tok/s
Unsloth llama.cpp, 4-bit, RAM expertsRTX 5060 Ti 16GB~20 tok/s
Unsloth llama.cpp, dual GPUTwo GPUs~46–47 tok/s
Strata SQ-10, more aggressively compressed weightsRTX 3060 12GB~35 tok/s
Strata, approximately 14GB quantRTX 5060 Ti 16GB~44 tok/s
Betelgeuse, original checkpointRTX 3060 12GB45.27 tok/s median

What about long context?

Earlier development builds achieved the following with actual populated prompts:

ContextDecode
16K41.1 tok/s
32K37.8 tok/s
64K32.8 tok/s
128K, K8/V428.6 tok/s
251K, K8/V415.8 tok/s

The main problem at longer contexts is that KV storage starts displacing recurrent experts from VRAM.

Which brings me to something I've been experimenting with separately.

Training-free MLA for Inkling

Inspired by Telperion's recent training-free GQA-to-MLA conversion, I've implemented an activation-aware latent KV compression experiment specifically for Inkling's global attention layers.

No gradient-based training so far. Just calibration, covariance collection and low-rank factorisation of the original K/V activations.

Using a rank-512 FP8 latent representation:

ContextNative K8/V4 global KVLatent global KV
16K0.22 GiB0.08 GiB
64K0.80 GiB0.27 GiB
128K1.59 GiB0.52 GiB

That's approximately 3.06x compression, projecting to around 1 GiB of global KV at 262K.

Dense latent attention retrieved all five test needles at 16K and 64K, and four out of five at 128K.

I've also experimented with combining this with CISA, a training-free chunk-indexed sparse attention approach.

The combined prototype reached 31.4 tok/s at 128K while retaining the 0.52 GiB global KV footprint. Unfortunately, retrieval currently fails. There's an unresolved issue in the sparse latent attention implementation, so I'm not shipping it yet.

Theoretical storage calculations :

Global cache format262K context1M context
Original BF168 GiB32.77 GB
Current K8/V43 GiB12.29 GB
Rank-1024 latent FP82 GiB8.19 GB
Rank-512 latent FP81 GiB4.10 GB
Rank-512 latent FP4576 MiB2.30 GB
Rank-256 latent FP4288 MiB1.15 GB
Rank-192 latent FP4216 MiB864 MB

Memory compression alone isn't sufficient if the model can no longer retrieve information correctly.

Future plans

  • Experiment with Intel integrated GPU expert execution using shared system memory and OpenVINO.
  • Develop a learned routing oracle that predicts upcoming experts from earlier hidden states.
  • Use those predictions to asynchronously prefetch experts before the original router selects them.
  • Integrate DSpark for speculative decoding.
  • Continue the training-free MLA and sparse attention research.
  • Improve actual long-context performance rather than merely supporting larger allocated context windows.

At this point, ordinary native decoding on my 3060 is approaching the measured weight-streaming and host-memory bandwidth limits. I think prediction, weight reuse and better attention architectures are more interesting than spending another week shaving microseconds off GEMV kernels.

The release is Betelgeuse v0.7.0 (Alpha-Orionis).

https://github.com/Betelgeuse-AI/Betelgeuse

I'd be particularly interested in benchmarks from other people running the original checkpoint on 3060s, 4060 Tis and 5060 Tis, especially with dual-channel memory.

There's quite a lot more I want to do with this. But for now, I think it's finally time to ship :0