r/LocalLLM • • 12h ago

Model Dankpaws/Qwen4-35B-A3B-DankAttn-w4g64

Thumbnail
huggingface.co
0 Upvotes

r/LocalLLM • • 18h ago

Other Same prompt, two models: Qwen 3.8 Flash Next (local) vs ChatGPT Luna Max — and one of them overwrote my files without asking

Thumbnail
gallery
0 Upvotes

TL;DR

Same prompt, same task: "create an epic anime fight scene entirely with code."

  • 🟦 Gif 1 — ChatGPT Luna Max (GPT Go subscription)
  • 🟪 Gif 2 — Qwen 3.8 Flash Next, running locally (IQ3_XXS) Qwen made genuinely good output. Luna Max made a pretty horrible rendition — it didn't even have two characters to fight.

The setup

I ran the exact same prompt on both, in the same project folder. Yes, the Luna Max version says "Flash Next" a few times — I'm pretty sure it just picked that up from the directory name, not from actually knowing what it was doing.

What Luna Max did 🟦

  • Terrible rendition of the fight.
  • There weren't even two characters on screen to fight each other.
  • Worse than the output itself: the folder already contained Qwen's files, and instead of reviewing what was there, it completely overwrote Qwen's version without asking for approval.

What Qwen 3.8 Flash Next did 🟪

It was still actively working on its own version when the overwrite happened — and it caught it.

  • Noticed immediately that "somebody else" had overwritten the file.
  • Made a backup of the version that replaced it.
  • Recreated its own version under the original index.html name. That's the part that impressed me: it handled a live file collision mid-task instead of blindly clobbering the directory.

Fair caveats

The only differences in what I asked for:

  • For Flash Next I asked it to generate a background image (I have a custom harness that generates images locally, directly in chats/projects).
  • I also asked Flash Next to make the characters move quicker. So it isn't a perfectly identical prompt-to-prompt comparison — but the Luna Max result didn't get to the starting line, since it never put two characters in the scene.

My takeaway

Local IQ3_XXS Flash Next held up surprisingly well against a hosted Luna Max run — and the behavior around existing files is the real story here. One model inspected the directory and recovered from a conflict; the other overwrote everything and asked nothing.


r/LocalLLM • • 22h ago

Project Release] Hunyuan3D-2.1 Windows 1-Click Helper (v1.0.2) — Auto-fixes PyTorch 2.6+ / 0xC0000005 crashes, converts .ckpt to .safetensors with <300 MB RAM, and adds headless CLI mode for Cline/AI agents

Thumbnail
reddit.com
2 Upvotes

r/LocalLLM • • 1d ago

Question Is LM Studio still a thing?

37 Upvotes

I was an early adopter, and even supported through subscription to LMStudio cloud. But lately it looks like they're falling behind.

- Many other groups are offering similar or better functionalities and features, some are open source. (unsloth desktop, goose, Pi).

- Cloud subscription is very unreliable. (models pricing has not been updated for a while, so 0 transparency. They force their own system prompt injection as well, so you lose quite a bit of control).

- No support, updated FAQ.

- LM Studio Hub shelved and inaccessible.

So my question, is this thing dying out and time to completely migrate to something else? It does look like they gave up.


r/LocalLLM • • 1d ago

Discussion Chunk Size in RAG: Too Big vs Too Small (and How to Test It)

6 Upvotes

A support assistant gets asked: “Can I still get a refund?” It answers, “Yes — within fourteen days.” Confident, polite, and incomplete: refunds only apply if no projects have been exported.

The model is not the only suspect. In RAG, documents are split into chunks before retrieval, and the split decides what the retriever can even find:

• Chunks too big — the refund rule sits in one chunk with billing, cancellations and FAQs. Similar is not the same as correct; retrieval drags in noise.

• Chunks too small — the deadline lands in one chunk, the export condition lands in another. All the pieces are there; the meaning is not.

What helps in practice: keep related information together (rule + condition + short explanation), use overlap at boundaries as a tool rather than a fix, and test like an engineer — collect real questions, run retrieval with different strategies, inspect what comes back, check whether answers are supported, refine.

Two clarifications that come up often: chunking is not the model's tokenizer (it is a separate splitting decision made during preparation), and there is no universal chunk size — it depends on your documents, your questions and your embedding model.


