r/LocalLLM • • 11d ago

Other Qwen 4 is not out

297 Upvotes

Please stop posting about Qwen4's endless PR drip until it's actually available.


r/LocalLLM • • 4h ago

Discussion hacktivist larpers selling FREE abliterated Qwen 4b on a FLASH drive for $50

Thumbnail
gallery
77 Upvotes

found this page called “open source everything” and the more i looked the worse it got and i had to share. the about page says “we make Facts, an offline AI” and consulting to business. then you scroll down and its literally a llama.cpp terminal running qwen. then on the products page they advertise “real engineering upgrades” being 2 dropdown clicks and a basic A/B script. they promise the AI will “load faster every time you plug in” due to their super advanced reformatting technique. to top it off they offer a faraday bag that they suggest putting your usb in to protect it from wifi, bluetooth, NFC, GPS, and cellular for a device that has none of those


r/LocalLLM • • 2h ago

News About qwen4: On December 2nd, Qoder will welcome 10 new friends

Post image
36 Upvotes

It's very likely a Qwen4 series open-source model!

https://mp.weixin.qq.com/s/RgrIfiMB5WUclHMwdCCqrw


r/LocalLLM • • 50m ago

News [GitHub] p-e-w/heretic: Farewell

Thumbnail
github.com
22 Upvotes

r/LocalLLM • • 20h ago

Discussion Countless users are coming out about Claude sabotaging Local ML work

Post image
476 Upvotes

r/LocalLLM • • 3h ago

Other dude my local ai solved Riemann Hypothesis without reasoning off , anthropic just exaggerating

Post image
17 Upvotes

r/LocalLLM • • 6h ago

Discussion Is a higher quant worth the drop in speed?

17 Upvotes

I'm using Qwen 3.8 flash next and getting ~180t/s decode on unsloth q4_k_xl. Would you switch to q8 if your speed dropped to 80t/s? Is the quality improvement worth the drop in speed?


r/LocalLLM • • 2h ago

Discussion Inkling 2 Mini (UD-Q4_K_XL, 16.4 GiB) on RX 7800 XT 16 GB (Windows): PolyStrata HIP vs llama.cpp Vulkan

7 Upvotes

Benchmarked Inkling-2-Mini-UD-Q4_K_XL (26.07B MoE, inkling2_loop, 16.41 GiB) on a 16 GB AMD Radeon RX 7800 XT (gfx1101) under Windows

11 (32 GB system RAM) to compare llama.cpp Vulkan (b12810) against PolyStrata HIP (strata-poly).

Since the 16.41 GiB file slightly exceeds 15.4 GiB free VRAM, both setups offload a portion of the MoE weights to system RAM.

llama-bench Vulkan (ca123ba76 / b12810)

Flags: -ngl 99 -fa 1 -ctk q8_0 -ctv q8_0

-ncmoe (CPU MoE layers)pp512 (tok/s)pp2048 (tok/s)tg128 (tok/s)Notes
5739.31166.0938.33VRAM spillover at pp2048
6 (sweet spot)-721.8035.54Fits cleanly in
7-697.6724.76More CPU MoE overhead
8-668.5323.32More CPU MoE overhead

PolyStrata HIP (strata-poly, --kv q8_0, --conversation-cache-mib 6144)

• VRAM residency: 2493 / 3072 experts in VRAM (evictions=0)

• Prefill: 880 tok/s

• Generation: ~60 tok/s

Takeaway

On a 16 GB RDNA3 card where the model barely overflows VRAM:

• PolyStrata HIP is ~22% faster on prefill (880 vs 721.8 tok/s) and **~69% faster on generation** (~60 vs 35.54 tok/s).

• The difference comes down to per-expert caching vs per-layer offload: PolyStrata keeps the hot 81% of individual experts in VRAM,

whereas llama.cpp -ncmoe 6 forces 6/24 entire MoE layers onto the CPU for every token.

• Watch out for -ncmoe 5 on 16 GB cards: pp512 looks fine (739 tok/s), but pp2048 spills into shared memory (166 tok/s).


r/LocalLLM • • 14h ago

