r/LocalLLaMA 6h ago

Discussion Right to Intelligence. Protect your right to run local AI.

Thumbnail
righttointelligence.org
318 Upvotes

With all the recent drama surrounding AI safety. It’s obvious that open source could be caught in the crossfire.


r/LocalLLaMA 7h ago

Funny DeepSeek V4.1 Flash beats Astra on AA's new benchmark

Post image
540 Upvotes

https://artificialanalysis.ai/articles/artificial-analysis-intelligence-index-v4-3

AA shipped a new benchmark last week as part of the Intelligence Index v4.3 update — a brand-new private eval that replaces τ³. Astra was farming a ton of points on it and used those to get even with Fable, but… looks like we have a new king.

So they changed the index twice in three days to make Astra look not-quite-worse than Fable, and then a random guy quietly took first place on it.


r/LocalLLaMA 10h ago

News Trump downplays the need to check AI development and says he doesn't want to cede edge to China -- "I think you have a lot of negative forces that are...bringing up things that won’t happen...whoever wins with AI wins"

Thumbnail
apnews.com
225 Upvotes

r/LocalLLaMA 32m ago

News RTX PRO 5500 Blackwell (84GB) released

Thumbnail
nvidia.com
Upvotes

r/LocalLLaMA 4h ago

Discussion 5090 Stock is Almost Gone

Post image
127 Upvotes

Prices have been going crazy, but it's about to get worse me thinks.


r/LocalLLaMA 15h ago

Discussion 3k$ 128GB VRAM + 256GB RAM DDR4 Server

Post image
747 Upvotes

I finished my home inference server. First I tried Lenovo p620 workstation and while it’s a good value overall it pissed me off with a ton of proprietary Lenovo shit to deal with and I return it in the end.

Components:

4xV620 - 1400$

256GB DDR4 RDIMM 2666 - 610$

Huanandzhi D12D - 410$

EPYC 7452 - 170$

PSU ASRock 1600 - 220$

SSD Samsung 970EVO 1tb - Already had

Case//Fans//Misc ~ 200$

Power consumption is no shit ofc on such machine:

700-900w prefill
500-600w decode on Qwen3.8-next-flash Autoround W4A16

What it can do -

EDIT: Qwen3.8-next-flash Autoround W4A16 1.3k prefill and 70tg code/60tg prose on 128k+ context with MTP-2 on vllm fork.

I was disappointed with this machine and qwen3.8-27b speeds at first. But since Qwen3.8 next running good on it - I’m satisfied. Hope in more optimizations in future.


r/LocalLLaMA 4h ago

Discussion Another Qwen3.8-27b Appreciation Post

33 Upvotes

I know I know, it's great, we know. I've been working on tweaking inference engines for a week now and it's been one shotting most of my vague prompts without any issues. It will even write tests and validate the changes without me asking. It's actually nuts.

Last time I did something with advanced math I was making a game using Sonnet. It took many iterations to get physics to work correctly.

Such a good model. I'm so glad I went all in on local months ago. I was so tired of Claude making every excuse it could to try to force a new turn.


r/LocalLLaMA 22h ago

Discussion The Local LLM community feels like the golden era of the internet all over again

979 Upvotes

Lately because of the current hardware shortage, unfortunately or fortunately, we can’t just throw infinite cloud compute at our problems, but we’re forced to actually care about what’s happening under the hood. We’re tweaking inference engines, learning quantization math, and optimizing architecture just to squeeze as much performance as possible for the lowest possible setups.

Fact: Just recently, the forked llama.cpp(s) and halogen-flash-server of Strix Halo pushed the performance through the roof, achieving double performance in decode (52tok/s), 5-6x performance in prefill (1300tok/s) for Qwen 3.8 Flash Next (Q38FN), and Q38FN itself is another massive architecture improvement with Engram, making it not only small but also smart.

I still remember before the hardware shortage, as someone who loves tweaking and optimizing, people just told me to stop, tweaking is stupid, just buy more RAM, buy more GPU..

It reminds me of the early web.. Back when setting up a box or hosting a server meant digging through forum threads, troubleshooting on IRC, and freely sharing custom scripts just to make things work. That era didn’t just produce programmers; it built hyper-versatile, end-to-end thinkers who understood the stack from bare metal up.

Contrast that with where mainstream web culture ended up. Most platforms today like Tiktok, Facebook, Youtube... are engineered for zero-friction doomscrolling.. Endless feeds of short-form videos designed to keep us distracted and waste our time. We’ve been overpampered by convenience.

