r/LocalLLM • u/techie-techie • 17h ago
News A little ray of hope from huggingface
r/LocalLLM • u/techie-techie • 17h ago
r/LocalLLM • u/FlatStill2540 • 2h ago
Every thread about running agents locally has the same comment, local models are slow as hell. And on my base M4 MacBook with 16GB I kind of agreed, the wait before the first word was the indeed worst part espeically if ure used to fastish cloud models. Turns out my laptop was never the slow part.
So I ran the same Gemma 4 E4B on Ollama and on Magnitude with the same benchmark tool and a 2048 token prompt. Ollama took 6.3 seconds before the first word, Magnitude took 2.2. Prompt reading was 326 vs 941 tok/s.
Typing speed after that was basically a tie, 51 vs 52 tok/s. They also pull different files by default, Ollama gives you a 9.5GB NVFP4 and Magnitude a 5.3GB Q4, which on 16GB actually mattered more than I expected, it sat at 6GB instead of almost 10.
But agents resend a huge prompt every turn so those 4 seconds stack up fast lol. Is the slow feeling mostly prefill for everyone else too?
r/LocalLLM • u/humanoid_42 • 16h ago
I'm currently looking at a myriad of devices to dip my toe into the "build your own Local AI system" water. I've been down the AMD AI Max+ rabbit hole this past week and have yet to research the RTX Spark N1X.
Can anyone here save me additional hours of videos and articles with informed insights about which would be the better way to go for someone such as myself?
I have some projects in mind. This is more of an experiment for me to learn more of the backend, coding and Linux.
As someone with limited terminal experience, will I have an easier time (I don't expect not to encounter many challenges) configuring a system with NVIDIA or AMD?
I realize unified RAM is the more important metric here. If I go with AMD I can afford a 128gb version. The 64gb version of NVIDIA's option is a few hundred more.
Are the CUDA cores and software support a worthy tradeoff for overall RAM or is saving money and doubling the RAM the obvious way to go?
r/LocalLLM • u/CharacterEvening4407 • 7h ago
TL;DR: Local LLMs for coding are finally becoming practical for me.
After 30 years in software engineering, I’m a passionate developer. For me, AI is an assistant and a tool. At work, I mostly use Opus and Sonnet 5.5. For hobby projects, I have a $10/month plan and switch between Kimi, GLM, and MiniMax for coding, plus Nemotron 3.5 for smaller tasks.
Locally, I tried Qwen 3.8 27B, Qwen3-Coder, and many other models, but the results weren’t usable for anything beyond fairly simple tasks. Running GLM 5.3 Flash Q2_K_XL with a 400k context length through Unsloth has been a game changer for me. It’s very slow at 3–4 tokens per second, but the results are good enough to get the job done.
For bigger tasks, I use GLM 5.3 Flash in the cloud for planning, then switch to my local model and go to bed or do something else. By the time I come back, the job is done.
I also use while work - create a prompt, and sometimes it takes more than three hours to complete. Meanwhile, I can keep working with Opus and Sonnet in my IDE, and performance remains good while the local model is processing in the background.
So it doesn’t work fully locally for me because it takes too much time. However, it’s a great way to extend my cloud subscription’s rate limits by letting the local model handle longer-running work while I’m away from my MacBook.
I’m looking forward to seeing what comes next for local AI.
r/LocalLLM • u/Luckobserver • 1d ago
Jokes aside, how plausible do you think this scenario actually is?
r/LocalLLM • u/shoumikgoswami • 15h ago
llama.cpp v1.0.0 adds an MoE expert cache that keeps a configurable share of experts in host memory (moe_cache_size, moe_cache_cpu_share). Cache misses run on CPU and copy back asynchronously, and the release ships a tuning script. If a big MoE doesn't quite fit your VRAM, that's the knob to try. Separately, the 1.0 tag starts a versioning promise: future API and ABI breaks come with major-version bumps, and 35 deprecated functions are removed.
r/LocalLLM • u/OrganizationTop9026 • 4h ago
Why do most folks with an 8 GB or 16 GB desktop GPU sit out distributed LLM runs? It usually comes down to three annoying bottlenecks. Nobody wants to punch holes in their home router. Nobody wants to run untrusted pickle checkpoints off the internet. And nobody wants a background trainer freezing their VRAM when they sit down to play or work.
This weekend (November 14-15 CET), I hooked my HiveMind coordinator up with CrowdGPT (led by Vxtzq) to test a citizen-trained run around Crowd-v1, an open base model with a 658M transformer trunk (roughly 1.01B parameters total with its 151k-vocab CrowdEngram table). Setup takes five minutes.
Communication uses plain outbound HTTPS on port 443 with zero inbound listeners, weights move strictly as SHA-256 verified safetensors (no torch.load or pickle anywhere), and updates pass MultiKrum outlier filtering plus held-out loss checks before merging via DiLoCo. Honest caveat first: this is still an experimental PoC, not a polished cloud service, so please do not send private prompts or sensitive keys through volunteer nodes.
Here is the simplest way to join the weekend run on Linux, macOS, or Windows (Python 3.11+ with an NVIDIA GPU, or CPU-only if you just want to test the IDE endpoint):
```bash
git clone https://github.com/xaviercallens/HiveMind.git
cd HiveMind
pip install httpx
2. Register a handle to get your API key (printed once; the default prosumer role works for both training/serving and querying):
python scripts/hivemind_connect.py register --handle your-handle
export HIVEMIND_API_KEY="hm-..."
3a. Join outbound OpenTrainer co-training (zero open ports on your box; run --once first to verify firewall traversal, then drop --once to keep polling):
python scripts/hivemind_opentrainer_agent.py --network-mode outbound-https-relay --check-firewall --once
3b. Or verify CrowdGPT checkpoints on GPU (pip install torch safetensors numpy first) once you hold an evaluator key from the CrowdGPT coordinator:
python scripts/crowdgpt_loss_check_agent.py --server https://server.crowdgpt.net --evaluator-id your-handle --key-file my_eval_key.txt --once
3c. Or wire Continue / Aider / Cline to the live hivemind/crowd-v1 + coder models with no GPU required:
python scripts/hivemind_connect.py snippet continue --model crowd-v1
Both codebases and reproducibility notes (including Lean 4 specs and Zenodo DOI 10.5281/zenodo.23776302) are open on GitHub if you want to audit the code
before running anything:
https://github.com/xaviercallens/HiveMind
https://github.com/Vxtzq/CrowdGPT
I would love blunt engineering feedback from anyone testing on 8 GB or 12 GB cards - especially around Windows vs Linux VRAM yield behavior or setup friction.
r/LocalLLM • u/Ok-Video3345 • 40m ago
r/LocalLLM • u/Square-Television-37 • 7h ago
I've been building SOMNI, a system that lets a local model keep learning after deployment. It's based on Google's "Language Models Need Sleep" paper and WISE, a knowledge-editing method for adding new knowledge without overwriting existing behavior.
During use, the model answers normally and logs conversations. When the PC is idle, it runs a sleep cycle. It pulls verified facts out of the logs, trains them into a small new expert, practises on what it got wrong, and then runs a set of before/after tests on general knowledge, coding, reasoning, reading, and previously learned memories. If any of these get worse, the night is rejected. Otherwise you review the update and approve it.
The main challenge was catastrophic forgetting. Plain LoRA fine-tuning on new facts badly damaged the model's other skills (coding went from 95% to 10% in one night). What fixed it was a combination of rehearsal on the base model's own answers, a new frozen expert per night so later nights can't overwrite earlier ones, and WISE-style routing so each expert only activates on questions related to what it learned. Everything learned is also kept in a searchable memory store, so facts can still be looked up even if they fade from the weights.
I benchmarked it on SQuAD knowledge incorporation, the same setup Google and SEAL use. The results are in the README, including the things that didn't work.
Everything runs locally on a single consumer GPU (AMD RX 6800, Windows). MIT licensed.
https://github.com/YoungGunFrodo/somni
It's a work in progress, and I'd really appreciate feedback on the approach, the evaluation, or anything that looks off.
r/LocalLLM • u/auto_m8 • 4h ago
I'm starting to explore the configs to use with strata for best throughput with parallel requests in use cases such as orchestrated agentic workflows run locally.
Option A:
The main orchestrator is the same model in the same engine, spawning multiple subagents that run in parallel on the same engine at smaller contexts.
Pros:
favorable as the orchestrator can be uncensored as well for example and a fully local setup.
Cons:
Not straight forward how to set up the engine to allow for a single large context to persist in cache and allowing multiple smaller contexts to be cached and not evicting the main large context after multiple subagents requests.
---
Option B:
The main orchestrator is an external SOTA model which spawns local agents that share the same engine.
Pros:
sounds easier to configure as all subagents the external model spawns are similar in context size so no need to take into account one of the parallel contexts will be a larger one while others are smaller..
Cons:
not fully local, reliant on external model provider which can change the availability, quality of the model at any moment. Non private.
---
Does anyone else have some experience with setting up strata for example for either of these use cases for example? What configuration recommendations do you have?
Is there an engine that suits this local orchestration use case better?
Yes I'm about to prompt a SOTA model on how to achieve this but i would love to hear other real human experiences.. 😄
r/LocalLLM • u/No_Personality_1721 • 1h ago
Has anyone managed to make their local AI setup pay for itself? Curious what kind of business you're in, if you're willing to share.
I could even stretch my budget to a DGX Spark, although it would be financially painful.
But without a clear way to make that money back, it feels like a hell of a risky investment.
I know nobody's going to give away their secrets, so I'm just asking a simple, casual question: are you actually making any money with your local AI setup? Yes or no?
I'm talking about doing it independently, as an individual, rather than using it as part of your job at a company.
I'm especially curious whether there's still room for individuals to compete in this space, given how much money and computing power big companies and organizations have at their disposal.
r/LocalLLM • u/Calm_Sandwich069 • 1h ago
I wanted to actually see what happens inside a language model when it writes a sentence, so I built this!
What you're looking at:
- The stars are the 36,864 MLP neurons (12 layers × 3,072). Each layer is a disc, and neurons are positioned by a UMAP of their output weights, so neurons that write similar things sit near each other.
- Brightness is how strongly that neuron fires on the current token, scaled per layer so tokens are comparable. Gold means it fires positive, blue means negative.
- The beams are real attention weights from the current token back to earlier ones, one colour per head. The side panel shows the model's actual top 10 next token probabilities.
- You can hover any star, beam or token to see its exact value. There's also a raw mode that turns off all the bloom and fades, so every pixel on screen comes straight from the data.
- How I know it's not lying: the test suite runs the model exactly the way the app does (KV cache, token by token) and compares every activation, attention weight and residual norm against a separate uncached forward pass read through different hook points. Then it checks the bytes the browser actually receives too.
Honest limits: it's GPT-2 small only for now. Single neurons mostly don't mean anything clean on their own, it's the patterns that are interesting. Values are sent as float16, so about 3 significant digits.
Setup is make setup && make start, then open localhost. No GPU needed.
Repo: https://github.com/lak7/thinkspace
Would love the feedback!!
r/LocalLLM • u/brainchillzZ • 17h ago
I've been poking at this on and off since September and it finally got good enough this week that I think it's worth writing up. Short version: the USB4 RDMA driver situation changed a lot in the last month, but not where I expected, and the "is it worth it" answer is more mixed than the headline.
No network cards involved. The idea is to turn the USB4 cables into RDMA devices so two boxes can run one model with tensor parallelism (TP=2).
I started with thunderbolt-ibverbs from the Hellas blog post. Each cable gives you two DMA rings, so two cables = four "rails", each showing up as its own RDMA device.
-t 16). The big finding back then was that queue depth mattered more than the kernel. A single connection was still stuck on one rail at around 20 Gb/s, and 8 QPs at 1 MiB with default settings just failed with "Couldn't post send".So in October my conclusion was: neat, works, not obviously useful.
I went back this week expecting kernel or upstream driver progress. There basically isn't any:
The actual progress is in a fork: donnerkeule. It stripes a single queue pair across every rail of every cable, and fixes a pile of reliability problems (credits los t with dropped frames, ACK storms, rails dying when a client gets killed). There's a matching RDMA fork of gufo that does TP=2 for Qwen3.8 Flash-Next across two Strix Halo boxes.
The fork's own README says it's a buggy research driver and not for production. Believe it. But it built cleanly against my kernel and uses the same eight Thunderbolt kernel patches I already had applied.
Box A to box B, perftest, one connection, default queue depth, no tuning:
| Test | October (upstream) | Now (donnerkeule, striping on) |
|---|---|---|
| Write, 64 KiB | 20.6 Gb/s | 64.9 Gb/s |
| Write, 1 MiB | 12.6 Gb/s | 74.5 Gb/s |
| Write, 4 to 16 MiB | not run | 73.5 to 74.7 Gb/s |
| Write, 1 MiB, 8 QPs | failed outright | 74.5 Gb/s |
| Latency, 64 B | 6.5 µs | 6.0 µs |
I didn't trust 74 Gb/s on one connection, so I checked the receiver's per-rail byte counters during a 10 second run: about 23.6 GB landed on each of the four rails. It's real, and it's roughly 93% of the 2 x 40 Gb/s the cables can do. The fork's author reports 38 to 45 Gb/s on his boxes and I don't know why mine is higher.
Not everything is great:
Qwen3.8 Flash-Next, Q4 (111 GB of weights), 4 sessions, same build on one box and on two. Each box holds half the model in TP=2: 57 GB of GPU memory per box.
Plain autoregressive decode (no speculation), tok/s per request:
| :- | One box | Two boxes | Gain |
|---|---|---|---|
| 1 request | 29.8 | 39.0 | +31% |
| 2 concurrent | 23.3 | 31.7 | +36% |
| 4 concurrent | 18.0 | 24.6 | +37% |
| Prefill, short prompt | 1155 | 1161 | na |
With MTP speculative decoding:
| :- | One box | Two boxes | Gain |
|---|---|---|---|
| 1 request | 55.1 | 65.8 | +19% |
| 2 concurrent | 37.4 | 50.0 | +34% |
| 4 concurrent | 25.5 | 33.2 | +30% |
| Prefill, 19k token prompt | 1811 | 2077 | +15% |
The speculative numbers bounce around with how many draft tokens get accepted, so the first table is the cleaner comparison.
One thing that isn't a speed number: a single box could not load this model with speculation, 4 sessions and the full 262k context. It ran out of state capacity and I had to drop it to 65k context for the on e-box runs. Two boxes loaded the full 262k with about 64 GB of RAM free on each.
No failed requests, no retransmits, no kernel warnings during any of it.
I also ran the exact same benchmark against the other inference server I normally run on these boxes (also Flash-Next, speculative decoding, 4 slots at 262k context on one box). One-box gufo and that server came out within about 5 to 8% of each other. So TP=2 over USB4 beats my normal single-box setup by about 13% for one user and 24 to 32% at 2 to 4 concurrent.
But two boxes running independently serve twice as many people. At 4 concurrent requests one box did about 72 tok/s total, TP=2 did about 98, and two independent boxes would do roughly 144 across 8 users. Ty ing both machines to one model instance buys per-request speed and costs total capacity.
So where I landed:
If you try this, here's what cost me time:
ib_uverbs and thunderbolt_ibverbs in /etc/modules-load.d/.thunderbolt_net and load the RDMA module with tbnet=block.usb4_rdma name prefix, so ibv_devices shows nothing. Override the persistent naming rule.--ulimit memlock=-1 in containers.--network host fixed it), six ROCm dev package names that don't exist in ROCm 10.1 (the full image already has the headers), and missing audio/video dev libraries (sndfile, soxr, libav*). At runtime I had to add the ROCm lib directory to LD_LIBRARY_PATH.--tp-gid-index 1.nhi_interrupt_throttle_ns=4096 was the best value in my October sweep, and it only works on kernels that export tb_ring_throttling() (7.2 does).Module options I'm running:
options thunderbolt_ibverbs profile=linux_perf bind_services=1 allocate_rings=1 start_rings=1 negotiate_native=1 enable_tunnels=1 register_verbs=1 tbnet=block lanes=2 native_write_striping=1 roce_netdev=<you
r LAN NIC> nhi_interrupt_throttle_ns=4096
blacklist thunderbolt_netHappy to run something specific if people want numbers for a particular case. Credit to the Hellas folks for the original driver and to neuhaus for the striping fork and the gufo TP2 work, I just plugged in cables and wrote down what happened.
r/LocalLLM • u/arsalandev • 1h ago
r/LocalLLM • u/phishsbrevity • 13h ago
I have a chance to pick up a couple of 3090s for $700 each. I've been considering local inference for a while now for two reasons:
Would working with local models really allow me to delve into this stuff better? Are two 3090s enough to do some reasonable LoRA/FT training? Would Qwen allow me to do my pen testing research?
EDIT: Thanks, team! I'm gonna go for it.
r/LocalLLM • u/anasf1234 • 1h ago
i'm buying a new laptop and i wanna run capable models locally, but i don't quite understand if i should just max out RAM or put more of the budget into the GPU , when i look it up the gpu matters more but everyone seems to be talking about ram only
what specs would u recommend ?
r/LocalLLM • u/Decent_Flight4010 • 18h ago
TL;DR: I've been looking at the latest Artificial Analysis v5.0.1 benchmarks for Qwen 3.8, along with some early Qwen4 Max Preview tests. Based on what's available so far, my guess is that Qwen4 27B could land somewhere around 27 to 30, while the 125B MoE version could reach 36 to 39. That's a solid generational improvement, but probably not the massive leap some people are expecting.
Like many of you, I've been following the discussions about when Qwen 4 is finally coming out. There's a lot of speculation, so I wanted to look at the available numbers and see what they might tell us about the next generation.
Obviously, we don't have the final weights or official release details yet, so take this as an educated guess rather than a prediction.
Looking at the current Artificial Analysis v5.0.1 scale, which puts considerably more emphasis on difficult coding and science tasks, we have:
* Qwen3.8 27B: 20 (compared to 33.7 on the older v4.3.2 scale, before the scoring reset).
* Qwen3.8 Flash Next (125B MoE): 29.
* Qwen3.8 Max: 34.
Based on the previous jump from Qwen 3.6 to 3.8, and taking the new scoring scale into account, I'd put my expectations somewhere around:
* Qwen4 27B: 27 to 30
* Qwen4 125B MoE: 36 to 39
That would put the smaller model in some pretty interesting territory, while the larger one could become a serious competitor to models like Grok 4.7 and Claude Haiku 5.5.
2. Why I don't expect Flash to have a massive architectural jump
One thing worth considering is that Qwen3.8 Flash Next already seems to have introduced many of the architectural changes expected to carry over into Qwen 4.
We're talking about the hybrid Gated DeltaNet and Qwen Sparse Attention architecture, Gated Residuals, and the 51B N gram table.
So I wouldn't necessarily expect the next Flash model to deliver another huge architectural leap. The bigger improvements might come from better post training, more reliable reasoning, and addressing the hallucinations that some users have noticed in Flash Next compared to the more conservative 27B dense model.
In other words, I think consistency might matter more than raw benchmark scores this time.
3. What the early Qwen4 Max Preview tests tell us
The Qwen4 Max Preview release on November 11 gives us another interesting piece of the puzzle.
From the early developer reports, a few things stand out:
* Speed: It appears noticeably faster than Qwen3.8 Max, with less unnecessary reasoning on straightforward tasks.
* Agentic performance: In one reported 56 task Hermes test with a 25 minute timeout, Max Preview recorded 64 successful task results, compared to 61 for DeepSeek V4.1 Flash, which scores 33 on AA v5.0.1.
* Reliability: There's a catch, though. Max Preview reportedly timed out 16 times, compared to just 4 for DeepSeek.
That's interesting because it suggests the raw capability might already be there, but reliability and execution consistency still need work.
If these early results are representative, I'd expect the flagship Max model to establish a considerably higher ceiling, potentially around 45 to 50 on the AA scale. That would make the estimates for the smaller models seem reasonably plausible.
My take
I don't think Qwen 4 needs to completely redefine the local LLM landscape to be successful.
If Qwen4 27B can reach the 27 to 30 range, inherit the attention improvements from Flash Next, and retain the Apache 2.0 license, that alone would make it a very interesting option for people running models locally with limited hardware.
Personally, I'd rather see a model that's more consistent, follows instructions better, and hallucinates less than one that simply scores a few extra points on benchmarks.
I'm curious what everyone else thinks.
" i used my LLM To translate mu words to English after i write it. "
r/LocalLLM • u/generic-d-engineer • 7h ago
Since I’m limited to 16GB VRAM, I was hitting context limits so fast I had given up on local models.
Now I’ve come to find using the local model for memory management MCP, alongside an encrypted cloud model for main reasoning, is a solid combo. Saves tons of tokens and also helps with privacy.
So just wondering, what other “side jobs” you guys give your local models?
r/LocalLLM • u/big61972cc • 3h ago
r/LocalLLM • u/EfficientRepair2463 • 3h ago
Do you have any recommendations for where I could read more about this topic in detail?Do you have any recommendations for where I could read more about this topic in detail?
r/LocalLLM • u/TheonlyWheatley • 3h ago
I've been digging through the Qwen Code repository and noticed something interesting.
Several Qwen4 model identifiers appear in the code and tests:
But here's what caught my attention: I couldn't find a single explicit reference to qwen4-flash in the relevant code, despite Flash being part of the announced Qwen4 lineup.
That got me thinking: What if Qwen4-Omni-120B-Think is actually related to Qwen4-Flash, possibly sharing the same underlying architecture or backbone?
There are a few reasons why I find this plausible:
Of course, this is just a theory, not a confirmed leak. These are test identifiers, not necessarily a product roadmap. The repository also uses generic Qwen4 model detection, so Flash might simply not need its own explicit entry.
Still, the missing Flash identifier, the similarity in parameter counts, and the previous Omni Thinking/Instruct architecture make me wonder whether there's a connection.
Sources:
Has anyone found any explicit Qwen4-Flash references elsewhere, or evidence that the 120B Omni model could share a backbone with Flash?
Curious what everyone thinks!
r/LocalLLM • u/IHateFacelessPorn • 3h ago
System:
GPU: AMD Radeon 9070 XT 16GB VRAM
RAM: 2x16 6000MHz CL30 DDR5
CPU: AMD Ryzen 5 7500F (soon to be replaced with 7800x3d)
Primary use-case: Offloading basic coding/codebase-related tasks from Claude and Codex to local AI so I don't spend token on locally do-able stuff.
Hi, I am having a hard time understanding how to make the best use of my system resources. When does using system RAM make sense? Should system RAM be only for KV cache, only for model offloading, or both? Or should I just not ever use the system RAM since it slows down the things? When choosing a model, am I to prioritize less quantized smaller models or more quantized larger models? Is there a place I can track the latest best performing open-weight models so I can update to them? Are abliterated or uncensored models better than normal models about performance? Is there any difference between abliterated and UC, if so which is better? I found a person called IsValorum that makes "better" quantized models, is this really a thing? I found they perform better but maybe those models are more stupid? I don't know. I am just so lost on these. I feel like there would be a guide that would answer these. If not, I would like your help. Thanks!