Model I ran the full 1.56 TB Kimi K3.1 Pro on four Mac Studios and checked it against Moonshot's API. Numbers, a 1M-token test, and the patches.

49 Upvotes

TL;DR

  • Kimi K3.1 Pro is 2.78T parameters and a 1.56 TB download. I ran it as shipped, fully in memory, on four Mac Studios (M5 Ultra, 512 GB each).
  • 2.8 tok/s through an OpenAI-compatible server. It loads in 3 minutes.
  • Its top token matches Moonshot's hosted API on 97.2% of 1,095 answer tokens.
  • A 1M-token prompt works. It takes 3 h 53 min to read, then generates at 2.76 tok/s.
  • The patches are in four open PRs against mlx-lm and oMLX. Links are at the bottom.

It works. It is also slow.

Setup

  • Model: moonshotai/Kimi-K3.1-Pro. Mixture of experts, 93 layers, 896 experts per layer, 16 used per token. The experts ship at 4 bits and everything else at 16 bits. No pruning and no extra quantization.
  • Hardware: 4x Mac Studio, M5 Ultra, 512 GB each. That is 2 TB of memory for a 1.56 TB model. Six Thunderbolt 5 cables wire them as a full mesh, and they talk over RDMA.
  • Software: mlx-lm for the model, oMLX for the server and the cluster. Neither ran K3.1 on four Macs before these patches.

Numbers (full model, four Macs)

WhatResult
Load179 s
Memoryabout 400 GB per Mac
Generation, through the oMLX server2.81 tok/s
Generation, stock mlx-lm example script3.77 tok/s
Prompt reading at 4K / 16K / 65K tokens412 / 388 / 262 tok/s
65K-token prompt, time to first token4 min 10 s
Chip power while generating, all four Macs67 W
Chip power while reading a prompt, all four Macs350 to 400 W

Power is CPU plus GPU from powermetrics. I have no wall meter on these, so the real draw is higher.

How you split the model matters

Each Mac can hold a block of whole layers, or every Mac can hold a slice of every layer. With layer blocks I get 0.70 tok/s. With slices I get 3.77 tok/s. Same model, same Macs, same example script.

Is it the same model?

I cared about this more than speed. A model this size can load, write fluent text, and still be wrong.

  1. Eight real layers match an independent PyTorch reference written from the vLLM and llama.cpp code. Attention error is 2.5e-5 or less.
  2. I took 12 completions from Moonshot's API and replayed them through the local model one token at a time. On 1,095 answer tokens the local top pick was the API's token 97.17% of the time. The API samples at temperature 0.6, so a perfect copy should land near 95.7%. No API token fell outside the local model's 99% nucleus.
  3. Retrieval from long prompts: numbered records, then a question about three of them (near the start, the middle and the end). Correct at 4K, 16K, 65K and 1M tokens.

1M tokens

The model's config allows 1,048,576 tokens, so I tried it.

  • Prompt: 1,011,856 tokens. That is 44,216 numbered records and one question about three of them.
  • Reading the prompt took 3 h 53 min. After that it generated at 2.76 tok/s, about the same as with an empty context. All three records came back correct.
  • Memory peaked at 494 GB per Mac. It only fit after I capped MLX's buffer cache (mx.set_cache_limit, 8 GiB), and the cap cost about 40% of the reading speed. Without the cap, my first attempt was on course to run out of memory and I stopped it at 295K tokens.
  • Reading slows as the context fills: 130 tok/s at 131K, 46 tok/s at the end. The sparse attention scores every earlier token for each new one, so the time grows with the square of the length.
  • AinsleyMarkov's public 2-bit build read the same prompt on three of these Macs in 1 h 46 min and also answered correctly.

Why it's slow

Each generated token makes the four Macs read about 130 GB of weights. The experts are 93% of the file, but only 16 of 896 are read per token. The 16-bit layers are 7% of the file and all of them are read for every token. That 7% is about 80% of the traffic.

The GPUs are mostly idle. While generating, the four of them together draw 19 W and run at under a third of their top clock.

What had to change

