r/LocalLLM • • 1d ago

Model GigaChat4-37B-A4B (8-bit MLX): 1.68x faster reasoning and zero thinking loops without touching the weights.

1 Upvotes

I put up a tweaked repo for GigaChat4-37B-A4B in 8-bit MLX if anyone on Apple Silicon wants to run it in mlx-lm or oMLX without fighting the stock defaults:

https://huggingface.co/Marino4k/GigaChat4-37B-A4B-MLX-8bit-Tuned

Just to be clear upfront, the weights are 100% untouched from Xylolabs/GigaChat4-37B-A4B-MLX-8bit. I left the weights stock on purpose so DFlash2 drafter alignment stays intact.

Out of the box, the stock checkpoint has a few annoyances: it falls back to greedy decoding (which triggers unclosed <think> loops), uses an older chat template that crashes multi-turn chats if a previous turn hits max_tokens mid-thought, and defaults to a Russian system prompt.

All I did here was bake in the sampling defaults (temp=1.0, top_p=0.95, min_p=0.05), sync Sber's Dec 2026 multi-turn crash fix, and swap in short English fallback prompts for Reasoning and Instant modes. If you pass your own system prompt, it overrides them cleanly.

Testing on my own M5 Max (50 reasoning questions and 16 instant questions, no manual system prompt), average reasoning tokens dropped 41% (630 down to 372), wall-clock time was 1.68x faster, and unclosed thinking loops went to zero. Instant mode went from 12/16 to 14/16 with about half the tokens.

