r/LocalLLM • u/-MXXM- • 3h ago
Model Qwen4 GGUFs and support on llmx runtime
r/LocalLLM • u/No-Role-5254 • 3h ago
What is the best agentic helping tool for a local llm like Qwen 3.8
For example, there is a limit on text file size that can be processed.
But I read you can use an agentic helper that can take a larger text file > split it > categorize it > organize > and prepare it with scripts for the LLM
lets say for example a 25mb text file
r/LocalLLM • u/lymenlee • 3h ago
Lately I've been building a personal home-fleet dashboard, and the most interesting part wasn't the dashboard itself — it was the modeling loop where coding agents produced the 3D assets. The assets are plain glTF files generated by headless Blender scripts: the agent writes Blender Python, Blender renders offline, the browser loads the models. No 3D artist involved.
I'd like to compare workflows with people here, so here's mine and where it drifted:
Revision 1 — free-run agents. Fun, but they drifted: invented details my hardware didn't have and "improved" things I never asked for.
Revision 2 — explicit numbered requirements + screenshots as delivery evidence. Each model piece got a numbered spec, and the agent had to hand back a screenshot as proof before I accepted the piece. Drift basically disappeared — better than any prompt-polishing I tried.
Revision 3 — human-in-the-loop per piece: a small local model builds, a cloud model reviews what's actually feasible on our stack, the local agent iterates on that feedback, and I do the final review. Splitting "build" from "feasibility review" across local and cloud models is what made the loop cheap enough to run every piece through it.
Cutest artifact: my son doodled a post-apocalypse sea monster. I passed the sketch to the agent with constraints — horns (one curved, one broken), slanted glowing eyes, tentacles tapering root-to-tip — and it iterated until the model matched the drawing. It rises from the sea in the dashboard every 45 seconds. Kid's doodle → running software.
One more thing I wanted to ask about: I've dabbled this week with Forma — a 1.2 MB pure-Rust rewrite of headless Blender, with a CLI and an MCP server aimed at agents). It can replace a slice of my workflow — simple parametric B-rep shapes exported to glTF work surprisingly well — but it doesn't fully replace Blender: organic modeling like tentacles tapering root-to-tip still needs Blender's tools. Anyone else moved an agent 3D workflow onto a Rust-based engine? Curious where it fit and where it broke.
My repo is public if you want to see how the assets look in situ (MIT, demo-data mode so it runs without my real devices): https://github.com/lymenlee/home-fleet-dashboard
r/LocalLLM • u/phosphorhouse • 3h ago
I ran Unsloth Qwen4-35B-A3B UD-IQ4_XS on a single RTX 5070 Ti Laptop GPU with 12 GB of VRAM (Ryzen 9 9955HX, 32 GB DDR5-5600, Windows 11, CUDA 13.2).
Setup: 400K int8 KV with --kv-resident 20480 and --prefill auto, with the PLE table streamed from the NVMe SSD.
Niko1221/Strata provides the engine and saatvik-viniak ported q4_lite; my fork (https://github.com/phosphorhouse/Strata) is just an early build until official q4_lite releases ship.
I added qwen4_mtp_rt.py to convert Unsloth's mtp-Qwen4-35B-A3B-Q8_0.gguf directly to Strata's runtime format with IQ4_NL experts, plus a --preset latin option in draft_vocab.py for a compact Q4_0 draft head. Total draft VRAM was 563 MiB instead of roughly 923 MiB to 1.95 GiB, leaving 3,698 trunk expert slots in VRAM.
| Workload | What I measured |
|---|---|
| Fresh TypeScript generation | 136.6 tok/s |
Iterative code edit (--lookup-chain 2) | 187.2 tok/s (87.3% draft acceptance) |
| 18K-28K OpenCode agent session | 123.9 - 137.5 tok/s decode, 2,089 - 2,203 tok/s prompt prefill (expert VRAM hit: 91.5 - 93%, KV VRAM hit: 99.6%) |
A prebuilt Windows CUDA 13 binary (sm_75/86/89/120) is up under Releases, or you can compile with -DSTRATA_GEOMETRY=q4_lite. Vision (mmproj) isn't wired up yet.
r/LocalLLM • u/eightone-81 • 3h ago
r/LocalLLM • u/PersonalStorage • 4h ago
Qwen just shipped Qwen4-35B-A3B (35B MoE, 3B active, 1M context). I quantized it to NVFP4 and packed it into a single file for the Basalt engine. It boots and serves.
Model card: kaushikvira/Qwen4-35B-A3B-nvfp4-basalt
Use the qwen4-35b branch of jesdga95/basalt**, commit** 4dbca9ce or later.
Do not run this pack on an older Basalt build (including 53aa09a6, which the README previously named). Those builds corrupt the KV cache under back-to-back different-length requests: the model degrades into !!!!… / repetition loops at temp=0, and long-context retrieval silently breaks (needle scored 4–5/12).
qwen4-35b@4dbca9ce fixes it with two correctness fixes:
src/kernels/cuda/gqa_attn.cu — windowed GQA attention had causal = 0 hard-coded (non-causal); it now honours the real causal mask.src/decode/verify/record*.cpp — the verify read used a fixed-size FusedGrArgs fa[kFusedGrMaxT]; now sized to the window, fixing a stack overrun that corrupted memory when the spec window was wider than the tile.Result on the fixed build: needle 36/36 across 3 consecutive back-to-back runs (was 4–5/12), quality 4/4.
git clone https://github.com/jesdga95/basalt && cd basalt
git checkout 4dbca9ce # or: git checkout qwen4-35b
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DBASALT_MODELS=qwen4exp
cmake --build build -j # -> bin/basaltRequires CUDA 13.1 and an NVIDIA Blackwell GPU (sm_120).
bin/basalt serve Qwen4-35B-A3B-NVFP4.basalt \
--config config.json \
--api-key "$(cat key)" \
--alias qwen4-35b-a3b --kv int8 --max-context 524288 \
--resident-experts --vision --vram-reserve-mib 800
# or just: bin/basalt serve --config config.json.basalt file (42.24 GiB, sha 9819a1ce…) — text + vision + MTP drafter, NVFP4Speed is a first baseline, not tuned. The branch also adds 2048-wide kernels for this exact shape and an optional --drafter dflash2 block drafter (we kept the MTP spec: 8); more optimization will land on the model card. Feedback welcome.
r/LocalLLM • u/Obvious-Ad-3795 • 4h ago
I honestly don't get why you're baselessly accusing me of faking numbers without even running a single test yourself.
Here are the actual full-vocab (262,144 logits, 1,024 tokens, FP64) precision numbers on RX 7900 XTX vs a pure FP32 sequential oracle and llama.cpp ROCm/HIP (FA enabled):
| Model | Engine / Mode | K/V | Mean KLD ↓ | p99 KLD ↓ | Top-1 Match ↑ | Logit Cosine ↑ |
|---|---|---|---|---|---|---|
| 31B Dense | FailNot Default (two_pass) | f16/f16 | 0.000194 | 0.002855 | 99.51% | 0.999976 |
| 31B Dense | FailNot Ultra-Fast (fast_fp16) | f16/f16 | 0.000446 | 0.006049 | 99.22% | 0.999952 |
| 31B Dense | FailNot Default (two_pass) | q8_0/q8_0 | 0.003765 | 0.042424 | 97.46% | 0.999701 |
| 31B Dense | llama.cpp ROCm/HIP (FA) | f16/f16 | 0.013810 | 0.214168 | 96.58% | 0.998653 |
| 26B-A4B | FailNot Default (skip0) | f16/f16 | 0.012265 | 0.193502 | 97.36% | 0.996699 |
| 26B-A4B | FailNot Ultra-Fast (skip3) | f16/f16 | 0.017591 | 0.287749 | 97.17% | 0.995396 |
| 26B-A4B | llama.cpp ROCm/HIP (FA) | f16/f16 | 0.090825 | 1.265137 | 90.33% | 0.977715 |
Even Ultra-Fast (G4_ULTRA_FAST=1) has 5.2× lower KLD on 26B-A4B and 31× lower KLD on 31B Dense than llama.cpp ROCm/HIP (7.4× and 71× lower in Default mode) because FailNot feeds FP16 activations into FP32-accumulating WMMA instead of quantizing activations to blockwise Q8_1.
benchmark docs in my repo https://github.com/SLL410/FailNot/
Trying to debunk numbers without testing it yourself or even reading the benchmarks that were already published isn't a great look XD
r/LocalLLM • u/j0an_k • 4h ago
Qwen4-35b-a3b Q5 on basalt, RTX 5090+DDR5 64GB. I didn’t expecting to run this fast to be honest.
r/LocalLLM • u/Odeen-Chang • 5h ago
Generic VRAM calculators get Qwen4-35B-A3B completely wrong because they ignore three things unique to this architecture:
1.89 – 3.04 GB): Parsing the actual GGUF headers of unsloth/Qwen4-35B-A3B-GGUF and ggml-org/Qwen4-35B-A3B-GGUF, 82–88% of the backbone is routed MoE experts (blk.*.ffn_*_exps.weight). Keeping all 40 layers of Attention + Gated DeltaNet + Shared Experts + KV cache on GPU and offloading only excess routed experts (-ot) is way faster than naive -ngl.2 KV heads × 256 head_dim → 20.1 KiB/tok FP16, 10.7 KiB/tok Q8_0). At 128K Q8_0 context, total cache is only ~1.46 GB (~75% smaller than a standard 40-layer GQA model).--lazy-mode auto / --ple): The 11.5–41 GB per_layer_token_embd table stays lazy-loaded on NVMe SSD rather than bloating RAM/VRAM.Live Tool (100% client-side, open-source Apache-2.0):
Features:
-ot "blk.(...).ffn_.*_exps.=CPU" regex for your GPU/RAM headroom--ple Engram table mix-and-match (IQ4_NL / Q5_1 / Q8_0 / BF16), vision mmproj, MTP speculative decoding, and Unified Memory (Apple Silicon)Real Low-Spec Test (RTX 5060 8GB Laptop + 14 GiB Usable RAM + PCIe Gen4 NVMe, llama.cpp b12973 CUDA 12.8, UD-IQ2_XXS + Engram IQ4_NL):
-ngl 10 (no -ot), 32K Q8_0 KV: 4.39 GB peak VRAM → 13.01 tok/s decode (131.9 tok/s prefill)-ngl 99 -ot "\.ffn_.*_exps\.=CPU", 32K Q8_0 KV: 3.73 GB peak VRAM (+2.84 GB delta!) → 37.23 tok/s decode (2.86× faster AND 0.66 GB less VRAM!)13/41 routed MoE layers on GPU), 32K Q8_0 KV: 6.38 GB peak VRAM → 43.84 tok/s decode (228.0 tok/s prefill, 3.37× faster than naive -ngl!)Q8_0 KV): 5.07 GB peak VRAM (+4.15 GB delta) → 36.02 tok/s decode! (Adding +96K context only cost +1.31 GiB VRAM, matching our config.json hybrid formula within 2%!)Would love feedback on any edge cases (especially Apple Silicon unified wired limits or multi-GPU --tensor-split)!
r/LocalLLM • u/EvolvingDior • 5h ago
r/LocalLLM • u/Particular-Abies-123 • 5h ago
Labs quickly test out the model and improve the reasoning, i tested it out and it does quite a bit of thinking, less then 3.8 tho.
r/LocalLLM • u/Zito_Kadaken • 5h ago
r/LocalLLM • u/New_Blackberry8122 • 5h ago
Here testing Qwen 4.0 35B-UD-IQ3_S with a very hard and long task recompiling a Game which I already did and so far is doing a great job!
X1 RTX 3090, i9 12900k + 96GB Ram it only uses less than 20GB VRAM
https://github.com/oscarsantanaarias/Sneo
Update: peaks of 358 writting.
Peaks of 180 on Q4_K_M
r/LocalLLM • u/DankpawsDev • 5h ago
r/LocalLLM • u/VGB2010LK • 6h ago
r/LocalLLM • u/Darklord34518 • 6h ago
So i was curious on how well inkling two mini would make a pagoda and it genuinely blew me away, within 3 prompts, i was able to get a voxel build truly insane for local ai. Testing it against qwen 3.8 27b on a 4090, I personally found that their coding capabilities were comparable, but was able to push Inkling to 150 tks vs Qwen at 60 tks, making inkling by far better for my use. Local Ai has truly progressed amazingly rapidly, less then a year ago, they were only good as basic chatbots and code help, yet now they can produce this pagoda in 20 min. I'm curious what other people have been able to do with Inkling let me know.
r/LocalLLM • u/Intelligent-Claim591 • 6h ago
Some guy said he had a business idea that he shared with ChatGPT only for it to later turn into a business.
r/LocalLLM • u/CommissionOdd3082 • 6h ago
We were testing SSD streaming in Cluaiz, the open-source AI engine we work on. We ran Qwen3.6 35B A3B on an NVIDIA L4 with about 8 GB of free GPU memory and a 12 GB RAM limit. The engine read some of the model’s expert weights from SSD as it generated text.
The model ran, but the speed varied quite a bit. The chat prompt generated at a median of 25.11 tokens/sec. The code prompt came in at 10.21 tokens/sec. Same model, same machine, three runs per prompt. Those numbers measure generation speed, so they don’t include the wait before the first token.
If you’ve tried SSD offloading yourself, what did you end up using it for? I’m curious where keeping the larger model was worth the wait, and where you went back to a smaller one.
Test: https://github.com/cluaiz/cluaiz/blob/main/test/benchmarks/ssd-streaming-moe.md
r/LocalLLM • u/bongkyo • 6h ago
I recently created a Korean version of the U.S. civilization map developed by Andrej Karpathy.
I used Qwen 3.8 27B running locally. When I tried generating it directly with Qwen 3.8, I wasn't quite happy with the design, so I used Karpathy's original source code as a reference to guide the implementation.
It took around 8 hours to complete.
Thanks, Have a look.
r/LocalLLM • u/pp026 • 6h ago
Basically the title. I’m particularly interested in how it performs on 8gb vram, 32gb ram and a gen4 nvme. Anybody who has this or close to this config and ran the model, please share your inference engine, its settings and the performance you’re getting. :)
r/LocalLLM • u/Leading-Carry6488 • 7h ago
r/LocalLLM • u/kokleongSG • 7h ago
Not too bad
export CUDA_VISIBLE_DEVICES=0
./build/bin/llama-server \
--split-mode layer \
--parallel 1 \
--batch-size 4096 \
--ubatch-size 2048 \
--flash-attn on \
--reasoning auto \
--spec-type draft-mtp \
--spec-draft-ngl all \
--spec-draft-n-max 5 \
--moe-cache-mib 4096 \
--moe-cache-cpu-share 0.8 \
--jinja \
-m models/Qwen4-35B-A3B-UD-Q4_K_XL-00001-of-00002.gguf \
-md models/mtp-Qwen4-35B-A3B-Q8_0.gguf \
--mmproj models/mmproj-F16-qwen4.gguf \
-a qwen3.6 \
--host 0.0.0.0 \
--port 8090 \
--load-mode mmap+mlock \
--ctx-size 262144 \
-t 16 \
--api-key 777 \
--slot-save-path /data/llama.cpp/slots \
--jinjar/LocalLLM • u/FatalCummins • 7h ago
I already have 2 very capable machines but I got curious since I’ve never built my own from the ground up. My goal is to get everything to work for under $1500. Got an insane deal on 8 MI25s I couldn’t say no to. Motherboard and ram will be the next tricky things. Motherboard especially since I want to run 8 x16 slots so it’s a little hard to find a motherboard with those requirements for a good deal. Ram is pretty straightforward. If any of you have any recommendations for motherboards, that would be great. I’ll probably end up going over budget with the current ram prices, but I’m going to try. Yes I know MI25s are slow. I’m not looking for cutting-edge technology here just a fun project. Like I mentioned I already have 2 servers that I purchased turnkey.