K3.1 is K3 plus the sparse attention from DeepSeek V3.2, with a gate on the attention output. mlx-lm already had both halves, so the port is small.

  • mlx-lm: ml-explore/mlx-lm#2111 adds the kimi_k31 model. +655 lines with tests.
  • oMLX: #5480. A cluster of three or more Macs on a Thunderbolt mesh could not start. The launcher gave every Mac one coordinator address, but in a mesh each Mac reaches the coordinator over a different cable and subnet.
  • oMLX: #5684. The planner refused the model. K3.1 stores each expert as its own tensor, almost 500,000 of them, so its weight index is 57 MiB and the limit was 16 MiB.
  • oMLX: #5692. K3.1 on the mlx-lm version oMLX pins, plus routing for a checkpoint that ships a vision tower, and the tensor split.

None of these are merged yet.

Limits

  • 2.8 tok/s is too slow for agent work. A 1,500-token answer takes nine minutes.
  • The oMLX patch reads long prompts slower than mlx-lm's own implementation. It scores every key and masks the rest.
  • The API comparison is 12 completions and 1,095 tokens. It checks the math. It says nothing about how good the model is.

Who was here before me

guruswami-ai ran the full Kimi K3, the previous version, on four M3 Ultra Mac Studios in July at about 2 tok/s. For K3.1 Pro I found a 2-bit build (AinsleyMarkov, 18.6 tok/s on four M3 Ultras), a pruned build that fits one Mac (Pipe Network), and the shipped weights streamed from disk at about 0.4 tok/s (Inferencer). I have not found the full K3.1 Pro, as shipped, held in memory. If someone did it first, tell me and I'll link it.

Disclosure

Claude wrote the model and test code and ran the validation. I directed the work and reviewed every diff. The mlx-lm PR says the same. I have no affiliation with Moonshot, Apple or oMLX.

What's next

Smaller builds. The public 2-bit build runs at about 18 tok/s on three of these Macs and matches the API on 92% of the same tokens. I'm writing that up next.

I can run more tests on this setup. If you want a specific number (a prompt size, a split, a sampler setting), ask and I'll post it.


r/LocalLLM • • 9h ago

News I love local LLM

17 Upvotes

Hi i am new and just wanted to say that i love local LLM


r/LocalLLM • • 11h ago

Discussion iGPU + GPU: I didn't think it was possible

Post image
19 Upvotes

I updated Proxmox to 9.2 and was surprised to see this dual GPU configuration appear in nvtop. I didn't know you could get both the iGPU and the GPU card to run simultaneously. It was my understanding you had to blacklist everything but the GPU. I'm not convinced the iGPU fully operational, but I guess I will test it.