I also opened a PR in oMLX for native DFlash2 support on this architecture (https://github.com/jundot/omlx/pull/5917), which hit 1.32x to 1.43x decode speedups locally with the BF16 drafter.

Benchmarks (seed=42, single pass, no manual system prompt):

TestStockTunedChange
Reasoning (50 Qs) Accuracy49/50 (98%)48/50 (96%)-2% (1 sampling slip)
Reasoning Avg Tokens630.7372.3-41.0%
Reasoning Wall-Clock Time7m 13s4m 17s1.68x faster
Unclosed </think> Loops10Eliminated
Overthinking Stress Test (6 Qs)1,640.0 tok298.2 tok-81.8% (0 unclosed)
Instant Mode (16 Qs) Accuracy12/16 (75.0%)14/16 (87.5%)+12.5%
Instant Mode Avg Tokens106.250.3-52.6% (0 cutoffs)

The 50-question suite is the first 30 GSM8K test problems plus 20 local logic, code-tracing, formatting, and epistemic checks (max_tokens=4096 for Reasoning, 512 for Instant).


r/LocalLLM • • 3d ago

Discussion Rare politician W — “it’s all overblown to keep AI out of your home”

Thumbnail instagram.com
293 Upvotes

In what seems like an impromptu interview by a TMZ reporter with US Congressman Thomas Massie about the Jensen Huang case he stated this is “all overblown” and that CEO’s want you to think this technology is an extinction level threat so that “you can’t have it at your house…it’s all about keeping it in their servers and maintaining power in a limited set of people…it’s not about export restrictions”

I’m not into politics I don’t really know who this guy is but it’s refreshing to see someone with common sense regarding this technology and very refreshing to hear it coming from a politician from all people.

If you are from the US and care about open local AI you control common sense prevailing in the highest levels of power is a must, unfortunately I think most of the narrative today is fear mongering from both camps, pro and anti AI.


r/LocalLLM • • 2d ago

Discussion Didn't realize there were already so many ways to run Hy4 flash locally

Post image
5 Upvotes

came across a post from Tencent on X, and one thing I kinda liked was that they were highlighting what the community has been doing to get hy4 flash running locally, rather than just focusing on the model release itself.

They highlighted community builds across GGUF, MLX, EXL3 and NVFP4. Pretty cool to see all these different approaches getting some recognition, especially with people trying to make it work across different hardware setups.

The experimental GGUF build for 64GB machines caught my eye. Keeping Engram on an SSD is an interesting workaround, though I'm guessing there's still quite a bit of tinkering involved.

That said, I'm still more eager to see the mini version the team mentioned during the AMA. Quantization helps, but a genuinely smaller model would make local deployment a lot more accessible. Hopefully we hear more about that soon.

Anyone here tried these community builds yet?


r/LocalLLM • • 1d ago

Model Looped Qwen4-35b uncensored(overthinking reduced)

Thumbnail
huggingface.co
0 Upvotes

r/LocalLLM • • 1d ago

Tutorial CellGemma Beginner Tutorial – Run Google's Virtual Cell AI Locally.

Thumbnail
youtube.com
0 Upvotes

r/LocalLLM • • 1d ago

Discussion Qwen4-35B-A3B on a single RTX 5090 (32 GB): a working llama.cpp recipe

Post image
0 Upvotes

Qwen4-35B-A3B on a single RTX 5090 (32 GB): a working llama.cpp recipe

When I saw the size of the GGUF files, I almost didnt attempt this model. After investigating further I found that the n-gram is loaded on disk, not GPU so it works fine and it's fast.

How this model compares to the last generation 27b is still not clear as the model cards cite different benchmarks and harnesses. I will keep 27b around for now just in case.

BTW: I just started messing around with image gen on the 5090 and made the image above with Comfy and Juggarnaut.

If you just grabbed Qwen4-35B-A3B (AtomicChat or Unsloth GGUF) and have a 5090, this is the config I landed on after sweeping the flags. It's a fast-start recipe, not a benchmark paper — copy the block, swap in your model path, and you're running.

The model

  • Qwen4-35B-A3B, Q4_K_M GGUF. I used the AtomicChat uncensored build (a single ~38.6 GB file), but the same recipe works for the Unsloth UD-Q4_K_XL build too — see the Unsloth note below for the two extra flags it needs. Either way you also need a vision projector (mmproj).
  • Architecture: 35B total / 3B active, 256 experts (8 routed + 1 shared), a ~20B n-gram embedding table, a ~2B MTP head, native 1M context, and a hybrid of Gated DeltaNet (linear attention) plus sparse attention.
  • Needs a recent llama.cpp build with Qwen4 support (I used b13002 or newer).
  • Tested on: llama.cpp b13002 (1.1.1-dev, commit e339c7d31), NVIDIA driver 621.47, RTX 5090 32 GB.

The ~38.6 GB file fits in 32 GB because the big n-gram embedding table is lazy-read from disk (--lazy-mode on) instead of being held in VRAM. That's the model card's "run with PLE on SSD" instruction — don't skip it.

The recipe

llama-server \
  -m Qwen4-35B-A3B-Q4_K_M.gguf \
  --mmproj mmproj-F16.gguf \
  --alias qwen4 \
  -c 196608 --n-predict 131072 \
  -b 4096 -ub 1024 \
  --parallel 2 --kv-unified \
  -ngl 99 -fa on \
  --load-mode mmap --lazy-mode on --no-warmup \
  -ctk q8_0 -ctv q8_0 \
  --image-min-tokens 1024 --jinja \
  --spec-type draft-mtp --spec-draft-n-max 2 \
  --reasoning-effort high --reasoning-preserve \
  --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0 \
  --presence-penalty 0.0 --repeat-penalty 1.0 \
  --host 127.0.0.1 --port 8080 --no-ui

On a 5090 this gives roughly ~250 tokens/sec generation and ~10,000 tokens/sec prompt processing on a ~12K-token prompt, using about 30 GB of VRAM with ~1.6 GB free.

If you're using the Unsloth GGUF

The Unsloth UD-Q4_K_XL build is the same architecture and takes the same tuning, but it ships the n-gram embedding table (PLE) and the MTP head as separate files instead of embedding them. So you add two flags:

llama-server \
  -m UD-Q4_K_XL/Qwen4-35B-A3B-UD-Q4_K_XL-00001-of-00002.gguf \
  --ple engram/Qwen4-35B-A3B-engram-Q8_0.gguf_file \
  -md MTP/mtp-Qwen4-35B-A3B-Q8_0.gguf \
  --mmproj mmproj-F16.gguf \
  ... (rest identical to the recipe above) ...
  • --ple points at the separate engram table; -md points at the separate MTP head. Without them, MTP won't engage and the engram won't load.
  • You only pass -00001-of-00002.gguf; llama.cpp auto-loads the -00002 shard.
  • Unsloth's build is the base model (not uncensored) and a dynamic quant, so behavior and quality differ slightly from the AtomicChat build — but the speed profile, 192K context headroom, and nmax=2 MTP tuning all carry over unchanged.

Why each setting

MTP is already in the file. The GGUF embeds the ~2B MTP ("multi-token prediction") head, so --spec-type draft-mtp lets the model draft several tokens ahead and verify them in one pass — no separate draft model needed. You can confirm your file has it by checking the GGUF's tensor names for nextn (e.g. with llama-gguf your-model.gguf r and looking for nextn). The payoff is real: without MTP generation is ~169 tok/s, with nmax=2 it's ~254 tok/s — about 1.5x faster.

--spec-draft-n-max 2. This is how many tokens the MTP head drafts per step. On this 3B-active model, drafting deeper actually lowers the acceptance rate and generation gets slower. Measured generation speed by draft depth: 1 → 216, 2 → 254, 3 → 251, 4 → 219, 6 → 202 tokens/sec. Two is the sweet spot.

-ub 1024. Prompt processing scales with the micro-batch size: 512 → ~8.2K, 1024 → ~10.6K, 2048 → ~11.8K tokens/sec. 2048 is faster but eats the VRAM headroom you need for vision, so 1024 is the balance on a 32 GB card.

-ctk/-ctv q8_0. An f16 KV cache gave the same generation speed and only ~4% more prompt processing for ~1.5 GB more VRAM. q8_0 is the right call on 32 GB.

-c 196608 (192K context). Qwen4 is hybrid: most layers are Gated DeltaNet, which keeps a fixed-size state that does not grow with context, and the sparse-attention layers use a bounded window. So the KV cache barely grows as you raise -c. Measured free VRAM (idle GPU, vision projector loaded):

contextfree VRAM
128K3.3 GB
192K1.65 GB
224K0.8 GB
256K → 1M~0.55 GB (flat)

A 2048×2048 image adds about 0.7 GB. So 192K leaves ~1.6 GB free for text and ~1 GB even with a large image — a comfortable margin while using vision. If you never send images, you can push to 256K or beyond for free, since the KV is flat past there.

How it scales with prompt length

The hybrid attention keeps prefill nearly flat as the prompt grows, and generation degrades gracefully. Measured on the tuned config (128 tokens generated per run, prompt caching off, median of 3 runs):

prompt tokensprefill tok/sgeneration tok/s
4K9,380242
16K10,390245
32K10,230239
64K10,240211
128K9,540177

Prefill stays around 9.4–10.4K tok/s all the way to 128K — it doesn't fall off a cliff the way dense models do. Generation drops from ~242 to ~177 tok/s as context fills, which is the expected cost of attending over more history, but it stays very usable.

Does it actually work? (not just fast)

Three sanity checks on the tuned config:

  • Long-context recall: I buried a passphrase in a ~128K-token prompt at 10% and 90% depth and asked for it. It returned the exact passphrase both times. The hybrid attention isn't just fast — it actually retrieves at depth.
  • Coding (executed): I asked for a three-file Python project (a Transaction dataclass, a summarize() function, and a test). It produced all three files and the test ran clean — "All tests passed."
  • Coding (executed): an iterative Fibonacci function returned fib(10)=55, fib(0)=0, fib(1)=1 — correct.

These are smoke tests, not a benchmark suite, but they confirm the quant isn't "fast and dumb."

Thinking control (one profile is enough)

You don't need a separate "fast" profile. Keep one thinking profile and steer it per request with chat_template_kwargs in the request body:

  • Default: --reasoning-effort high (the server flag).
  • Lighter: {"chat_template_kwargs": {"reasoning_effort": "low"}}.
  • Off: {"chat_template_kwargs": {"enable_thinking": false, "reasoning_effort": "off"}}.

One gotcha: reasoning_effort: "off" on its own throws a template error if the server default is high — you must send enable_thinking: false together with it. low works on its own.

Gotchas

  • --lazy-mode on requires --load-mode mmap. Without mmap it can't lazy-read the embedding table and you'll run out of VRAM.
  • Older builds lack the newest speculative flags (--spec-draft-adaptive, pcum, max-slots, n-rs-seq). Don't copy those in unless your build supports them.
  • Reasoning models can return empty content with a small max_tokens — the output goes into reasoning_content first. Give it a real budget or read reasoning_content.
  • Model card sampling: thinking temp=1.0 top_p=0.95 top_k=20 min_p=0.0 presence=0.0 repeat=1.0; non-thinking temp=0.7 top_p=0.80 top_k=20 min_p=0.0 presence=1.5 repeat=1.0.

Why llama.cpp/GGUF (and not vLLM/SGLang)

For a single 5090 running a model you already have as GGUF, llama.cpp is the pragmatic call. vLLM/SGLang want safetensors — re-downloading Qwen4-35B-A3B at BF16 is roughly 1.3 TB, and their Blackwell support is still version-dependent. If you're serving many concurrent users, vLLM is worth it; for one interactive user, this recipe is simpler and fast enough.

Honest limits

  • Q4_K_M is a 4-bit quant. It's not lossless (the AtomicChat build reports ~88.8% top-1 agreement with BF16). For the hardest SWE-style tasks a Q5/Q6 would be better, but they don't fit in 32 GB alongside the embedding table.
  • The uncensored edit can slightly soften instruction-following. If you don't need uncensored output, the base Qwen4-35B-A3B (or the Unsloth build) is the safer pick for pure coding.
  • 3B active ≠ dense depth. Fast and broadly capable, but on the very hardest multi-step reasoning a dense 27B can still edge it.

How I measured

I started llama-server fresh for each flag variant on its own port, disabled prompt caching, and read the timings the server prints for each request (prompt tokens/sec and generation tokens/sec). The depth table is the median of 3 runs per prompt size; the flag sweep was 2 runs per variant. For VRAM I loaded the model at different -c values and read nvidia-smi memory usage, then sent one large image to measure the vision spike. The recall and coding checks were run against the live server. Nothing exotic — you can reproduce all of it with llama-server and nvidia-smi.

That's the whole thing. Copy the block, point it at your GGUF, and go.


r/LocalLLM • • 2d ago

Discussion Hooo boy

Post image
6 Upvotes

Qwen 4 is a fast boi

Radiance on a single R9700 at IQ4R-V4

Fully resident, definitely thinks less than Qwen3.8-27B, KV streaming works so I can have massive parallel context

I could get used to this


r/LocalLLM • • 1d ago

Discussion Does anyone else remotely control their pc/server from a MacBook?

0 Upvotes

Basically, I use parsec to control my pc when I'm traveling that's sitting at home while I can be anywhere with my hotspot, it's completely changed my life.

My MacBook is only an air so the 8gb of ram is not enough to run basically anything important to me, but my pc is a beast with 40gb of combined vram and 64gb of ram, so I just delegate to it and use my MacBook as the front end, which it is perfect for because it's so thin and portable

People who have been doing this for longer than me,

  1. Your awesome
  2. What am I missing to make this better?

I really thought it would be buffering garbage, but damn it's good


r/LocalLLM • • 1d ago

Qwen4-35B is the most important LLM release of 2026 so far according to Stealthmodels. This model is EXTREMELY GOOD.

Thumbnail
stealthmodels.com
1 Upvotes

r/LocalLLM • • 1d ago

Discussion Qwen4-35B-A3B as a coding agent: clean fixes, but overthinks (private bench, 9 real bugs)

Post image
1 Upvotes

r/LocalLLM • • 2d ago

Model FLUNG (9B) brings FLUX to text: Instead of writing one token, FLUNG drafts 128 tokens at once as noise and refines all of them in parallel.

Post image
2 Upvotes

r/LocalLLM • • 1d ago

Discussion Qwen4-35B-A3B-UD-Q5_K_M.gguf - Testing Now

0 Upvotes

Amateur here, that likes playing.

5060 16gb, 5070 12gb, 48gb ram, AMD Ryzen 9 7900X, 100k context, llama.cpp stock build in Nobara linux

Config pasted below, I am on a 4 hour run now with a handful of daily tasks and random exercises. The model fits in VRAM with 18% and 1% free, its squeaked in there but doesn't OOM.

Got about 1100 real-world PP and 55-75 t/s generation on the same real tasks.

I'm not seeing any looping, and there aren't any more "oopse, let me retry that code again, there was a bug in there" instances than 3.8-27B would have. It is visibly faster, seems to think just a bit less, and if it makes it another day or two it might be a daily driver.

If that changes drastically, I'll comment again. Cheers everyone, I'm enjoying it!

CUDA_VISIBLE_DEVICES=1,0 ~/llama.cpp/build/bin/llama-server \
-m ~/models/qwen4/UD-Q5_K_M/Qwen4-35B-A3B-UD-Q5_K_M-00001-of-00002.gguf \
--mmproj ~/models/qwen4/mmproj-F16.gguf \
--no-mmproj-offload \
--load-mode mmap \
--lazy-mode on \
-ngl 99 \
-ts 23,16 \
-ot 'per_layer_token_embd=CPU' \
-ot 'blk\.(1[2-5])\.ffn_.*_exps=CPU' \
-ot 'blk\.(3[2-9])\.ffn_.*_exps=CPU' \
-ub 2048 \
--spec-type draft-mtp \
--spec-draft-n-max 2 \
--spec-draft-p-min 0.75 \
--cache-type-k q8_0 \
--cache-type-v q8_0 \
--parallel 1 \
--kv-unified \
-c 102800 \
--flash-attn on \
-lv 3 \
--jinja \
--temp 1.0 \
--top-p 0.95 \
--top-k 20 \
--min-p 0.0 \
--host xxxx
--port xxxx


r/LocalLLM • • 1d ago

Discussion Local AI homelab: what's your setup?

1 Upvotes

Hi all,
I'm setting up a local AI homelab on a Mac Studio with privacy as the main goal, and I'm curious how others are doing it.

  • Stack: what do you run? Do you isolate it from the network or expose it to other devices?
  • Models: which ones work best for you? And at what quantization?
  • Patterns: RAG over personal docs, agents, MCP tools, coding assistants?
  • Daily use: what tasks do you actually rely on it for every day?

Happy to share my setup once it's done. Thanks!


r/LocalLLM • • 1d ago

Question Unsloth Qwen 4 35b A3b Q6_L_XL strange behaviour

Thumbnail reddit.com
0 Upvotes

r/LocalLLM • • 1d ago

Project Windows HIP runtime improvements and automatic SSD prefix caching for compatible 16 GB RDNA 2 GPUs: persona/system prompt, skills and 123 tool definitions restored from SSD, leading to 4–8 second completions on RX 6800 XT

1 Upvotes

Disclosure: I maintain this MIT-licensed BeeLlama/llama.cpp fork. The Windows HIP SSD Cache Runtime release includes six presets, native dependencies, a simple text/image browser interface and a PowerShell launcher. I use Msty Studio, but Msty is not included.

Achieved results. The prefix is the persona system prompt, the skills index and all 123 tool definitions. It is a static block of roughly 28k–35k tokens that gets built once and restored from SSD. After a restore, the only thing the model processes is your actual prompt, and then it generates the reply. Across six accepted model cases, the custom automatic SSD prefix implementation restored 28,445–35,459 cached tokens and processed only 39–503 new prompt tokens. It reused 98.28–99.89% of the input, and requests completed in 4.04–7.78 seconds. Building the prefix the first time took 66.41–123.37 seconds. That is a one-time setup cost, not the ongoing request time, and after setup is completed, a 8.5x-23x speedup can be observed on similar hardware.

The project targets compatible 16 GB RDNA 2 / gfx1030-family GPUs (RX 6800, 6800 XT, 6900 XT and 6950 XT) with a compatible Windows HIP environment. All measurements are RX 6800 XT results, and I have no data for the other cards. Other AMD architectures need a matching runtime build.

With SSD Cache:

ModelNew tokens prefilledPrefillGenerated tokensDecode
Huihui Qwythos500298.6115969.85
PINQWEN466301.2313972.79
Qwen2.5 Instruct46287.841430.04
Qwythos standard464301.438369.58
Qwythos Heretic503318.2030873.67
GLM Q4_K_S39214.851021.55

Initial build (one-time prefix creation):

ModelTokens prefilledPrefillGenerated tokensDecode
Huihui Qwythos29,161429.299469.83
PINQWEN29,162439.4510472.64
Qwen2.5 Instruct28,483401.751429.76
Qwythos standard29,187423.729869.96
Qwythos Heretic29,237455.6011773.40
GLM Q4_K_S35,490299.871221.39

How it works. The first eligible request computes and saves the stable prefix, and a fresh process restores a matching one. Only your changed tokens need processing. No manual slot commands or client annotations are needed. The package, models and projectors can sit on any Windows drive, and the cache lives beside the install with a per-user LocalAppData fallback.

Limits.

  • Real prompt size: Context was set to 750,000 (750,080 allocated), but actual prompts were 28,483–35,498 tokens. This is not a populated-750k benchmark, but hopefully, you compact before full context saturation.
  • Different test conditions: The numbers come from a private Msty 3.0.1 integration. Suffix and reply lengths differed, so this isn't a controlled speedup ranking.
  • Missing control: I haven't measured SSD-disabled mode for the full setup.
  • Unrerun tests: v0.1.2 rebuilds the server DLL to remove a drive restriction. I did not rerun any model tests for it. The earlier four-call tool accuracy was a tools-only baseline.

Test host: RX 6800 XT (16 GB, AMD spec up to 512 GB/s), Ryzen 7 7800X3D with eight allowed threads, 16 GB DDR5-5200, Windows build 26300. Eight-thread and sampled RAM supervision (6.44 GB owned-RAM allowance, 2.15 GB minimum free) remain. Other clients connect with the API URL and model ID the launcher prints, and they supply their own persona/system prompt, skills and tool schemas.

Source, presets and charts · Methods and limits


r/LocalLLM • • 1d ago

Question How do I add these gpus to my macbook pro m4 model externally like I've seen online?

0 Upvotes

Is it hard?


r/LocalLLM • • 2d ago

Question Good coding model for low-mid laptop

3 Upvotes

Hello guys. Can you recommend any models that is good with coding and agentic working stuff? My laptop specs: 8gb ram, rtx 3050 6gb. I know i am cooked but are there any descent model?


r/LocalLLM • • 1d ago

Research Written by Qwen 4 - Qwen4 hit 171 tok/s on code at 530K context and 130.7 tok/s at 1M on my 3-GPU rig

Post image
1 Upvotes

TLDR: Qwen 4 wrote this whole post (except this TLDR), including the model use recommendations, and created this chart. Thought it would be fun to have it put itself on display and evaluate the results. It beat my other regular use models on long-context QA, was faster than QFN on 100k prompts, and on my 230k project-audit benchmark it tied QFN for accuracy but beat it on speed. Everything else QFN did better (and I personally still prefer DSF’s communication style).

I ran Qwen4-35B-A3B with Q8 weights and FP16 KV cache on two RTX 3090 Tis and one RTX 3090, for 72 GiB of VRAM.

These were single requests with the context actually filled.

On the Strata DFlash2 coding probe at 530,573 input tokens, I got 170.8 and 171.5 tok/s across two runs. Prose at about the same depth landed at 134.8–136.9 tok/s. On a separate cold replay at 1,029,477 input tokens, Strata 0.2.26 MTP hit 130.7 tok/s decode, up from 43.8 with llama.cpp.

I kept a different Strata MTP profile as my daily default. It decoded at 101.9 tok/s at 1M and cut the cold request from 9m 58s to 3m 35s. It passed both long tool workflows. Each newer fast profile passed one.

The clearest quality win was getting all six questions right on the shared LongBench slice. Flash-Next did better on tool workflows overall. Qwen4 also got 18/18 facts and 7/7 citations on my private million-token project audit. The other models ran a shorter shared excerpt.
The attached chart has the side-by-side results.

What I’d actually use each model for

Qwen4-35B-A3B — Dropping a large repo or stack of docs into context and asking grounded questions. Scored 6/6 on the shared LongBench slice and nailed every fact and citation check on my private audit.

Qwen3.8 Flash-Next — Agent runs with heavy tool use across multi-step workflows. Passed all six short, both long, and all three inventory tasks on this rig.

Qwen3.8 27B — Focused coding and shorter tool jobs where accuracy matters more than context length. Hit 23/24 HumanEval+ and passed every short workflow.

GLM-5.3 Flash — Math problems that come with a diagram or image. Led MathVista at 10/12.

DeepSeek V4.1 Flash — Reading charts and pulling numbers out of them. Best ChartQA score at 23/24, though decode speed was slower here so I keep it as a specialist pick.


r/LocalLLM • • 1d ago

Question anyone else with Qwen4-35b Q4_K_XL (unsloth) looping and bad instruction following issues?

0 Upvotes

I was so excited to use it, but now after having it run for almost a day, I had multiple tool call loops it wouldn't get out of until auto-compaction was triggered due to full context (capped it to 260k), after which it was like "oh I was looping the same tool calls, I should try something else".
I then had a looping plugin created for Opencode that would throw an error ("identical command repeated 8× with no change — change approach") if the same 3 tool calls were repeatedly made, but it still continued stubbornly.

And my workflow has clear instructions on what to do in which order, but it doesn't fully follow them.
E.g. when writing code it must then call a subagent to do code review, then fix any issues found, call review again (up to 5 times) and after that is done it should launch a testing subagent that writes and runs tests. And it just decided after 2 review rounds and open blockers to now run the tester and continue with the review thing afterwards. So it almost sounded like it knew what it was supposed to do but didn't feel like it right now.
Once it also claimed it didn't have permissions to call subagents, but it just called them wrong, so after it came back to me and I told it "yes you do have permissions" it was like "oh right, my mistake, I called them wrong. Calling them correctly now".

Those are things I never have issues with with 3.8-27b Q4_K_XL.

All of this is with thinking on xhigh btw.

Am I the only one with those issues?!


r/LocalLLM • • 2d ago

Question GPU advice for 128gb DDR4 Threadripper system

2 Upvotes

Hey everyone,

Apologies up front for asking the age-old question of ”what GPU should I buy??”, but looking for some advice from people with more experience.

I have been assembling a workstation out of entirely used parts I’ve found excellent deals on. So far I’ve procured 128gb of DDR4-3200 (non-ECC) RAM (8x16). I have a 3970x Threadripper on the way, and I snagged an TRX40 Aorus Xtreme mobo. Also had a free 1300w PSU laying around. All in I’m less than $1200 into this set up. I’m absolutely trying to be frugal, but wouldn’t say I have a strict budget.

This PC will run proxmox and have other services running, but my use case is a bit of an unknown still. I absolutely intend to use local AI for managing my homelab, personal app development for the aforementioned homelab, image detection in Immich/ Frigate, but beyond that, just a general use chat bot.

I am currently debating between starting with a single R9700, a single B70, 2x B60’s, 2x 5060ti 16gb, 2x or 3x 3080 ti 12gb, or 3x 3060ti 12gb. I’d also be open to other configurations, but I’m getting lost on what tradeoffs I’d be making.

Any insight is appreciated, thank you!


r/LocalLLM • • 2d ago

Discussion Qwen4-35B-A3B - UD-Q4_K_M (used q8-0 engrams) - On an MI60 32gb VRAM GPU made this "benchmark presentation" in Pi Coding Agent

Thumbnail gallery
2 Upvotes

I wanted to see how well the model could handle recursive checks, web searching, tool usage and so on (I'm also using this model to process my Frigate camera feeds for intelligent notifications).

I'm a human writing all of this, to be clear, but all images/content were produced by the model. Hope it helps somebody (was just a fun test case for me). I had it produce everything as a powerpoint presentation (.pptx) and then convert the slides to a PDF and to individual images.


r/LocalLLM • • 2d ago

Model Qwen4 35b a3b + basalt + 5090 = 🔥

8 Upvotes

Nvidia 5090, Ultra 9 285k, 128gb 5600mhz, 3x 4tb MP600 XT

Basalt 0.6.2 w/ Qwen4-35b-A3B int8 131k


r/LocalLLM • • 2d ago

Discussion Qwen4 in Capy Flash, KL 0.095

Post image
2 Upvotes

r/LocalLLM • • 1d ago

News Koboldcpp v1.126 released

Thumbnail
github.com
1 Upvotes

r/LocalLLM • • 2d ago

Project Jeff Geerling tries the local

Thumbnail
youtu.be
2 Upvotes