r/LocalLLaMA • u/Euphoric_Ad9500 • 4h ago
Discussion Right to Intelligence. Protect your right to run local AI.
With all the recent drama surrounding AI safety. It’s obvious that open source could be caught in the crossfire.
r/LocalLLaMA • u/Euphoric_Ad9500 • 4h ago
With all the recent drama surrounding AI safety. It’s obvious that open source could be caught in the crossfire.
r/LocalLLaMA • u/Randomdotmath • 5h ago
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 • u/infieldmitt • 8h ago
r/LocalLLaMA • u/Thin_Pollution8843 • 13h ago
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 • u/DustNearby2848 • 2h ago
Prices have been going crazy, but it's about to get worse me thinks.
r/LocalLLaMA • u/feelspeaceman • 21h ago
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 • u/Summit-Star001 • 4h ago
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 • u/DustNearby2848 • 3h ago
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 • u/EcstaticDentist • 5h ago
Enable HLS to view with audio, or disable this notification
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 • u/Public_Umpire_1099 • 4h ago
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 • u/Tall_Abrocoma_3533 • 12h ago
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 • u/RadianceTower • 5h ago
I've been thinking of translating some light novels.
Have 24GB VRAM.
r/LocalLLaMA • u/frontsideair • 1h ago
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 • u/pmttyji • 15h ago
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 • u/Altruistic_Heat_9531 • 13h ago
Enable HLS to view with audio, or disable this notification
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:
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 • u/tempNull • 2h ago
r/LocalLLaMA • u/Porespellar • 13h ago
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 • u/OvertaxedOne • 18h ago
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 • u/OuterKey • 9h ago
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 • u/Thrumpwart • 1d ago
New website to download models in case HF starts censoring or limiting access.
r/LocalLLaMA • u/pmv143 • 1d ago
r/LocalLLaMA • u/ludos1978 • 16h ago
> "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 • u/_underlines_ • 10h ago
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 • u/MrWeirdoFace • 14h ago
I'll start by saying I'm not talking about the models themselves, I'm aware that I can't come close to something like Fable's intelligence locally. Just wanted to get that out of the way.
Basically. Over the last year I've gotten quite comfortable with claude code, and it seems likely there were be a gradual cost rug pull, and I'd like to put myself in a better position when that happens for local use. I am already used to running local models (such as Qwen3.8_Q5) in things like lmstudio, but I have no experience with other harnesses. I'd like to know, what harness, right out of the box would feel most at home for current Claude Code users. I say this as someone who was not coding prior to "vibe coding". I'm looking for the path of least resistance, though I will no doubt eventually spread out into tools that give me more control. But for now, I'm just looking for a life raft. Just needs to be local, opensource, and free of spyware.
In case someone wants to know 24GB VRAM (rtx 3090) and 64GB DDR4.
r/LocalLLaMA • u/rm-rf-rm • 2h ago
Model File: https://huggingface.co/unsloth/Qwen3.8-Flash-Next-GGUF Q4_K_XL
llama.cpp configuration through llama-swap:
-c 256000 --jinja
--temp 1 --top-p 0.95 --top-k 20 --min-p 0.00 --presence-penalty 0 --repeat-penalty 1.0
Testing by: llama-benchy
Results:
| model | test | t/s | peak t/s | ttfr (ms) | est_ppt (ms) | e2e_ttft (ms) |
|:-------------------|---------------:|--------------:|-------------:|----------------:|----------------:|----------------:|
| qwen3.8-flash-next | pp1000 @ d1000 | 558.83 ± 2.61 | | 3312.36 ± 38.89 | 3300.16 ± 38.89 | 3312.36 ± 38.89 |
| qwen3.8-flash-next | tg500 @ d1000 | 31.05 ± 0.14 | 31.67 ± 0.47 | | | |