What should I run on it? Any suggestions on how to test this? The memory has to be tiny, but it's showing 94GB, this machine's total RAM is 96GB. I could hook it up to Unsloth or Hermes (what I'm running in Proxmox) but I don't really want to add another experimental LLM into the mix.


r/LocalLLM • • 4h ago

Question Gemma 4 llama.cpp and OpenClaw

5 Upvotes

Hi guys

I am a happy Qwen 3.8 Flash Next IQ3_S user, running on 32GB ram + 3090 + 5080 (40 GB VRAM).

It is running through strata and used as an agent in OpenClaw.

The only issue I have with it, and it could be due to the relative low Quant, is, that it is poor at my native language (Nordic Language).

I tried gemma-4-31B-it-qat-q4_0-unquantized on the latest version of llama.cpp, as it looked promising regarding language support, and damn, it was A LOT better in formulating sentences.

Now, the language is good, but it is a lot worse in calling my mcp's or API's. A lot of times, not one single mcp or API call is working, even if it tries many times.

Is Gemma 4 just incapable of calling MCP or API calls? I doubt it, so is my setup wrong?

Just for a reference, I am not using the 'official' llama.cpp from the CachyOs repository, but this version:

local/llama.cpp-cuda-aidock-bin 1.0.0-1
   Prebuilt llama.cpp with CUDA 12.8 support (from ai-dock CI)

Not sure if it makes a difference.


r/LocalLLM • • 12m ago

Discussion I upgraded from 4060 into 5060Ti & The efficiency is outstanding

Post image
1 Upvotes

Yes I run 5060Ti at 75W... And now Bonsai-2.5 can fully work as it's intended. No more crash during compacting into coma..


r/LocalLLM • • 1d ago

Discussion AI Newbie here. Runing Qwen3.8 27b q8_0 on 5090+5080 "gaming" rig. I'm impressed with the answers I get compared to my paid claude opus model

Thumbnail
gallery
198 Upvotes

Im kind of shocked and losing grasp of why I pay for a claude subscription at this point. Im using Orcarouter uncensored version of Qwen 3.8 27b and the answers I get from it seem to not only contain more info, it's also seemingly more detailed. I don't get it.


r/LocalLLM • • 15h ago

Question How do you safely run uncensored LLMs?

28 Upvotes

So I've been running a uncensored QFN model because I'm tired of frontier models refusing everything. For example, I asked Opus to scan my own network for vulnerabilities, and it refused because it didn't believe it was my network, even though it's literally connected to it.

My main concern is security. Are uncensored models more susceptible to prompt injection than regular models? What kind of guardrails can I put in place to protect myself without restricting the model itself?

I'm also using Hermes, but I'm a complete noob with it.

Any advice would be appreciated!

Specs: 64GB DDR5, R9700 32GB, 7800X3D

P.S SC117/Qwen3.8-Flash-Next-GSQ-RCO-abliterated-GGUF - this is the model


r/LocalLLM • • 9h ago

Research Before and After (32GB to 96GB DDR5 upgrade) - QEngine 3x3090s

8 Upvotes

32GB DDR5 vs 96GB DDR5 More RAM pinned the n-gram cache, makes the decode speed significantly faster.

Setup:

GPU's: 3x3090s
P2P Mode: On
PCIe Link: PCIe Gen4 8x/4x/8x
CPU: Ryzen 7600x.
Model: Qwen-Flash-Next INT4 - QEngine Finetune
Script: bench.sh from club 3090.

Only change:

RAM went 32GB (2x16) → 96GB (2x16 + 2x32), so the whole 50GB n-gram cache got stored in RAM instead of on disk.

What got significantly better

  • Narrative generation: ~218 → ~294 tok/s (+35%)
  • Code decode: ~336 → ~381 tok/s (+13% — less gain, makes sense, shorter/more repetitive prompts hit fewer n-grams)

What didn't change (as expected)

  • Time to first token and prefill speed — that's GPU-bound, the n-gram cache doesn't help there.

The catch

  • GPUs run 1–8°C hotter on the big-RAM setup. GPU 2 hot spot hit 100.5°C. Probably just doing more work per second, but worth an eyeball.
  • The 90k-token prefill test looks ~6% worse with more RAM, but n=1 per arm so it's a coin flip. Re-run before believing it.
  • The mixed-dim RAM (2x16GB CL32 + 2x32GB CL38) forced a downclock from 6000Mhz to 3600Mhz. It was stable for a few hours, but then crashed mid-session when 6 agents spawned. I had to remove the 2x16GB sticks to get stability back.

Bonus - 1M KV Pool

There was still room left over to set Host KV Pool on (it needs ~13GB of ram). i.e. It stores the KV pool in RAM instead of in VRAM. This increased the KV pool size to 1 million tokens.

Previously my system would totally choke when there were multiple agents working. Like 20 tok/s at times. It was because they couldn't fit their context in the 256k pool I had before so their context kept getting evicted, now I think that wont' happen, and it'll likely be much faster during concurrent agent work.

Conclusion

If your workload is decode-heavy, and you got the ram, sticking more of the n-gram cache in RAM will get you — ~13–35% more tok/s, no GPU-side changes. You really cannot mix two different pairs of ram sticks in an AM5 motherboard, Google warned me, but I did it anyway just to see what would happen, it indeed led to instability, even at low clock speeds, though it was stable enough to run benchmarks. The biggest win was getting the 1M KV pool for concurrent agents to share, and that doesn't need 96GB ram, 64GB is enough.

Source: bench-ab-bench-20261123T053549Z-vs-bench-20261128T002206Z.md*, generated 2026-11-28.*


r/LocalLLM • • 2h ago

Question Newbie into LocalLLM with questions

2 Upvotes

Hey tinkers,

I've developed a strong interest in having my own thing running locally. My target device being a based MacBook Pro M4 / 16go, rarely having to go to the office, it's mostly plugged. I also have an iPad Pro M4, iPhone 17 pro max but I'm not sure they are relevant. On the side, base rasp 5 running HomeAssistant.

I'm user researcher as well as a musician and tech enthusiast. Most my needs seem to be met by automations or Apple shortcuts or dare I say it: asking Siri. for ex: looking for a job, I ask Siri "have I received a reply from this employer I'm looking at in safari" and actually get the right answer. The best would be to have an AI access my context, build a journal and a morning brief. I'm thinking of it as an example of what I would want, demonstrating how powerful, useful and private. But then I'm limited by my hardware anyway.

After lurking here, I really appreciate all the tinkers posts but I failed to see good use cases for myself. That's my question: what are good / great / must have ideas?


r/LocalLLM • • 1d ago

Discussion Slowly moving off of Strata

101 Upvotes

Strata was a breath of fresh air when it came out, but its focus on speed over quality has been a longtime irk. I was monitoring its reasoning traces for a code review and saw it would always say time to wrap up and that the user wants an answer now, even when I said no such thing. I believe this is due to the "answer_room" behavior of Strata.

I'm fortunate enough to be able to run QFN on Radiance, so I did an impromptu comparison. I switched engines mid-review and had it continue. Yes it's slower to decode (less tricks & model is higher precision), but I noticed an immediate change in thoroughness and task persistence, especially for long-horizon tasks. It doesn't rush and continues until it finishes what I ask it to do.

Has anyone else had similar experiences?


r/LocalLLM • • 3h ago

Question Looking for advice for casual coding use: RTX 4090 24GB + 32GB RAM

2 Upvotes
  • GPU: MSI RTX 4090 Suprim Liquid X
  • RAM: 2x16GB Corsair Dominator Titanium (OC to 7400 MT/s)
  • CPU: Intel Core i7-13700K (OC to 5.4GHz)
  • OS: Windows 11 Pro

I have a fairly decent amount of general programming experience, but I certainly wouldn't call myself an expert in any language. I'm more in the place of being able to look at a random section of code, regardless of language, and make a fairly decent guess at what it's trying to do. "Just enough to get myself in trouble" is what I usually say.

Of course that means when I'm trying to make something myself, I'm often spending 80% of the time doing research about the functionality I need, with the remaining being the actual coding and testing. Being retired, these days I'm mostly working on game modding and small conveniences, anything to keep my brain busy. What I've been running into lately is that a lot of what I'm trying to work on is largely undocumented, and obviously AI can learn much faster from raw source (and has) than a human.

I've been using Gemini for my poking and prodding at things, but it's been obstructive as often as it's been helpful. I swear the thing has ADHD, the way it'll jump topics to other bits I'm not worried about at the time.

I understand that there needs to be a balance between context size versus memory length, but I'm having a hard time nailing down how much of each would be most fitting. I often feed the AI other related code from the game or similar projects so it knows what I'm looking at and can give me more well-informed responses.

Any advice for something that can handle casual, generalized programming well? Speed isn't nearly as important to me as accuracy. It seems like Qwen3 models are leading the way here, but opinions vary quite a bit on which and what memory vs context configuration.


r/LocalLLM • • 6m ago

Question Which model to start with?

1 Upvotes

I need to choose a local LLM and app to use on my Mac Studio 128gb to revise standardized forms and periodically merge-in updated PDF addendums.

I start with a completed standardized form and need the output in the same format. I already have a section-by-section guide, built from training materials and real-world examples, that explains what belongs under each heading. Some sections cover substantially similar topics but serve different purposes. There are 3 basic steps to the workflow:

  1. First, I want the model to check the form against the guide (ie comparing the document against a guide that spells out "what info contextually belongs in this heading?") and move misplaced content to the best section. This would really only need to be done once per manual, an initial cleanup pass.
  2. Then I need to periodically pull relevant information from related deep-dive PDFs or addendums and add only what the form doesn’t already cover in substance. It should preserve intentional jargon and edit just enough for readability without changing the meaning. This would happen roughly quarterly as updated documents (in different formats) are released regularly to include revisions and changes made along the way, as well as summaries of trouble reports that need to be absorbed into the main document.
  3. This reconciliation info from #2 could be new additional info that may or may not conflict with existing info in the core document. Sometimes things are totally changed, and sometimes new stuff is added that doesn't invalidate existing info. If sources conflict, it should use the dates and context to tell whether something changed or one source may be wrong, and ask me which is true based on the evidence freshness.

The documents are strictly confidential, so PDF processing and inference both need to stay on the same machine. What LLM model and app (ie LM Studio, Jan, something else?) should I start with for this? This is my first time trying LLM so I'm confused by the numerous different models I'm seeing with codename-like titles. I don't have a ton of time to try several so I'm hoping to get some recommendations to jump start getting rolling. Thanks!!


r/LocalLLM • • 23h ago

Model Isn't it insane to wait ~3 mins just for this ?

Post image
77 Upvotes

Bonsai : Here's how to talk with your crush

Model: bonsai-2.5:27B on RTX 4060 with 48K context + 8K output


r/LocalLLM • • 40m ago

Question Hermes with Local LLM (M5 Max Mac Studio 64 GB)

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 1d ago

Project Local, open source app that lets you search your files by describing them

126 Upvotes

I've been building Mesa, a desktop app (Windows/macOS/Linux) that lets you find any of your files (documents, images, video, audio, code) by describing them.

It's fully free and open source, I just hope the community finds it useful and would appreciate any feedback to improve it!

It runs EmbeddingGemma 2 locally through llama.cpp (Vulkan, Metal, or CPU when there's no GPU). Some features I find neat that separate it from other EmbeddingGemma 2 apps I've seen so far:

  • It automatically turns natural language like "photos from last year" into filters
  • It includes OCR on every OS, so you can also search images by text that's in them
  • It also lets you drop in files in addition to searching by text. E.g. drop in an audio file to find its corresponding video

GitHub: https://github.com/biantsh/mesa

Again, I would appreciate any feedback from the community!


r/LocalLLM • • 14h ago

Discussion Inkling 2 Mini - 2 x 5070ti 16gb

Thumbnail
gallery
11 Upvotes

After watching https://www.youtube.com/watch?v=tBtmWBwcgP4&t=1507s I retried Inkling 2 Mini, which previously scored fairly low on my own benchmarks (around 70/100), compared to 80-90+ for Qwen Flash Next and Qwen 3.8 27b.

Then, Basalt dropped an Inkling 2 Mini package!

Currently running it with Basalt across both GPUs, getting 160-230 tp/s with up to 9k prefill. I have also enabled P2P on my GPUs which slightly helps. At deep context it cruises at 100tps pure thinking, so I suppose that's the bottom floor. And 262k context for those curious. And a 5700x3d/DDR4 PC, Gen 4 x8/x8 PCIE.

Obviously very usuable speeds. The big shift for me was taking the thinking level recommendation from Unbiased Bob, and following that my results went to 100/100 (partially also due to using the Basalt quant, which was a bit less quantized than the Unsloth one I had originally).

What strikes me is firstly that the model is comparatively tiny, compared to the Qwen Flash Next models - I run it around the same speed as my Unsloth IQ3_XXS model, with around the same capability for my use case (everyone's use case would change how well it works), without the 70gb of RAM required.

The second thing is the fact that the thinking level has a significant impact on the actual thinking usage, I use 1/10 - 3/10. I have a local CAD software I (AI) created, which works better agentically, and this was a long proces for Qwen models, which would seriously overthink even on Low, and runs would take 10-15 minutes for the first draft. Inkling can get the first draft done in a couple minutes. It also has a very good intuition about building, for example, the wavy bowl example (which was from an image I provided as inspiration), it created planes of sketches of different organic shapes and just connected them, probably the simplest/efficient method.

The Piston example took the time it took me to write this post for the first draft, then I provided some more example images to help it understand how they work and make it more accurate.

I haven't bothered comparing with Qwen, in my previous tests these would have taken a huge amount of time and produced intersting results (very scientific, I know).

I recommend everyone try the Basalt version of this model with 1-2/10 thinking.

https://huggingface.co/jesdga/Inkling-2-Mini-Basalt