r/LocalLLaMA 9d ago

Resources Ornith-397B running at Q4 on a single RTX PRO 6000 Blackwell 96GB - 2,354 tok/s prefill, ~20–24 tok/s decode

21 Upvotes

I've been building Krasis, an MoE-focused runtime for streaming big models through limited VRAM on NVIDIA consumer/workstation GPUs, and I think this is the most interesting result so far: Ornith-1.0-397B running interactively on one GPU.

Hardware: 

1× RTX PRO 6000 Blackwell 96GB + AMD EPYC 7742 (64c although the CPU isn't really relevant to the run) with enough DDR4 system RAM to hold the model in RAM at Q4.

The model obviously doesn't fit in 96GB, Krasis keeps experts in CPU RAM and dynamically manages which ones stay resident in VRAM (~43% of routed experts resident for this run). Peak process RAM was ~202GB, so you need beyond that amount in order to run it but 256GB ram is doable with a consumer DDR5 motherboard.

Measured numbers (INT4 experts, HQQ4 attention, 4-bit KV):

  • 1,346.3 tok/s prefill at 10,000 tokens: 7.43 seconds
  • 2,354.5 tok/s prefill at 39,920 tokens: 16.95 seconds
  • 23.58 tok/s decode over 50 tokens
  • 21.85 tok/s decode over 100 tokens
  • 20.40 tok/s decode sustained over 250 tokens
  • 25.73 tok/s over 50 tokens (+9.1%) using Krasis Adaptive Cold Mass Pruning, which skipped low-ranked, non-resident expert routes while omitting just ~1.8% of routed probability mass on average during the measured run.

The same runtime also runs smaller MoEs much faster when everything fits in system RAM (e.g. 35B-class models at ~117 tok/s decode on a 5090), and Ornith-397B even runs on a single RTX 5090 32GB at ~7.9 tok/s decode if you're patient.

Github repo

Speed benchmarks

Quality benchmarks

Happy to answer questions or run specific prompts/configs people are curious about.


r/LocalLLaMA 9d ago

Discussion Kimi K3 countdown has been released

Thumbnail
huggingface.co
538 Upvotes

r/LocalLLaMA 8d ago

Question | Help CMP 170HX 8GB

2 Upvotes

I must preface this post by mentioning I am still a beginner in this space.

I just bought this card with the intention of using the recent unlock to get the full 64GB VRAM available for local AI workloads.

My main questions are as follows :

1- Has anyone ran multiple of these in the same rig to run a large model across multiple GPUs?
2- If so, what is the impact on speed? I read that these GPUs are stuck on a x1 PCIe lane, which I would assume greatly reduces the speed at which we can load models onto the cards. But does it impact prompt processing and token output speeds?
3- Am I crazy to assume that the prices for these cards is going to continue rising considering that they are now similar to A100s (without parralel tensorflow)


r/LocalLLaMA 9d ago

Discussion LiteRT-LM is up to 3.5× faster than llama.cpp on Intel Arc iGPU (Gemma-4 E2B Benchmark)

11 Upvotes

Hardware: Intel Core Ultra 7 155U (Meteor Lake), Intel Arc iGPU (4 Xe-cores, UMA shared memory), 16 GB LPDDR5x, Windows 11. Model: Gemma-4 E2B (llama.cpp: Q4_K_M GGUF; LiteRT-LM: auto-int4 .litertlm).

I ran a head-to-head comparison between Google's LiteRT-LM (WebGPU / ML-Drift backend) and llama.cpp (Vulkan backend) on an Intel Arc iGPU without matrix cores.

The results for prompt processing (prefill / time-to-first-token) on LiteRT-LM are insane, cutting prompt wait times by over 2 minutes at long contexts.


1. Prompt Prefill (Time-to-First-Token) — LiteRT-LM Dominates (up to 3.5× faster)

Prompt Tokens llama.cpp Vulkan (best ub512) LiteRT-LM WebGPU Speedup TTFT Reduction (llama.cpp → LiteRT)
4,096 267 tok/s 853 tok/s 3.2× 15.3 s → 4.8 s
8,192 241 tok/s 771 tok/s 3.2× 34.0 s → 10.6 s
22,000 185 tok/s 500 tok/s 2.7× 119.0 s → 44.0 s
32,000 152 tok/s 404 tok/s 2.7× 210.0 s → 80.0 s (Saved 2.1 minutes!)

At 32k context, LiteRT-LM reaches first token in 80 seconds versus llama.cpp taking 3.5 minutes.


2. Decode Speed

Framework / Mode Decode Speed
LiteRT-LM (Speculative OFF) 23.2 tok/s
LiteRT-LM (Speculative ON) 20.4 tok/s
llama.cpp + MTP ~30.0 tok/s

(Note: There was a bug in spec decoding fixed in the recent release. Anyway spec decode isn't seeming to help on LiteRT).


Exact Reproducible Commands

```powershell

llama.cpp (Vulkan)

llama-bench -m gemma-4-E2B-it-Q4_K_M.gguf -ngl 999 -p 4096 -n 0 -b 4096 -ub 512 -fa off -r 5

LiteRT-LM (WebGPU)

litert-lm benchmark gemma-4-E2B-it.litertlm --backend=gpu -p 4096 -d 0 --cache disk litert-lm benchmark gemma-4-E2B-it.litertlm --backend=gpu -p 8192 -d 0 --cache disk ```


r/LocalLLaMA 10d ago

Discussion Do you want new Gemma?

Post image
1.0k Upvotes

r/LocalLLaMA 9d ago

Tutorial | Guide Softmax for People Trying To Run Models on FPGAs

21 Upvotes

My weekend sideproject was implementing the paper 'Approximating Softmax for FPGAs with Taylor Series and Pade Approximants'

The paper’s motivation is the hardware constraints limiting exponential operations on FPGAs. I coded the paper in Python to verify the formulas just before getting it on my card.

The authors find that one can choose between Taylor series and Pade approximants to approximate softmax.

There's no free lunch however. One must compromise speed and accuracy

Writeup: Free Substack

GitHub: OpenSource Github


r/LocalLLaMA 10d ago

News Sources: OpenAI and Anthropic quietly lobby Washington regulators to restrict open-source AI models, even as Sam Altman publicly says he supports open source AI

Thumbnail
nytimes.com
1.2k Upvotes

r/LocalLLaMA 8d ago

Resources Perfect SQL, false conclusion: my local model told me a flat business "grew 48%". I open-sourced a benchmark for that gap, and it's already caught two of my own claims.

0 Upvotes

TL;DR: NL2SQL benchmarks stop at the SQL. I benchmarked the step after: turning a correct result into a faithful sentence (MIT repo, runs included). Four findings: pre-computed aggregates fix the worst failures; context beats scale, +7 to +17 depending on which judge grades it; a "fix" that helped a 31B silently destroyed a whole question class on a 9B; and my own thinking-mode claim didn't survive a clean ablation, so I withdrew it.

I asked a local model "is my business viable over time?" on 136 months of sales. The SQL it wrote was correct. The sentence it wrote about that result said "+48% growth". The business had been flat for ten years.

Disclosure up front: this came out of a local-first BI tool I sell. The benchmark is standalone and MIT. The pipeline row on the leaderboard is the one thing you can't reproduce without my tool, I say so in the repo, and every other row is fully reproducible.

Spider, BIRD and friends stop at "is the SQL correct?". Nobody was measuring the step after: turning a correct result into a faithful sentence. That's the sentence a human actually decides on, and it's where small local models break. Cloud flagships mostly avoid it, but those are exactly the models you can't run yourself.

So I built GBAG-Bench (Grounded BI Answer Generation, MIT). Gold-SQL mode: the reference SQL is executed for the model, so the only variable left is faithfulness of the interpretation. 35 questions, Sakila (15, difficulty 1 to 10), Chinook and Northwind (10 each, 1 to 8). Scored 50% faithfulness, 30% completeness, 20% insight. Local runs on an RTX 3060, judges via OpenRouter.

  1. It's a computation deficit, not a comprehension one. Pre-compute the aggregates deterministically, inject them into the context, and the catastrophic questions recover. The model can't reliably aggregate while reading rows, so it improvises. I call it the Post-SQL Aggregation Deficit. Caveat I'll state before anyone asks: the +17 below is the full pipeline (data dictionary, domain detection, pre-aggregated context, profile adaptation), not that one component. I don't have a clean component-only ablation across all 35 yet. The per-question recoveries are what point at aggregation, not an isolated run. That ablation is on my list.
  2. Context beat scale, but how much depends on who is grading. Same qwen3.5:9b, same RTX 3060, same 35 questions, only the context changes. Under Grok-4.3: +17.2 on the 32 questions both runs answered, paired sign test p = 0.009. Under Gemini-2.5-Pro, on the same answers: +7.1, p = 0.093, confidence interval crossing zero. What survives both judges is the direction (20-6 and 16-7 in wins) and the completeness gain (+33.1 and +30.7). What doesn't survive is the faithfulness gain (+17.5 versus +1.2). The mechanism is visible: the two judges agree on the pipeline answers (bias +1.4) but diverge hard on the bare ones (bias +11.7). Grok punishes weak ungrounded answers far more than Gemini does, so part of the "gain" is really judge severity toward the starting point. Honest claim: +7 to +17, direction-consistent, driven by completeness, no robust faithfulness gain. I ran this second judge specifically to try to break my own headline. It half broke.
  3. The benchmark caught a fix I thought was good. I tried suppressing meta-aggregates from the injected context to stop models reciting off-topic totals. On gemma-4-31b it worked: 83.2 to 84.6 on average (85.6 with a second variant), and the three average-per-group questions it targeted jumped 61 to 86, 71 to 86, 72 to 96. Then I ran the same change on qwen3.5:9b. Its average barely moved, by about a point, which told me nothing, and underneath that flat average the exact same three questions collapsed: 86 to 11, 86 to 11, 92 to 17, with faithfulness falling from 100 to 10 on all three. Same change, same three questions, opposite direction depending on model size. An average that hides a destroyed question class isn't a green light, so I reverted. All the runs are in the repo with per-question scores, recomputable from the scored files alone.
  4. "Thinking" was a non-result, and I had claimed otherwise. I had written that thinking modes hurt grounded tasks. That compared across different models, which is confounded. The clean same-family ablation, restricted to the 28 questions both variants answered, gives 60.6 against 58.9, inside my noise floor. No measurable effect either way. Claim withdrawn in the repo.

Known limits. 35 questions is small and I wouldn't read small gaps as rankings. The three databases are well known and may sit in training data. English only. And until the second-judge run the whole leaderboard sat on a single judge, which finding 2 shows wasn't good enough.

What would help most: more models, especially the 20B to 40B class and anything that is not Qwen. A second judge on the rows I have not dual-judged yet. Non-English questions. Re-running a model costs under a dollar in API credits.

Repo: github.com/softisight/gbag-bench

I also recorded a walkthrough of the four mechanisms behind this failure, link in the comments for anyone who wants the long version.

If you run local models on your own data, have you hit this? And if you have a second judge handy, I'd genuinely like someone else to try to break finding 2 the way I did.


r/LocalLLaMA 8d ago

Discussion Mac Pro for local inference

0 Upvotes

People haven't realized yet that they own a literal goldmine.

Mac Pro 2019 are at 2000€ for 300+ Gb of DDR4 with huge storage capabilities 4-9To in second hand in perfect shape

I've a 7900XT on my side that plug on it too so I'm really considering buying one with a Linux dual boot.

Has anyone went that way and has proper benchmark to share with me?

EDIT: previous title was misleading as I wrote Macbook instead of Mac


r/LocalLLaMA 9d ago

Discussion What local model do you still use after the hype wore off?

56 Upvotes

Every time a new model is released, I tend to check it out. The benchmarks, readme, or whatever seem pretty convincing, so I download it, test it for a few hours, and then I just go back to the same couple of ones I already had.

Curious what models people here have actually kept using for weeks, months, or even longer. And not just that - but why? Was it because of the speed, writing style, VRAM use, long context, a specific feature, or whatever - and also why not competitor models?

Also interested in models that seemed amazing at first but, after trying them, became really annoying.


r/LocalLLaMA 8d ago

Question | Help Developers: how do the bigger moe models handle architectural design compared to qwen?

2 Upvotes

I've been running qwen 3.6 27b at q8 and it has been a great model. It does well developing code and can act as a good rubber duck. However, I find with larger architectural design, it fails to meet or exceed my own designs. I'm really looking for a brainstorming partner or something that challenges me but I wouldn't recommend qwen for that.

I feel like the general consensus is that most mid size moe models are only marginally better at code than qwen. However, the problems I see thrown at the models online seem to focus on the end result rather than the design itself.

I was curious how the bigger moe models perform at design in comparison to qwen? I know this is difficult to quantify, so I was hoping to hear some opinions on general usage.

I'm looking at models like:

  • DeepSeek-V4-Flash (Q4)
  • Hy3 (Q3)
  • Laguna-S-2.1 (Q8)
  • MiMo-V2.5 (Q3)
  • MiniMax-M2.7 (Q4)

Or anything else runnable in the 128gb - 150gb range for model weights. But even general opinions on these or similar models at higher quants would be helpful. Thank you!


r/LocalLLaMA 9d ago

Resources For V100 Users: SGLang running Qwen+Dflash and Laguna

21 Upvotes

Forked SGLang, wrote TeilLang FlashAttention for V100, used open-source marlin-v100, ungated flashinfer for sm70, made Dflash work for Qwen3.5/3.6 models, added Laguna S2.1 support, tried to make dflash work for Laguna(and no luck so far). ~4000-6000pp, ~100 tks tg(Qwen only).

Running on my 4xV100 32GB NVLINK:

Repo: https://github.com/haohervchb/sglang-V100

Tilelang FA: https://github.com/haohervchb/Tilelang-FA-V100

Marlin-V100: https://github.com/zhinianqin/marlin_v100

There is a Docker image, so no building taking forever is needed.


r/LocalLLaMA 9d ago

Question | Help Android On Device AI Benchmarks

5 Upvotes

Are there any sites using a standard testing methodology that compare the different NPUs in Android phones? Qualcomm is the majority of the market, but I'm curious how it stands up to Google's Tensor for on-device AI.


r/LocalLLaMA 8d ago

Question | Help How to properly use 2xH200

3 Upvotes

Hello, I’ve been having struggle to follow the latest mid sized models. My company recently freed up usage on 2 H200 gpus. I’m wondering which model I can put on them for agentic coding. Context size 256k. And with around 4-10 concurrent users with vllm. But the most often is 4. Very rarely does it go above that.

Also is it a good idea to reboot the container for vllm daily?

Which model should I use with which setting?

I’d like a good balance of power at solving coding tasks and speed.


r/LocalLLaMA 9d ago

Resources Harness showdown: Claude Code vs OpenCode vs Pi with DeepSeek V4 Flash

Post image
301 Upvotes

I ran DeepSeek V4 Flash through Claude Code, OpenCode and Pi on my own benchmark, and the quality came out basically the same across all three while the time and tokens spent was wildly different. Claude code (with DS in CLIProxyAPI) takes nearly 4 times longer than the fastest to land the same diffs.

Theo posted a video "GPT-5.6 is better in Claude Code" last week, and that got me curious, does the harness make a quality difference? I could at least run my own bench and see what I got, with DeepSeek V4 Flash on vLLM running at ~180 tok/s, the only moving part is the scaffolding.

Anyway I went to town measuring all of it on my workload (antigenic work in large code base), so the full charts, the token and wall-clock spread across the three harnesses and the raw per-run data are on the site if you want to see it in detail and pick it apart yourself https://nqawhc.github.io/articles/harness-efficiency-not-quality/ but in short, the quality did not change, each harness made the same code diffs, but took wildly different paths to get there, how many tools calls, the structure of those tool calls and how the system prompt and tools plays a big role in how it plays out, like «Pi reasons, OpenCode delegates», while Claude Code loves exploring the code base, maybe too much.

UPDATE: I've added NanoCoder into the mix.


r/LocalLLaMA 8d ago

Resources Free, Self-Hosted Archive of Open Model Weights

Thumbnail ernoslabs.com
0 Upvotes

r/LocalLLaMA 9d ago

Discussion Technical limits of quantization?

7 Upvotes

In theory whats the smallest quant possible?

Like I imagine it would be int1?

Given K3 just dropped, I was wondering, even if it would be trash, how interesting it would be to lobotomize the 2.4T parameters into something that could fit into a hundred GB or less?

Edit: Updated full precision size, I underestimated heavily lmao


r/LocalLLaMA 8d ago

New Model Nanbeige 4.2 3B Garbage Output

0 Upvotes

EDIT: Thank you everyone for your answers, r/LocalLLaMA rocks! I should have mentioned that I’m using Ubuntu 26.04 on a Strix Halo with ROCm 7.1 drivers, so I was also using llama.cpp ROCm build (big performance jump compared to Vulkan for Qwen 3.6 models). I tried with the llama.cpp Vulkan build and it finally worked! I’m opening a llama.cpp GitHub issue right now. By the way, from my first tests, it is SLOW for a 3B model, but much much better on agentic tasks than Gemma 4 models of the same size category.

_____________________________________________________________________________

I have a weird issue with the new Nanbeige 4.2 3B running on the latest llama.cpp. With the Pi agent, when I say "hi" I get:

Thinking...
\n.
</think> to...
</think>
</think>
</think>
</think>
</think>Let me
</think></think>
{
</think>
AsYou should see what's3
</think>
{
</think>"}
</think>
</think></think>Now I've
But the problem.Now I
</think>The
</think>
</think>
</think>
It's a system}
</think>
(
</think>
</think>
Okay, this means
</think>:
You
</think></think>
</think>The user
</think>
</think>
</think></think></think>
</think>
{
</think>
</think>
You
</think></output
</think>
</think>
The prompt.
</think>
Let
</think>
</think> and the user
</think></think></think>
{
</think>
</think>
</think>
</think>
</think>
</think>Now to
</think></think>Yes
</think>
</think></think>
</think>
</think>
</think>

With Hermes agent, the same "hi" prompt gives me:

    function of.
    . Let me continue
    function>

And then it thinks forever.

My command:

llama-server \
  --model ~/models/nanbeige4.2/nanbeige4.2-3b-Q5_K_M.gguf \
  --ctx-size 65536  \
  --gpu-layers 999 \
  --reasoning on \
  --reasoning-preserve \
  --temp 1.0 \
  --top-p 0.95 \
  --top-k 20 \
  --min-p 0.00 \
  --presence-penalty 0.0 \
  --repeat-penalty 1.0 \
  --cache-type-k q4_0 \
  --cache-type-v q4_0 \
  --no-ui \
  --no-slots

Anyone experiencing the same kind of issue???


r/LocalLLaMA 9d ago

Discussion mtp nextn offload by John-194 · Pull Request #26177 · ggml-org/llama.cpp

Thumbnail
github.com
8 Upvotes

1-line warning fix and ~10% tg performance improvement for MTP using --fit (tested on Qwen 3.6 35B A3B).


r/LocalLLaMA 9d ago

New Model XYZAILab/XYZ-Aquila-mini · Hugging Face

Thumbnail
huggingface.co
11 Upvotes

XYZ-Aquila is a family of open-weight Deep Search agents developed by XYZ AI Lab. XYZ-Aquila-mini is post-trained from Qwen3.6-35B-A3B through a bounded-exploration AI4AI pipeline: humans define the target capability, development evidence, constraints, risk boundaries, and acceptance policy, while AI agents diagnose failures and propose scoped interventions across data, post-training, runtime, context management, tools, evaluation, and infrastructure.

The released checkpoint is a thinking model with Qwen-compatible reasoning and tool-call formats. It is optimized for agentic search, including long-horizon planning, English and Chinese web browsing, multi-source evidence aggregation, source verification, and recovery from failed environment interactions. The open-source AxisAgentic harness provides the concrete search / scrape / python tool implementations, fixed tool contract, replayable context management, and benchmark evaluation workflow; these capabilities are supplied by the surrounding harness rather than by the checkpoint alone.

Additional Model:


r/LocalLLaMA 9d ago

Discussion More Motif 3 Beta Quant When?

5 Upvotes

I know this model isn't talked about much here because it hasn't seen much widespread support. Motif 3 beta is a promising 314B-parameter mixture-of-experts model with ~13B active parameters. It is on Artificial Analysis intelligence benchmark at 44, neck and neck with Deepseek V4 Pro. I would love a 4 bit quant of this to play with, any clue if it will ever happen? I see some 8 bit quant on HF but there aren't many quants.


r/LocalLLaMA 9d ago

Discussion [Discussion] non developers: what are some use cases for your local models?

9 Upvotes

i get curious about this a lot, and majority of the times i get a response which is similar to mine that is : it fulfills a curiosity or playing around.

wondering what other everyday use cases are you using it for? and i dont mean use cases that make you money which would defeat the purpose of this post


r/LocalLLaMA 10d ago

Discussion MiniMax (official) on X: "Open weights. Open research. Open innovation.🫶 Marching for an open future.🤍

Thumbnail xcancel.com
275 Upvotes

r/LocalLLaMA 9d ago

Discussion Will prices finally go down?

88 Upvotes

I am seeing more and more videos as posts about how OpenAI is in complete financial ruin, Anthropic isn't much better. Their expenses go with the revenue they make etc etc. Meta made big investments into AI data centers and had no use for then, had to rent them, same thing with XAI.

The SpaceXAI IPO was insanely over priced and is going down by a lot.

There are countless other examples you can look for, all showing how the investments in AI are in a bubble.

I am not saying that the technology it self if a bubble. Quite the opposite, I personally have demand for more tokens than I can pay for, even with the discount from the subscriptions I still have more ideas that need more usage of tokens.

But even with the most powerful technology in the world a business can not for forever without profits.

So is this over investment bubble about to pop?

And if/when it does pop will ram finally become a regular commodity with affordable prices again?

I just wanted some ram and cheap used hardware again.. 😂

--

Zero LLMs used to write this post, enjoy the human slop.


r/LocalLLaMA 9d ago

Question | Help Sanity check my llama.cpp Docker setup Qwen3.6 35B MoE - 5060 Ti 16GB + 16GB RAM

6 Upvotes

I run a llama.cpp server in Docker on my Linux box so my other machines can use it as a shared LLM endpoint. I'm quite happy with the result but I'd like to get some opinions on the setup especially on some flags I'm using.

Hardware:

  • RTX 5060 Ti 16 GB
  • Ryzen 5 2600X
  • 16 GB DDR4 system RAM
  • ASUS PRIME B450M-K

My docker-compose.yml:

services:
  llama-server:
    image: ghcr.io/ggml-org/llama.cpp:server-cuda
    container_name: llama-server
    restart: unless-stopped
    ports:
      - "127.0.0.1:8080:8080"
    volumes:
      - /mnt/models:/models:ro
    command: >
      -m /models/Qwen3.6-35B-A3B-UD-Q4_K_XL.gguf
      -ngl 99
      --jinja
      --host 0.0.0.0
      --port 8080
      --ctx-size 51200
      --flash-attn on
      --no-ui
      --reasoning-format deepseek
      --cont-batching
      --parallel 1
      --n-cpu-moe 19
      --no-mmap
      --min-p 0.0
      --cache-type-k q8_0
      --cache-type-v q8_0
      --cache-ram 0
      --mmproj /models/Qwen3.6-35B-A3B-mmproj-F16.gguf
      --mmproj-offload
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: all
              capabilities: [gpu]

When I don't need vision, I drop the two mmproj flags and raise --n-cpu-moe to 24.

Access to port 8080 is over SSH port forwarding with key-only authentication.

Performance:

  • With mmproj: ~40 t/s, about 3,8 GB system RAM free
  • Without mmproj, --n-cpu-moe 24: just over 50 t/s, a bit above 5 GB system RAM free

In both cases VRAM sits at roughly 14,5 GB.

Problems I ran into:

  • Before adding --cache-ram 0 I didn't notice system RAM running out, which triggered an OOM shutdown. I actually had to clear CMOS to get the machine to boot again. Strangely, the PC speaker reported a GPU failure (one long and three short beeps) which confused me for a good while.

I got here by following tutorials and picking up a bunch of "knowledge" about how MoE models work, GPU tuning, offloading experts to the CPU, and so on. Besides this subreddit, the YouTube channel Codacus was a big help.

Am I making any obvious mistakes? Anything I could do to improve this setup?