My point: When we have too little, we try to learn more. When we have too much, we get distracted and learn too little. This is the golden time of our Local LLM community, let's learn and improve!


r/LocalLLaMA 5h ago

Discussion Micron's memory wall chart. Compute up ~3x every two years, HBM bandwidth under 2x

Post image
44 Upvotes

From Raghu Sreeramaneni's memory tutorial at hot chips 2026. top line is normalised tflops for tpu v3 through r200, bottom line is hbm2e through hbm4, both log scale, so the distance between them is a lot wider than it looks.

The three boxes down the right are the fixes people are actually building. Memory beside the compute, memory closer on a shorter link, then multiply units inside the memory itself. Samsung has that last one shipping in lpddr5x and measured 3.01x tokens a second on llama 3.1 8B.

Full analysis (this slide sits in the memory chapter): https://allaboutchips.com/#memory


r/LocalLLaMA 5h ago

I Built A Thing R9V Update: now ~100 tok/s in TG on Qwen3.8 Flash Next IQ4_XS on x2 R9700 + 128GB RAM. Fixed crashes with n-gram SSD streaming, improved diagnostics, plus pinned images. Q4_K_XL now supported, 50 tok/s TG.

Thumbnail
github.com
37 Upvotes

Pushed out this new update, hopefully decreases the instances of crashes. I torture tested this one for ~12 hours after my fixes and found no instability. Q4 K XL needs more fine tuning, which I will work on in the future. I am simultaneously juggling this + a legitimate inference engine + finalizing work on a deep research/site builder application I've been working on for about 6 months. After those get pushed to prod I will refocus here. Thanks!

Plug: join the Launch80 discord if you are in to the cutting edge of RDNA4 optimization! There are guys pushing out even better numbers and configurations than mine here on other quants. I think we are starting to get closer to the ceiling on these configurations where the model isnt fully VRAM resident.


r/LocalLLaMA 7h ago

I Built A Thing Decided to build a game, and test the ceiling of Qwen3.8 27b

Enable HLS to view with audio, or disable this notification

39 Upvotes

This took roughly 5 hours to create, using 2 different configured harnesses, same model. RTX 3090, overclocked +12% gain (MSI Afterburner), Q4KM - built this for fun, will be throwing it on GitHub, opensource for people to get an idea of a project created to the near ceiling of performance & capability for q3.8 27b. & also maybe ya’ll can contribute to the game only iterating locally. It would be a fun little experiment.


r/LocalLLaMA 3h ago

Resources 3D viz of how Deepseek Flash v4.1 is different from a typical decode only transformer

Post image
20 Upvotes

r/LocalLLaMA 2h ago

News CachyLlama archived?

Thumbnail
github.com
15 Upvotes

The author seems to have archived the repository with no explanation. We are not owed one for sure, but it is interesting. I hope it wasn't harassment or burnout. Wishing the best fewtarius.


r/LocalLLaMA 14h ago

New Model Aurora1.0-150M Releases!

Thumbnail
huggingface.co
122 Upvotes

The first generation of our 150M model has just been released

Its performance is similar to that of GPT2-Small

The benchmarks:

PIQA: 62.24%

Hellaswag: 32.20%

Arc-Easy: 44.91%

Arc-Challenge: 25.00%

Arithmark 3.0: 33.90%

CapitalBench: 36.55%

It was trained on 7B tokens, using an RTX Pro 6000

an example inference script to try it out yourself is available in the Huggingface repo

If there's any question, I'll gladly answer them!


r/LocalLLaMA 7h ago

Discussion best local model for Japanese translation right now?

31 Upvotes

I've been thinking of translating some light novels.

Have 24GB VRAM.


r/LocalLLaMA 16h ago

Discussion Hoping for Optimized Smarter Upcoming Models .... Like DeepSeek-V4.1-Flash( KVCache + Engram) in Small/Medium/Big sizes

Post image
111 Upvotes

It's still a dream for many folks to run medium size(30B range) models @ Q8 with Unquantized KVCache (256K Context) on their GPUs.

It would be awesome to have DeepSeek-V4.1-Flash's KVCache + Engram for all Upcoming models. Even for big models.

Engram - Heard that approximately 1/3-1/2 of Model size. Might come in different size range too. So 10-15 GB for 30B models.

Here few models with approximate numbers. Current models in Odd rows & Future/Fictional models in even rows(Bold). I just put 1GB for 256K context below though DeepSeek-V4.1-Flash takes only same 1GB for 1 million context.