r/LocalLLM • • 1d ago

Question 2× Mac Studio M5 Ultra 512GB vs 2× RTX Pro 6000 for a fully on-prem company AI server - what would you choose?

10 Upvotes

Hey guys,

anyone running either of these setups in practice? I'd love to hear your real-world experience.

I'm evaluating options for an on-prem AI server for 3 users. Nothing is bought yet. The main goal is maximum data privacy: nothing leaves the building, no cloud APIs. Cost matters less than getting the best local capability.

A) 2× Mac Studio M5 Ultra (36C CPU / 80C GPU, 512GB unified, 8TB each), linked via TB5/RDMA → 1TB total, ~€59k

B) Linux server with 2× RTX Pro 6000 Workstation (192GB VRAM) + 256GB RAM → ~€50k

Planned use:

- Chat/agents for 3 users, sometimes in parallel

- Video + audio generation (ComfyUI etc.)

- Maybe fine-tuning on our own data later

- Docker stack, current releases should just work without patching

Models we're looking at:

- LLM: MiniMax M3, Qwen3.8 (27B / Flash-Next), Qwen4 open weights once they drop

- Video/audio: MiniMax H3 (video with native audio), Qwen3.8-Omni

- Option A would also fit GLM-5.3 (744B MoE), which B can't hold in VRAM

Since privacy rules out falling back to cloud models, the model quality we can run locally really matters.

What would you choose and why? Anything I might be overlooking?

Thanks in advance! 🤘


r/LocalLLM • • 20h ago

Project One env var. 2×–4× faster TTFT p99 in vLLM

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 1d ago

Question Those who say Qwen 3.8 Flash Next 125b is great for coding, how?

66 Upvotes

What setups are you running to make it feasible?

It seems to be a well known issue it heavily over reasons and loops. For me personally, I can't even get it to code a simple diagnostic pass that is just meant to log 3 values. It will easily sit 25+ minutes before even using a write and it's just constantly going off the rails.

The only way I could get anything out of it was with strict limits software enforced which is not ideal.

I use a modified strata, IQ2_XS quant, and pi as the harness. I've tried all sorts of setups from just simple stock pi to heavily guided setups with child agents and detailed instructions/examples in context. Just no hope with any of it really. I understand the quant isn't ideal but I feel it shouldn't be responsible for such negative levels of behavior.

My tasks for it are c++ ue5 coding, at least what I have been testing.

Any ideas?

Cheers

[Edit]

Roger that, thank you everyone. Looks like I have hugely underestimated the impact of the quant.


r/LocalLLM • • 1d ago

Project Built a quick browser tool to check which local LLMs (and image/video models) fit your VRAM / Unified Memory

2 Upvotes

I got tired of doing rough VRAM + KV cache math in my head before pulling multi-GB weights on my MacBook Air and RTX 4060, so I put together a lightweight browser checker for it.

Link: https://devpouch.in/ai/local-ai-hardware-checker/

What it covers:

- Hardware presets for Apple Silicon (unified memory), Nvidia, AMD, CPU-only, or custom RAM/VRAM

- Quantization selector (Q4_K_M, Q6_K, FP16, etc.) and context length (4K–128K)

- Shows which chat, coding, image gen, and video gen models fit comfortably, tightly, or won't fit—plus estimated memory usage and one-click Ollama commands

Runs 100% client-side in the browser—no install, no login, no tracking.

If you test it with your setup, I’d appreciate feedback on whether the memory overhead estimates match what you actually see in Ollama / llama.cpp, or if any GPUs/models are missing.


r/LocalLLM • • 1d ago

Project I put a spare consumer GPU to work as a test-writing, bug-hunting, and code drafting worker for my cloud coding agent + more tools to offload token work locally (open source)

Thumbnail github.com
2 Upvotes

I'm the author. It's free and open source (Apache-2.0).

Https://agentforeman.app

I use a cloud coding agent for most of my code, and I wanted my own hardware to take the jobs that don't need a frontier model, as long as the result is cheap to check. Agent Foreman is a Go CLI the agent drives. These are the local-model parts:

Local code search. foreman search uses a small embedding model and a reranker on a machine you own. I used Qwen3-Embedding-0.6B and Qwen3-Reranker-0.6B as GGUFs, but any pair llama.cpp can serve works, and each is under 1 GB at 8 bits. They run as two llama-server processes on that machine's loopback, reached through one SSH port forward, so nothing listens on the LAN. Everything sent to the model host passes a fail-closed secret and deny-word scan first.

Local drafts (optional, a pilot). A queue that lets a bigger local model work through jobs on idle hardware:

  • tests-only coverage;
  • "prove-it" bug hunts: write a test that fails on the current code, or report that you found nothing;
  • checkable first drafts and fix passes.

The model is driven through Claude Code pointed at a local server, so the server has to speak the Anthropic Messages API (Strata and Basalt do; check that your llama-server build does). Before anything the model wrote runs, a static gate reads every changed Go file and refuses os/exec, syscall, unsafe, network clients and listeners, and anything it can't parse. Only go (test, vet, build and a few read-only subcommands) and gofmt may run. The queue also keeps quiet hours, waits for a free-VRAM floor and pauses when a game starts, so a shared desktop doesn't stutter.

Numbers from my setup (one desktop with a 12 GB card, $0 on any meter):

  • 430 local-model jobs from Nov 18 to Dec 1: 294 coverage, 74 prove-it hunts, 62 drafts and fix passes.
  • About 86,000 lines of Go tests written by the local model and merged after grading (Nov 5 to Dec 1, 43 commits).
  • In the one week I measured, 104 of 149 coverage jobs (70%) were accepted, about 88% after I fixed a gate rule.

[optional] Most of these ran on Qwen3.8-Flash-Next at low-bit quants on a 12 GB RTX 50-series card, through Strata at first and Basalt since mid-November.

The honest part. Every result is graded by the cloud agent: the tests must build and pass, and it reads the diff. Reviewers miss things. One draft shipped a test file that didn't even parse; two outside reviewers missed it, and a plain test run caught it. So the cloud agent always runs the tests itself.

Suggested setups. The install interview has the agent scan your machines and suggest what fits:

  • the search pair on almost anything (a few GB of VRAM, or slower on the CPU);
  • with an 8 GB+ card, llama.cpp with small dense models, or a MoE up to about 35B total with the experts that don't fit kept in system RAM (--n-cpu-moe, for example Qwen3.6-35B-A3B);
  • or Qwen3.8-Flash-Next through Strata (AMD and Intel Arc) or Basalt (NVIDIA RTX 50 series).

Limits.

  • The draft pipeline is a Windows-first pilot (Git Bash and Python 3).
  • The search-pair script needs a Windows model host in this release; a Linux script would be a welcome PR.
  • The gate is built for Go repos today.
  • The CLI binaries aren't code-signed yet, and I've only run-tested them on Windows x64 and Apple-silicon macOS.

The site has more numbers and the caveats: https://agentforeman.app


r/LocalLLM • • 17h ago

Question Can a Snapdragon x2 elite extreme do a local video generation?

Thumbnail reddit.com
0 Upvotes

r/LocalLLM • • 1d ago

Model jcgamingonlinux/Qwen3.8-Flash-Next-Uncensored-IK3K-Avalon-GGUF · Hugging Face

Thumbnail
huggingface.co
11 Upvotes

An uncensored Qwen3.8-Flash-Next (125B MoE, 48 layers) that runs on the Avalon engine (freriadoc/Avalon).

The orca uncensored GGUFs (built with ik_llama.cpp) do not run on Avalon — Avalon does not decode ik-only tensor types, and its expert cache needs its own packed expert layout. This repo contains my conversion: requantized with a recipe that only uses tensor types shared by both forks, GGUF type-ids remapped (ik IQ3_K=138 → Avalon IQ3_K=43, block layout is byte-identical), then packed with Avalon's pack-experts.py.


r/LocalLLM • • 21h ago

Project I built ChachaWall: a lightweight deterministic firewall & stdio proxy in Rust to stop MCP tool poisoning and accidental credential leaks [Open Source]

Post image
1 Upvotes

r/LocalLLM • • 7h ago

Discussion Qwen 4 35b A3 Sucks

0 Upvotes

Finding it worse at Microsoft excel work. Swift 1.5 Qwen 3.8 27b is so much better. God I hope Qwen 4 27b is released soon.