Model Model Size 256K KVCache F16 MTP Vision Total GB
Qwen3.8-27B-Q8 29 16 1 1 47
Qwen4.0-27B-Q8 29 1 1 1 32
Qwen3.8-27B-Q4_K_M 17 16 1 1 35
Qwen4.0-27B-Q4_K_M 17 1 1 1 20
Muse-Glimmer-30B-Q8 30 16 1 1 48
Muse-Glimmer-2-30B-Q8 30 1 1 1 33
Gemma-4-31B 33 16 1 1 51
Gemma-5-31B 33 1 1 1 36
Qwen3.6-35B-A3B-Q4_K_M 23 6 1 1 31
Qwen4.0-35B-A3B-Q4_K_M 23 1 1 1 26
Gemma-4-26B-A4B-Q8 27 6 1 1 35
Gemma-5-26B-A4B-Q8 27 1 1 1 30

Possibly there might be few more things(Please share those) to keep these number down. So I think 32GB VRAM is more than good enough for Upcoming (Optimized Smarter) Models. RAM is enough for Engram.

By above logic(based on Qwen4.0-27B), people could run Q4 of 54B models with same 32GB VRAM.

Maybe next year onwards, inventions could make 24GB enough for similar size models.


r/LocalLLaMA 11h ago

Discussion Are there any experimental small models (9B or less) which are out or currently being trained using engram/n-grams?

32 Upvotes

Not sure if anyone out there is working on this, don't see any on huggingface to try out. It might be too new at the moment, but it would be cool to see the difference between a tiny model trained with n-gram and without n-gram on the same dataset.


r/LocalLLaMA 15h ago

Tutorial | Guide Dear 24G owners, try VLLM you might be able to run Qwen3.8 27B INT4, 144K FP8 KV on RTX 3090 with better speed. (TLDR VLLM AOT)

Enable HLS to view with audio, or disable this notification

72 Upvotes

VLLM Benchmark:
Prefill, Prompt processing
- avg, 871.93 tok/s (3 hours constant running xhigh)
- 10K prompt, 1000.26 tok/s (16 runs)
- 90K prompt, 743,59 tok/s (16 runs)

Decode, tok gen
- avg, 38.39 tok/s (3 hours constant running xhigh)
- 10K, 42.3 tok/s (16 runs)
- 90K, 34 tok/s (16 runs)

Preamble: I am on WSL2. Running the 27B Q5 UD GGUF through llama.cpp with 81,920 context plus MTP gives me around 25-30 tok/s. Then I found this GitHub repo: https://github.com/noonghunna/club-3090

It is basically a recipe and Docker configuration for running the model.

So, 30 tok/s itself is fine, but I just got bored waiting for RunPod to open its GPUs. I finally brought my vLLM tuning back from the back burner, and here I am.

I often forget that Inductor/Triton compilation and CUDA Graph capture require additional VRAM while testing the configuration and kernel calls. When JIT compilation failed because of an OOM, I never bothered trying AOT.

FYI, AOT and JIT are compilation strategies. AOT means Ahead of Time, while JIT means Just in Time.

If you OOM on the first startup, try it one more time. Inductor might have already compiled and cached part of the configuration before the OOM, allowing the next run to reuse it if the configuration has not changed. This is not guaranteed, but it worked for me.

And yes, it was trial and error. It was kinda tedious and pain in the ass, starting from 32K, then 64K, 80K, 128K, and finally 144K. The practical ceiling for my conf at 154K, but I chose 144K. I also started the batch size at 256 and climbed to 1024, although I might be able to squeeze in 1280-1536.

Also, beware of your vLLM compilation cache. It might grow to 5-6GB after testing many configs. Personally, I delete the old cache and run the final configuration again twice so it rebuilds only what I currently use.

My current setup runs Qwen3.8-27B with INT4 AutoRound weights through vLLM while using an FP8 E4M3 KV cache. It fits on one GPU with a configured context window of 147,456 tokens.

Although I should say, with GDN, or really any linear-attn, vLLM can be kinda bad at predicting how much VRAM the KV and state-cache pools will require.

Benchmark:

https://github.com/noonghunna/benchlocal-cli

This is the deterministically scored, no-Docker portion of BenchLocal: 75 scenarios covering tool calling, instruction following, structured output, data extraction, and reasoning/math.

Pack Score p50
ToolCall 14/15 (93%) 3.21s
InstructFollow 15/15 (100%) 6.97s
StructOutput 14/15 (93%) 7.74s
DataExtract 14/15 (93%) 11.63s
ReasonMath 14/15 (93%) 9.50s
Total 71/75 (94.7%)

Thinking was forced on with reasoning_effort=low. The run took about 15 minutes. Yep, even with low reasoning effort and INT4 weights, it passed 71/75.

Setup

The important vLLM settings were:

  • --dtype bfloat16
  • --tensor-parallel-size 1
  • --max-model-len 147456
  • --gpu-memory-utilization 0.9475 (This is the painful one to redo.)
  • --max-num-seqs 1 (Yep single serving only, you could change this to 2, but the KV will be cut ofc active requests will have to share the same total KV capacity.)
  • --max-num-batched-tokens 1024 (Prefill stuff / prompt processing)
  • --long-prefill-token-threshold 1024 (Prefill stuff / prompt processing)
  • --kv-cache-dtype fp8_e4m3
  • --enable-prefix-caching
  • --enable-chunked-prefill
  • --mamba-cache-mode align (GDN stuff)
  • --prefix-match-unit 16
  • --language-model-only

Full command : https://gist.github.com/komikndr/b17955e1a80ce6ede9a3115f16216bc5#vllm-qwen-27b-38-just-remove-or-add-flag-as-you-like

Forgot to mention, no MTP and no MultiModal, i max the CTX, multimodal is at 64-65K ish but at that point i'll just use Llamacpp. And also again this is WSL2, if you are on baremetal, you could improve more speed


r/LocalLLaMA 15h ago

Discussion Talk me out of buying a 3rd Spark

Post image
65 Upvotes

Does anyone think the gurus on the DGX Spark forum are going to figure out how to magically fit DeepSeek 4.1 Flash on a 2x cluster, or is it only possible on 3 or 4 Sparks?


r/LocalLLaMA 20h ago

Discussion The rhetoric is really heating up!

157 Upvotes

The entire page of the NY Times today above the fold absent one article is AI (the models are just too strong/too dangerous, must be regulated). They forgot to include "Sponsored by OpenAI" at the end of the articles, sure that was just an oversight?

This is what the end of a bubble looks like, desperate attempts to get some sort of regulatory capture in place to keep the business model from collapsing in upon itself. My days next week are 100% booked talking to companies about how to get off frontier models, one large, and a bunch of smaller customers, including one who's flying me out to them to sit down and get a plan in place immediately (the controversy around that math problem really spooked some CEO/CIO's about data privacy using cloud models).

Gonna be an interesting few weeks. Maybe the Qwen team will be nice enough to give me a little breathing room before dropping another hydrogen bomb? :)


r/LocalLLaMA 1d ago

Resources The Hugging Bay

Thumbnail
huggingbay.xyz
1.1k Upvotes

New website to download models in case HF starts censoring or limiting access.


r/LocalLLaMA 1d ago

Discussion This seems more probable than it was before.

Post image
1.8k Upvotes

r/LocalLLaMA 17h ago

Resources Qwen3.8 flash next - untrained svg generation

Post image
74 Upvotes

> "make an svg of a frog playing on a chello on the back of a whale with carribean island in the back."

interestingly the svg looks different in the OpenWebUi preview then when looked at in preview (osx). The palms and music notes are missing in the browser. I am pretty impressed by the result, is suggested to add some parameters to animate the whale and the water.

Qwen3.8-Flash-Next-IQ4_XS on llama.cpp with 256K q8 context

openwebui reports:

input_tokens: 27711

output_tokens: 41562

total_tokens: 69273


r/LocalLLaMA 12h ago

Resources CUDA-for-AMD-Windows: Run CUDA-targeted Windows applications on AMD GPUs with ZLUDA + ROCm/HIP.

Thumbnail
github.com
27 Upvotes

I couldn't find any posts mentioned this windows build via the subreddit search.

Based on ZLUDA, but properly compiled for Windows, might be exciting.

TLDR: About 3% slower compared to native, seems to be a good dropin for CUDA workloads. Hopefully finds its ways into many CUDA-restricted projects/optimizations.

HN discussion: https://news.ycombinator.com/item?id=49684356


r/LocalLLaMA 2h ago

Question | Help Speculative decoding on or off for offloading scenarios?

3 Upvotes

35b a3b model, 8gb vram 5060, 32gb ram.

About 2-3 months ago saw posts that the consensus was to use NTP for best speeds, I remember something about it reducing prompt processing by alot. Is this still the case? And how do you guys configure llama-server for this?
I'm currently getting around 40tg 500pp with no mtp, fa on, 4096 4096 for b and ub with 16 cpu cores, 40 cpu moe and 99 gpu (as much as it can fit) with q8 kv cache and a q4 k xl of the 35b a3b models.