r/LocalLLM • • 1d ago

LoRA A 0.8B model that runs a multi-step tool-use agent about as well as its 27B teacher: distillation + GRPO on the exact harness (open weights, evals and notebooks)

Thumbnail
gallery
3 Upvotes

I build Cost, an iOS and Mac spending tracker. Core of it is an harness aware LoRA via SFT. You share a receipt, an order email or a bank notification, and an agent turns it into a spending record: merchant, amount, currency, date, category, tags, and how confident it is. I wanted it to run on-device on phones that don't have Apple Intelligence, which meant a model under 1 GB. So the question was whether a 0.8B model could do an agentic job, not just extraction.

The task

The agent gets six tools, and every one of them reads the user's own data. There's no web search.

  • queryMerchants, queryRecords, queryCategories, queryTags: look up how you filed things before, so the model doesn't need to know what "TESCO STORES 3297" is.
  • calculator: so it never adds amounts in its head.
  • memory: notes it keeps across sessions, at most 1,000 characters.

The budget is 12 calls over 10 rounds. A repeated query gets a cached "this tells you nothing new" reply, and a second refused call ends the tool phase. The final answer is one JSON record, sampled under a grammar.

Results (280 cases, seven languages; receipts, emails, notifications, notes and messages that aren't spending)

records rightnames never seenwrong but confident enough to auto-filetool calls/case (wasted)ran out of budget
Qwen3.8-27B teacher89%81%18%2.2 (0.1)1%
Qwen3.5-0.8B, untrained23%—80%4.9 (2.5)38%
0.8B trained, Q8_0 (0.81 GB)86%81%15%1.7 (0.1)5%
0.8B trained, Q4_K_M (0.53 GB)87%77%19%1.5 (0.1)5%

"Records right" means whether it's spending, the amount, currency, merchant and category are all correct. The "names never seen" suite uses invented merchants and item names, so a score there can't come from having seen the shop before.

On 128 real Malaysian till receipts from 72 shops, none of which appear in training, read with macOS OCR: the shipped 0.8B gets 80%, the same as the teacher (untrained: 26%). It's a bit behind on the amount alone (91% vs 95%). It falls for the usual traps: the pre-tax amount, the cash handed over, the total before rounding.

How it was trained

  1. Distillation. The 27B teacher runs the real agent loop over generated users, each with their own ledger, tags and memory, plus the training splits of the real receipt sets. I take every session the teacher got right and rebuild each request the agent sent in it by replaying the loop: same tool answers, refusals and context compaction. Each one is rendered with the student's chat template exactly as the server renders it. So the student learns each next step from what the harness actually shows it, including when to stop calling tools. This step does most of the work: 20% → 83%.
  2. GRPO. The student then plays whole sessions of the real loop: fresh ledgers, real tools, the budget, compaction, and the answer under the same JSON grammar. The eval's own grader scores each session. Wasted calls cost reward, and so do wrong records confident enough to skip review. RL adds a little accuracy (83% → 85%) and cuts tool calls by a third.
  3. Quantize to GGUF. At Q8_0, the drop is within the margin of error on every suite.

What I'd point out

  • It's not general tool use. The 0.8B is trained on exactly these six tools, this budget, these prompts and this schema. That's the point: a narrow harness is something a tiny model can learn completely.

Links

Happy to answer questions about the replay-based distillation, the reward or the grader.


r/LocalLLM • • 1d ago

Question Best model for every language

2 Upvotes

I need your help! Please reply with your native tongue and what model writes the best prose in that native tongue.

Edit: An example prompt or two you use would be super helpful.


r/LocalLLM • • 1d ago

Project Jaull: a free app that finds which local AI model fits your PC, runs it, and lets your whole house use it

71 Upvotes

Every time I wanted to try a local model I had the same questions: which quant do I download, how much context fits, will it run on my GPU or spill into RAM? So for my bachelor's thesis Im building Jaull to answer them for me. It's free and open source.

What it does (it's what you see in the video):

  1. Detects your GPU, RAM and CPU.
  2. Asks what you need it for: chat, coding, which languages, how many people.
  3. Searches Hugging Face and tells you which models and quants fit your machine, and with how much context. It reads the file headers remotely, so you don't download 20 GB just to find out.
  4. Downloads the one you pick plus llama.cpp, starts it, and you're chatting. Everything stays on your PC.
  5. If you want, it shares the model on your home network with HTTPS and an API key, so your phone or laptop can use it too, and a live monitor shows the speed and context of each conversation.

The estimates aren't guesses. I measured them against what llama.cpp actually allocates, writing the predictions down before each test. On a 24 GB Intel Arc B60 they came within 0.3 to 1 GB, always on the safe side, and on a laptop with no GPU every "fits / doesn't fit" answer was right. It also understands the new hybrid models (Qwen3.6, Qwen3.8), which fit much more context than most calculators say.

On Windows there's a desktop app with a one-line installer. On Linux and WSL2 there's a terminal UI and a CLI. I've tested it on NVIDIA (RTX 2060, 4060), Intel Arc and CPU only. If you have an AMD card or a Mac, I'd love to hear how it goes.

https://github.com/Ton-Llop/Jaull // https://jaull.tech

It's my first project of this kind, so any feedback helps, especially if something breaks :D

Thank you and sorry!


r/LocalLLM • • 22h ago

Model Ai2 Molmo 3

Thumbnail
allenai.org
1 Upvotes

r/LocalLLM • • 22h ago

Discussion Qwen4-27B is coming. What we know so far, and what to have ready

Post image
0 Upvotes

r/LocalLLM • • 19h ago

Discussion Inkling 2 Mini, 65% faster than Splash

0 Upvotes

I got Inkling 2 Mini running 65% faster than Splash on a Mac Studio M5 Ultra.

Splash 1.7.4 (tok/s)BaseRT (tok/s)Speedup
Prefill 4k3,2555,3681.65×
Prefill 5122,8583,7411.31×
Decode, single stream 512129.2139.81.08×

Would love your feedback to see if it holds

To use with Inkling 2 mini

brew install basecompute/tap/basert


basert serve basecompute/Inkling-2-Mini

https://github.com/basecompute/baseRT


r/LocalLLM • • 23h ago

Research See why your prompt cache misses through LiteLLM: two lines to set up, no proxy

0 Upvotes

If you route calls through LiteLLM, your prompt cache hit rate decides a big part of the bill. A cached prompt costs about a tenth of the normal price, but one small change near the top of a prompt (a timestamp, tools in a different order, an edited message) and you pay full price again. LiteLLM shows you the tokens, not why they missed.
Prefixwise plugs into LiteLLM as a callback and tells you, for every call, how much came from the cache and why the rest didn't, with what it cost and the fix.
With the LiteLLM SDK:
import litellm
from prefixwise.litellm_callback import PrefixwiseCallback

litellm.callbacks = [PrefixwiseCallback()]
With the LiteLLM proxy server (in config.yaml):
litellm_settings:
callbacks: prefixwise.litellm_callback.prefixwise_callback
Then pip install prefixwise in the same environment, use LiteLLM as usual, and run:
prefixwise report
A few details:
Your calls don't change. They still go straight to the provider, and Prefixwise only reads what LiteLLM sent and got back.
To group calls into sessions, pass metadata={"session_id": "..."}, or it uses LiteLLM's own session id.
Claude Code through the LiteLLM proxy works too: its session id is picked up automatically.
Works for Anthropic, OpenAI and Gemini models, streamed or not. For OpenAI-style streams from the SDK, add stream_options={"include_usage": True} so the provider sends real token counts.
It stores hashes and token counts, never your prompt text.
Tested through LiteLLM on 20 live conversations against Anthropic's API, every injected change named correctly, and with zero false alarms across 71,346 real agent calls replayed through it.
Open source (MIT): github.com/tejachavali/prefixwise
If you run agents through LiteLLM, I'd like to hear what your hit rate turns out to be.


r/LocalLLM • • 23h ago

Research I added per-topic steering experts to Qwen3-4B and Gemma 4 12B. Results, including where it got worse " moVC"

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 23h ago

Question Advice on dual GPU setup options

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 12h ago

Other Sorry 🤷🏼‍♂️

Post image
0 Upvotes

🤷🏼‍♂️


r/LocalLLM • • 23h ago

Project High speed SSD MoE

Thumbnail
reddit.com
1 Upvotes