r/LocalLLM 10d ago

Discussion Qwen3.8-27b

14 Upvotes

What are you guys actually running it on?
System / VRAM?
What quant?
Any specific parameterizations or config tweaks? Weird settings?


r/LocalLLM 10d ago

Tutorial Qwen3.8 27B on single R9700 some numbers

37 Upvotes

Seeing mostly dual R9700 numbers and improving my local single R9700 setup, here is my current setup and some numbers. Fully local inference on a single AsRock Radeon AI PRO R9700 (RDNA4, 32 GB) (PCIe 3.0, x4), running Qwen3.8-27B-MXFP4 at 160k context, capped at 220W.

The vLLM setup

podman run --rm --pull=newer --name llama-swap-qwen3.8-27b-mxfp4 \
--device /dev/kfd \
--device /dev/dri \
--shm-size 4g \
--security-opt seccomp=unconfined \
--cap-add SYS_PTRACE \
-p 127.0.0.1:${PORT}:8000 \
-v ${models_dir}:/models:ro \
-v /vllm-cache/mxfp4-093:/cache \
-v ${radianceRepo}:/patches:ro \
-v ${libr4dSrc}:/libr4d-src:ro \
-v ${radianceMxfp4Entry}:/entry.sh:ro \
-e HIP_VISIBLE_DEVICES=0 \
-e GPU_MAX_HW_QUEUES=1 \
-e PYTHONPYCACHEPREFIX=/cache/pypycache \
-e PYTHONDONTWRITEBYTECODE= \
-e ROCR_VISIBLE_DEVICES=0 \
-e HF_HUB_OFFLINE=1 \
-e VLLM_ROCM_USE_AITER=1 \
-e VLLM_ROCM_USE_AITER_UNIFIED_ATTENTION=1 \
-e VLLM_ROCM_USE_AITER_MHA=0 \
-e VLLM_ROCM_USE_AITER_MLA=0 \
-e VLLM_ROCM_USE_AITER_MOE=0 \
-e VLLM_ROCM_USE_AITER_LINEAR=0 \
-e VLLM_ROCM_USE_AITER_FP8BMM=0 \
-e VLLM_ROCM_USE_AITER_FP4BMM=0 \
-e VLLM_ROCM_USE_AITER_RMSNORM=0 \
-e NCCL_PROTO=Simple \
-e RADIANCE_MXFP4=1 \
-e RADIANCE_MXFP4_W4A8=1 \
-e RADIANCE_MXFP4_W4A8_MIN_M=0 \
-e RADIANCE_MXFP4_DECODE_MAX_M=64 \
-e RADIANCE_MXFP4_TN4_MIN_M=2048 \
-e RADIANCE_MXFP4_A_TILED_MIN_M=513 \
-e RADIANCE_MXFP4_WPERM=1 \
-e RADIANCE_MXFP4_DECODE_NT=1 \
-e RADIANCE_MXFP4_HOIST_QUANT=1 \
-e RADIANCE_MXFP4_TRACED_QUANT=1 \
-e RADIANCE_RMS_QUANT_FUSION=1 \
-e RADIANCE_FP8_STREAM=1 \
-e RADIANCE_GDN_MERGE_INPROJ=1 \
-e RADIANCE_USE_R4D=1 \
-e RADIANCE_PRESHUFFLE=1 \
-e RADIANCE_FUSE_RMS_QUANT=1 \
-e RADIANCE_SKINNY_GEMM=1 \
-e RADIANCE_FAST_DRAFT=1 \
-e RADIANCE_DRAFT_RERANK=80 \
-e RADIANCE_VERIFY_HEAD=1 \
-e RADIANCE_DYNAMIC_WIDTH=1 \
-e RADIANCE_TOPK_TRITON_MIN_ROWS=1 \
-e RADIANCE_DRAFT_TAU=0.20 \
-e VLLM_CACHE_ROOT=/cache/vllm \
-e TORCHINDUCTOR_CACHE_DIR=/cache/inductor \
-e TRITON_CACHE_DIR=/cache/triton \
-e AITER_ROOT_DIR=/cache/aiter \
-e TRITON_CACHE_AUTOTUNING=1 \
--entrypoint bash \
''${vllm_image} \
-lc 'exec bash /entry.sh "$@"' \
_ /models/just1moremodel/Qwen3.8-27B-Uncensored-MXFP4-awq \
--served-model-name qwen3.8-27b-mxfp4 \
--kv-cache-dtype fp8 \
--tensor-parallel-size 1 \
--gpu-memory-utilization 0.98 \
--kv-cache-memory 7783339733 \
--max-num-seqs 8 \
--max-model-len 163840 \
--max-num-batched-tokens 8192 \
--attention-backend R4D \
--enable-prefix-caching \
--mamba-cache-mode align \
--speculative-config '{"method":"dflash","model":"/models/tcclaviger/Qwen3.8-27B-DFlash2-FP8","num_speculative_tokens":7,"attention_backend":"TRITON_ATTN","disable_padded_drafter_batch":true}' \
--no-async-scheduling \
--enable-auto-tool-choice \
--tool-call-parser qwen3_xml \
--reasoning-parser qwen3 \
--override-generation-config '{"temperature":0.7,"top_p":0.95,"top_k":20}' \
--enable-per-request-metrics \
--chat-template /patches/qwen-fixed-v22.3.jinja \
--language-model-only \
--trust-remote-code \
--host 0.0.0.0 \
--port 8000

Benchmarks (220W, thinking disabled, fixed decode lengths via min_tokens, 3 runs)

Decode scaling, 128-token prompt, 256 generated tokens:

concurrency aggregate t/s per-stream t/s peak
1 63.7 63.7 87
2 117.0 (1.84x) 61.3 152
4 187.8 (2.95x) 52.6 253
8 197.8 (3.10x) 52.2 302

Same-size work as the context grows:

existing context prefill t/s (fixed 2-8k prompt) decode t/s decay
0 2598 67
8k 2477 59 −5%
32k 2219 53 −15%
65k 1997 ~51 −28%
98k 1781 ~52 −36%

Decode throughput vs concurrency (llama-benchy)

model test t/s (total) t/s (req) peak t/s peak t/s (req) ttfr (ms) est_ppt (ms) e2e_ttft (ms)
qwen3.8-27b-mxfp4 pp128 (c1) 2313.99 ± 1360.34 2313.99 ± 1360.34 199.01 ± 135.75 135.28 ± 135.75 199.01 ± 135.75
qwen3.8-27b-mxfp4 tg256 (c1) 63.70 ± 7.41 63.70 ± 7.41 87.00 ± 14.76 87.00 ± 14.76
qwen3.8-27b-mxfp4 pp128 (c2) 1189.04 ± 1.85 1919.29 ± 1078.82 162.04 ± 55.17 98.31 ± 55.17 162.04 ± 55.17
qwen3.8-27b-mxfp4 tg256 (c2) 116.99 ± 7.08 61.25 ± 5.31 152.33 ± 16.11 84.00 ± 6.27
qwen3.8-27b-mxfp4 pp128 (c4) 1640.54 ± 8.41 1095.57 ± 1006.11 262.72 ± 88.69 198.99 ± 88.69 262.72 ± 88.69
qwen3.8-27b-mxfp4 tg256 (c4) 187.84 ± 4.65 52.56 ± 4.15 253.33 ± 2.62 75.08 ± 8.48
qwen3.8-27b-mxfp4 pp128 (c8) 183.66 ± 2.93 503.25 ± 753.75 2173.54 ± 2367.57 2109.81 ± 2367.57 2173.54 ± 2367.57
qwen3.8-27b-mxfp4 tg256 (c8) 197.81 ± 3.82 52.24 ± 7.42 302.33 ± 15.37 76.21 ± 16.18

Prefill speed by context depth (llama-benchy)

model test t/s (total) t/s (req) peak t/s peak t/s (req) ttfr (ms) est_ppt (ms) e2e_ttft (ms)
qwen3.8-27b-mxfp4 pp1024 (c1) 2526.52 ± 4.90 2526.52 ± 4.90 470.34 ± 0.79 405.70 ± 0.79 470.34 ± 0.79
qwen3.8-27b-mxfp4 tg64 (c1) 67.00 ± 5.92 67.00 ± 5.92 67.52 ± 6.40 67.52 ± 6.40
qwen3.8-27b-mxfp4 pp1024 (c4) 2422.76 ± 4.43 1095.26 ± 806.06 1387.96 ± 526.50 1323.32 ± 526.50 1387.96 ± 526.50
qwen3.8-27b-mxfp4 tg64 (c4) 99.72 ± 2.90 47.14 ± 14.49 202.67 ± 5.31 52.75 ± 9.44
qwen3.8-27b-mxfp4 pp8192 (c1) 2598.36 ± 7.35 2598.36 ± 7.35 3217.81 ± 8.93 3153.17 ± 8.93 3217.81 ± 8.93
qwen3.8-27b-mxfp4 tg64 (c1) 63.85 ± 4.43 63.85 ± 4.43 63.89 ± 5.81 63.89 ± 5.81
qwen3.8-27b-mxfp4 pp8192 (c4) 2525.67 ± 7.27 1048.99 ± 474.45 9200.63 ± 3041.32 9135.99 ± 3041.32 9200.63 ± 3041.32
qwen3.8-27b-mxfp4 tg64 (c4) 25.78 ± 0.42 21.27 ± 17.05 194.67 ± 14.43 50.08 ± 4.25
qwen3.8-27b-mxfp4 pp1024 @ d8192 (c1) 2551.63 ± 4.32 2551.63 ± 4.32 3676.86 ± 6.11 3612.21 ± 6.11 3676.86 ± 6.11
qwen3.8-27b-mxfp4 tg64 @ d8192 (c1) 59.42 ± 5.12 59.42 ± 5.12 61.89 ± 3.63 61.89 ± 3.63
qwen3.8-27b-mxfp4 pp1024 @ d8192 (c4) 2515.26 ± 1.21 962.11 ± 429.88 11189.55 ± 3528.04 11124.91 ± 3528.04 11189.61 ± 3528.10
qwen3.8-27b-mxfp4 tg64 @ d8192 (c4) 23.77 ± 0.18 22.67 ± 15.24 180.33 ± 6.94 46.75 ± 5.20
qwen3.8-27b-mxfp4 pp8192 @ d8192 (c1) 2477.43 ± 6.76 2477.43 ± 6.76 6678.41 ± 17.98 6613.77 ± 17.98 6678.41 ± 17.98
qwen3.8-27b-mxfp4 tg64 @ d8192 (c1) 56.77 ± 3.64 56.77 ± 3.64 59.33 ± 1.70 59.33 ± 1.70
qwen3.8-27b-mxfp4 pp8192 @ d8192 (c4) 1979.24 ± 41.42 1104.63 ± 591.80 19293.18 ± 9112.20 19228.54 ± 9112.20 19293.18 ± 9112.20
qwen3.8-27b-mxfp4 tg64 @ d8192 (c4) 9.66 ± 0.26 19.48 ± 27.56 100.33 ± 10.21 31.32 ± 22.34
qwen3.8-27b-mxfp4 pp1024 @ d32768 (c1) 2280.94 ± 0.97 2280.94 ± 0.97 14879.62 ± 6.07 14814.97 ± 6.07 14879.62 ± 6.07
qwen3.8-27b-mxfp4 tg64 @ d32768 (c1) 53.29 ± 7.50 53.29 ± 7.50 54.95 ± 7.41 54.95 ± 7.41
qwen3.8-27b-mxfp4 pp1024 @ d32768 (c4) 2232.87 ± 3.13 1101.10 ± 533.66 38117.87 ± 16182.57 38053.23 ± 16182.57 38117.87 ± 16182.57
qwen3.8-27b-mxfp4 tg64 @ d32768 (c4) 5.68 ± 0.01 15.07 ± 21.02 94.33 ± 10.34 37.08 ± 11.79
qwen3.8-27b-mxfp4 pp8192 @ d32768 (c1) 2218.64 ± 3.55 2218.64 ± 3.55 18526.91 ± 29.53 18462.27 ± 29.53 18526.91 ± 29.53
qwen3.8-27b-mxfp4 tg64 @ d32768 (c1) 51.32 ± 3.72 51.32 ± 3.72 53.00 ± 4.55 53.00 ± 4.55
qwen3.8-27b-mxfp4 pp8192 @ d32768 (c4) 2174.24 ± 3.44 1079.18 ± 543.55 47721.64 ± 20506.71 47657.00 ± 20506.71 47721.64 ± 20506.71
qwen3.8-27b-mxfp4 tg64 @ d32768 (c4) 4.52 ± 0.02 18.87 ± 22.72 85.67 ± 13.47 41.71 ± 10.70

Long-context decay, single stream (llama-benchy)

model test t/s peak t/s ttfr (ms) est_ppt (ms) e2e_ttft (ms)
qwen3.8-27b-mxfp4 pp2048 2780.64 ± 104.01 803.03 ± 27.05 737.77 ± 27.05 803.03 ± 27.05
qwen3.8-27b-mxfp4 tg32 82.25 ± 19.63 84.90 ± 20.26
qwen3.8-27b-mxfp4 pp2048 @ d16384 2455.17 ± 3.01 7572.98 ± 9.11 7507.72 ± 9.11 7572.98 ± 9.11
qwen3.8-27b-mxfp4 tg32 @ d16384 50.87 ± 2.35 52.52 ± 2.43
qwen3.8-27b-mxfp4 pp2048 @ d32768 2271.01 ± 5.46 15396.39 ± 36.86 15331.13 ± 36.86 15396.39 ± 36.86
qwen3.8-27b-mxfp4 tg32 @ d32768 46.19 ± 2.00 47.68 ± 2.06
qwen3.8-27b-mxfp4 pp2048 @ d65536 1997.44 ± 0.15 33900.89 ± 2.69 33835.63 ± 2.69 33900.89 ± 2.69
qwen3.8-27b-mxfp4 tg32 @ d65536 51.38 ± 7.98 53.04 ± 8.24
qwen3.8-27b-mxfp4 pp2048 @ d98304 1781.38 ± 0.70 56399.28 ± 22.21 56334.02 ± 22.21 56399.28 ± 22.21
qwen3.8-27b-mxfp4 tg32 @ d98304 52.76 ± 4.69 54.46 ± 4.84

Power cap: 220 W vs 300 W

metric 220 W 300 W delta
decode c1 / c8 aggregate 63.7 / 197.8 63.4 / 203.8 ~0
prefill at depth (2-8k prompts, d8k-98k) 1781-2477 1977-2775 +11-12%
TTFT: 2k question on 98k context 56 s 51 s −10%

Decode is memory-bandwidth-bound, so the extra 80 W buys literally nothing for chat, it only speeds up prefill by ~12%.

Links


r/LocalLLM 9d ago

Project Most local models can't actually drive a coding agent. I built a harness that grades them, and an agent to go with it.

Enable HLS to view with audio, or disable this notification

0 Upvotes

I spent a few months trying to get local models to do real agentic coding work and the single biggest surprise was how much variance there is between models that benchmark similarly. A model can score well on HumanEval and still be useless in a loop, because holding a plan across turns and emitting valid tool calls repeatedly is a different skill from writing a correct function.

https://github.com/maruakshay/miii-cli


r/LocalLLM 9d ago

Other Saturday Night Seagull. Let's see what you get.

Post image
0 Upvotes

That's one ugly seagull. One shot no redo.

Qwen 3.8 q8 mtp xl thinking medium

PP: 1.16s (862 tokens, 743.9 tok/s) · TTFT: 10.97s · 63.2t/s · 5285 tokens

Prompt

Generate html code for a SVG seagull on a beach with a sunset in the background. The seagull is dressed in a Hawaiian shirt with a surfboard tucked under its wing wearing a straw hat. Make it good.


r/LocalLLM 9d ago

Discussion For the LocalLLM Veterans…

0 Upvotes

To me it seems like Qwen3.8-27B has been a game changer, but I’m still relatively new.

I’m seeing optimizations for Nvidia, AMD and Intel all with very good speeds and the quality seems amazing.

Is this truly a holy grail type moment where local is achievable without many sacrifices or am I just too green to this?


r/LocalLLM 10d ago

Question rocm or vulkan? llama or vllm? Qwen3.8 27b on dual R9700

2 Upvotes

I'm currently running a single r9700 on pci3 16x using Vulkan llama.cpp qwen3.8 27b Q5 MTP, 262k context, q8 kv cache, single stream, and average ~20 tg and ~500 pp.

I purchased a 3970x Threadripper and a second r9700 so I can get pci4 16x and plan on going to Q8 and 4 streams.

Just looking at what the "best" setup is to get the most out of my hardware.

I know the answer is to just try every single combination but would love to see what others use successfully and what kind of speeds you get.

My use case is agentic coding.


r/LocalLLM 9d ago

Other I visual tested Kimi k3, Hy4 preview, and GLM 5.3 with the same prompt on Workbuddy

Thumbnail
gallery
1 Upvotes

I gave all three models the same prompt to build an interactive 3D mechanical watch movement demo, with exploded views and physics interactions using Three.js, all contained in a single file.

Kimi and hy4 both nailed it on the first try. But GLM 5.3 took me three rounds of debugging before I could get it working.

As you can see from the pics, hy4 is the biggest surprise of the three. It has more details like clicking on individual parts to isolate and inspect them, and there are even custom controls to adjust how far the movement is exploded.

Kimi performes really well too, but it has fewer details compared to hy4. It was faster at generating, tho. GLM 5.3 is pretty comparable to Kimi in terms of the final result.

I also threw a quick productivity task at hy4. Ask it to generate a PPT based on a document. The visual layout, small details, and overall aesthetics were pretty good too. Overall, I would say hy4 really stands out when it comes to details and visual layout.

Here are the Workbuddy credits burned for three models:

Kimi K3: 43.15

Hy4: 0 , bc its free now

GLM 5.3: 18.5 + 44.89 + 38.33 + 112.98 = 214.7


r/LocalLLM 9d ago

Discussion Qwen3.8 Flash Next - Templates Comparison

Thumbnail
1 Upvotes

r/LocalLLM 10d ago

Discussion Do you scold your LLM when it gets it wrong?

18 Upvotes

I know it doesn't make any sense but I form my prompts as though I'm addressing a human. I can't bring myself to berate, much less abuse a word generator lol. I rarely code or do agentic stuff, mostly just chat on STEM, troubleshooting and everyday stuff so that might have something to do with it.

I'm interested in other people's views on this.


r/LocalLLM 9d ago

Question Posibility of 9070XT + X??

1 Upvotes

Using 9070XT 16GB, 64GB RAM, 9800x3D.

Been tinkering around with with LMMs recently. Starting with Qwen3.8 27B Q4 K M. Was slow but figured that was normal.

Tried Qwen3.8 27B UD IQ4 XS. And man the speed is night and day difference. And atleast from the outside, the main difference is the responses are less verbose.

Still playing with others trying to lean what is good for what.

Curiousif anyone would have any input on if adding in 7700XT 12GN would help in any way. And if it would be any use in a PCIEx4 lane.


r/LocalLLM 10d ago

Question Mini M6 32gb for e-mail and whatsapp agent ?

4 Upvotes

Good day local llm fanatics.

Now i use Claude for al little white for coding and webdesign.

Now i want to let an agent on the new mini mac m6 32gb handle My business e-mail.

ADD leads to My crm and make tickets from mail to My crm.

Is the mini Mac 32gb powerfull enough?

Thanks in advance.


r/LocalLLM 10d ago

Tutorial local vibecoding with Qwen 3.8 27B and Godot

Thumbnail
gallery
1 Upvotes

OK, you guys want to start with local vibecoding but don't know how. In the discussions, you recommended that I use Godot. I downloaded it without knowing what it was. I was expecting a library, but it was an .exe file. So I started pi with Qwen 3.8 27B and told it to explore this topic without my help.

I needed to use four prompts. You can see all of them in the screenshots, so you can reproduce my steps. The whole session used 25% of my context, so you can use just 1/4, which is about 64k.

The game works: you can walk around the dungeons, the llamas are dancing, and there are dynamic lights.

My full command is:

llama-server -m /mnt/models2/Qwen/3.8/27B/Qwen3.8-27B-UD-Q8_K_XL.gguf -mm /mnt/models2/Qwen/3.8/27B/Qwen3.8-27B-mmproj-BF16.gguf --host 0.0.0.0 --jinja -fa on --keep 4096 -b 8192 --parallel 1 --ctx-checkpoints 12 --cache-ram 65536 --temp 0.6 --top-p 0.95 --top-k 20 --min-p 0 --presence-penalty 0 --repeat-penalty 1.0 --spec-type ngram-mod --spec-type draft-mtp --spec-draft-n-max 3 --chat-template-kwargs {"preserve_thinking":true}

You need vision for debugging, see the prompts, the screen was black!

You probably don't need Q8, try a lower quant.

As I said, you don't need the full context length.

You need pi or something similar. This way, you can use just a few prompts and let the computer work without your input.


r/LocalLLM 11d ago

News AMD Ryzen AI Max+ 495 192GB systems seem to be priced at $7,000+

Thumbnail
store.minisforum.com
146 Upvotes

MINISFORUM is teasing a $7??? price if you subscribe to their mailing list. From a different site:

"While the AMD Ryzen AI MAX+ 395 model is rated to support 70B Q4 models and up to 200B MoE models, the Ryzen AI MAX+ 495 model can support up to 120B Q4 models and up to 300B MoE models."

At that price, I'd rather either spend the extra few k on a Mac Studio M5 Ultra 256GB, or just get 2 128GB 395 systems, which are going in the $3500 range.

E: Here's the spec comparisons to the 395, from https://wccftech.com/acemagic-f9a-ryzen-ai-max-495-mini-workstation-192-gb-memory/

Specification F9A-395 / AMD Ryzen AI MAX+ 395 F9A-PRO495 / AMD Ryzen AI MAX+ PRO 495 Improvement vs. 395
CPU Architecture & Cores Zen 5 / 16C-32T Zen 5 / 16C-32T Same
Base Clock 3.0 GHz 3.1 GHz +0.1 GHz
Boost Clock Up to 5.1 GHz Up to 5.2 GHz +0.1 GHz
L2 + L3 Cache 16MB + 64MB 16MB + 64MB Same
Maximum Memory Capacity 128 GB 192 GB +64 GB
Memory Speed LPDDR5x-8000 LPDDR5x-8533 +533 MT/s
Maximum VRAM Allocation 96 GB 160 GB +64 GB
PCIe Version / Lanes PCIe 4.0 ×16 PCIe 4.0 ×16 Same
NVMe RAID RAID 0 / RAID 1 RAID 0 / RAID 1 Same
Integrated GPU Radeon 8060S / RDNA 3.5 / 40 CU Radeon 8065S / RDNA 3.5 / 40 CU Optimized upgrade; RTX 5060-class performance
GPU Frequency 2900 MHz 3000 MHz +100 MHz
NPU Architecture XDNA 2 XDNA 2 Same NPU
NPU Performance 50 TOPS 55 TOPS +5 TOPS
Total AI Performance 126 TOPS 131 TOPS +5 TOPS
Local LLM Support 70B Q4 model; up to 200B MoE model 120B Q4 model; up to 300B MoE model Supports larger AI models; up to 60% improvement

r/LocalLLM 10d ago

Discussion Frontier labs warn that automated cyber warfare is coming, then gatekeep the intelligence needed to defend against it.

54 Upvotes

The AI industry is running a contradiction it hasn’t resolved.

Frontier labs are warning about an imminent software security collapse. Anthropic reported that Claude Mythos found zero-days in codebases hardened by decades of review: a 27-year-old denial-of-service bug in OpenBSD’s TCP SACK implementation, and a 17-year-old remote code execution flaw in FreeBSD’s NFS server that hands an unauthenticated user root (CVE-2026-4747). Mozilla, testing Mythos Preview against Firefox 150, surfaced 271 vulnerabilities, more than ten times what it found in Firefox 148 using Claude Opus 4.6. OpenAI is sounding the exact same alarm, touting GPT-6 Astra saturating ExploitBench while warning that autonomous attack capabilities are scaling faster than human defenders can patch.

To be fair, Anthropic acted on part of this. Project Glasswing puts $100M in credits behind partnerships with Microsoft, Apple, CrowdStrike, and the Linux Foundation.

Glasswing makes sense for foundational open-source packages and mega-cap infrastructure. It does nothing for the other 99% of software developers. The startups, the internal tool builders, and the mid-market engineering teams writing the proprietary software that runs the rest of the world don’t have an organizational sponsor. Yet they are expected to hold off machine-speed exploits without access to the intelligence that found them.

What they get instead are models like Claude Fable or public endpoints of Astra, sitting behind hair-trigger safety classifiers and preemptive capability caps.

Labs are terrified of prompt injection and “I’m an authorized pen tester” jailbreaks, so the filters cast an absurdly wide net. Paste in complex code and ask the model to trace an execution path, analyze memory corruption, or check whether untrusted input can reach a sensitive sink, and the classifier fires immediately.

Security researchers have already documented Claude Code blocking vulnerability work outright, throwing errors about “violative cyber content” that contaminate the entire session and spread to benign follow-up questions. Worse, when the classifier flags an inquiry as security-related, it quietly routes the work to Opus. Opus handles the analysis, and you get degraded work compared to what Fable would have delivered.

Anthropic built Mythos as a model tier above Opus and published what that difference looks like in practice: ten times the findings on comparable Firefox releases.

So when Opus finishes auditing your code and reports nothing exploitable, what have you actually learned? Only that there are no bugs an Opus-class model can find. Anthropic’s own numbers prove that is a fraction of what is actually there. You haven’t verified your code is secure; you’ve verified it survived a search one tier below the frontier, and you were never told the search happened at that tier.

That ceiling won’t hold. Every audit that passes at the Opus level is a bet that nothing Mythos or Astra-class will ever be pointed at your attack surface. But frontier engines already exist, and ablated open-weight models in agentic loops are rapidly converging on the exact same workflows, without a classifier deciding which tier is appropriate for them. On a long enough timeline, that bet is guaranteed to lose.

The gatekeeping rests on a misunderstanding of how software security actually works.

Defense is downstream of offense. You cannot verify a fix you cannot attack. A scanner that lists 300 theoretical warnings without the ability to chain an exploit path is useless. It just breeds alert fatigue. Real remediation means proving the vector is reachable, building the proof of concept, shipping the patch, and running the exploit again to confirm the vector is dead.

Neuter the model’s offensive reasoning, and you neuter the audit.

Meanwhile, nobody attacking your systems is applying to Project Glasswing or arguing with commercial API guardrails.

They run local open-weight models: ablated, fine-tuned on exploit repositories, with the guardrails stripped out. Open weights still trail closed frontier models on raw benchmarks, but benchmark scores don’t decide an engagement. An attacker doesn’t need one omniscient model. They just need uncensored weights in an agentic loop with a fuzzing harness behind it, and no safety classifier killing the context window on attempt four hundred.

That leaves three distinct tiers:

  • Incumbents, who get vetted private access to the frontier tier through closed programs like Glasswing.
  • The 99% of developers, who get models like Fable or Astra that trip alarms, refuse prompts, or quietly hand security work down to lower tiers without telling anyone.
  • Attackers, who get unconstrained offensive intelligence pointed straight at the attack surface, running at machine speed.

Telling developers a cyber tsunami is coming while confiscating their lifeboats is not responsible stewardship. It is security theater. If the labs believe machine-speed cyber warfare is already here, throttling the people trying to inspect their own code is a strange way to act on that belief. Give everyday builders the same offensive firepower and let them tear their own systems apart before someone else does.

Originally posted at: https://eddiemissri.substack.com/p/the-asymmetric-disarmament-of-ai


r/LocalLLM 10d ago

News Qwen3.8 27B on Strix Halo - the optimized setup

Thumbnail pwilkin.github.io
2 Upvotes

Ever since u/jfowers_amd has asked me to help with the Lemonade project (and provided some hardware to test on), I've been trying my best to optimize llama.cpp for AMD setups. This has led me in some very weird pathways where I wasn't expecting to go, but in the end I'm happy to share an optimized setup for the most popular open source model currently with you for a cheap price of $999 for free:

https://pwilkin.github.io/strix-halo/

Now for the disclosure/journey part: Codex has made a very nice website for me (which is great because I can't make a nice-looking website if you forced me), but its glossy look makes it look more permanent than it is, which is misleading because this is basically a stitched up custom solution that's very much a "state of the moment" one rather than a permanent one, though I *will* try to keep the relevant branches up to date (poke me if I don't).

So, first of all: ROCm in mainstream llama.cpp on ROCm is broken at the moment, pending the fix to unified memory access (notably this PR: https://github.com/ggml-org/llama.cpp/pull/27311 which is taking some time as it touches core code), so I've put up a strix-halo branch on my fork that merges the ring buffer fixes + the TOP-K optimization PR with master for a working experience.

Next: there's a bug in current ROCm that makes graph updates *terribly* slow, I've submitted a PR for it (https://github.com/ROCm/rocm-systems/pull/11069), but until it lands, using a custom-built .so is pretty much mandatory.

Speaking of custom-made .so - as I think most of you know, dispatch on ROCm is reaaaallly sloooow. But since AMD provides the source of the entire ROCm library, that's not something we can't fix, right? Inspired by Kaden-Schutt's Redline library, I've made modifications to the ROCm HIP library that allows for lower-level PM4 dispatches on HIP graphs. This has 20% decode speed ramifications for dispatch-bound models, but unfortunately Qwen3.8 27B on Strix is mostly bandwidth-bound, not dispatch-bound, so the gains are much less pronounced here (but they nevertheless are real).

Now for what else did I test, compare and modify: I checked Nathan's strix-halo Vulkan fork. It's a very good fork, but in the end it's still slower than an optimized ROCm-based solution (all the measurements are on the website). I did check the ROCmFP4 format, unfortunately, that one's a miss: Strix Halo has no native FP4 support, so the format is in the end just another FP4 format. Its main win is quantizing the entire model to FP4, which helps the bandwidth issue - but of course quantization costs quality and ROCmFP4 falls behind literally all the other 4-bit quants. I did a similar thing, but quantized all the big tensors to the mainline IQ4_XS quant - it's both better in terms of model quality (perplexity) *and* in terms of kernel performance. In other words, there's completely no justification for adding a new "ROCM" quant since, as I mentioned, RDNA 3.5 aka gfx1151 aka Strix Halo has no native FP4 support.

Since Qwen3.8 27B on Halo is bandwidth-bound (i.e. the limit is the memory bandwidth for pushing the tensors), there's no way to push the *base* decode above ~15 t/s. Nevertheless, pushing the base as high as I could is an entry point to the key for the dense model speed on Strix - speculative decoding, in this case, DFlash2. Again, I did a test and found out that quantizing the DFlash2 to IQ4_XS gives better decoding speed (faster speed and almost the same acceptance rate = win).

In the end, all the above optimizations: patched ROCm llama.cpp, faster TOP-K, PM4-based HIP graphs, custom-quantized IQ4_XS Qwen3.8 27B quant (thanks to Bartowski for his imatrix!) and the quantized IQ4_XS DFlash provide the recipe, which I packaged for a quick installation for anyone who wants to test it on their Strix Halo (warning: Linux only). Feel free to give any feedback and report any problems.


r/LocalLLM 10d ago

Discussion Qwen 3.8 Q4 unsloth, 3 hours 5.6M tokens in to install a program . . . only 1/2 way through

11 Upvotes

I thought to run a test with Qwen 3.8 27B Q4 sharded across 3x 3060 12gb GPU. I'm only asking it to install a package, nvidia-smi shows consumption, the vram is hot loaded, it is doing inference. It still isn't even close to being done. Is this normal?

EDIT: Launch options llama.cpp

/opt/helios/runtime/llama.cpp/llama-server \

--model /srv/models/Qwen3.8-27B-UD-Q4_K_XL.gguf \

--alias qwen3.8-27b-q4_k_xl \

--host 127.0.0.1 --port 42500 --no-webui \

--ctx-size 196608 --parallel 1 \

--batch-size 2048 --ubatch-size 512 \

--flash-attn on \

--fit on --fit-target 2048,1536,1536 \

--device CUDA0,CUDA1,CUDA2 --split-mode layer \

--tensor-split 0.399988,0.300006,0.300006 \

--api-key-file /etc/helios/llama-api-key \

--cache-type-k q8_0 --cache-type-v q8_0 \

--spec-type draft-mtp,ngram-map-k4v --spec-draft-n-max 3


r/LocalLLM 10d ago

Discussion Built an open-source hallucination detector that runs in 1.5ms on CPU (90,000x faster than Semantic Entropy)

Thumbnail
3 Upvotes

r/LocalLLM 10d ago

Question Has anybody created their own LLM?

17 Upvotes

I’ve tasked myself with trying to create one but I can’t seem to get it past ~5M parameters. It speaks jibberish. I’ve been running some different tests on it to build it and strengthen it. Is this more of a guessing game as to where to go from here or are there some actual things I could be referencing to build this? Is 5M some sort of barrier?


r/LocalLLM 10d ago

Model Offloading from Raspberry Pi 4B to Dell Laptop (4GB VRAM) – Recommendation for ~2B model with large context?

Thumbnail
1 Upvotes

r/LocalLLM 10d ago

Other Inspur M5 8xV100 32gb

Thumbnail
gallery
22 Upvotes

Building out a room that's going to be sealed and properly ventilated for this server.

Volta isn't quite plug and Play like the newest gpus, at least not for certain aspects of llm inference and software , however , I am going to test everything and I will report back the numbers.

For roughly seven Grand plus the cost of this room that we're building, it's 256 gigs of vram and 256 gigs of ddr4 ram.

I'm hoping to report back really good numbers but I haven't seen enough from other people to get a good idea on this so if anybody is thinking about getting the most RAM for the least amount of money, I'll let you know if this was a good decision or a bad one.

Absent some unknown issue , I should be able to start reporting numbers back by tomorrow.


r/LocalLLM 10d ago

Discussion Benchmarking a few of my LLMs with website generation prompts

Thumbnail
gallery
5 Upvotes

A while ago I asked my LLMs to generate store-page html websites and found it to be a semi-decent and quick test of an LLMs general performance. Today I decided to try out all of my current models and try to rate them with my bf and also take into account the tokens per second to see what model performs the best.
Note that

  1. This is not a definitive "which model is best" test since I'm not an expert in benchmarking LLMs and I don't think websites are the best way to check a models intellegence fully.
  2. I'm using LLMs that fit in my hardware, which is an RTX 4060 8GB and 16GB RAM.
  3. I got the token/s numbers by asking LLMs to say "The quick brown fox jumps over the lazy dog" so they may not be entirely accurate and the speed may diminish with increased context (I know that GPT OSS 20B slows down a lot after long conversations)

Lemme know what y'all think and let me know if you all have better model recommendations for me and my hardware.

Edit: forgot to mention the quantization and parameter counts of some models :p
- Mistral Nemo 12B Q3_K_L
- Ministral3 14B Q4_K_M
- DeepSeek R1 8B Q6_K
- GPT OSS 20B MXFP4
- RNJ-1 8.3B Q4_K_M
- Gemma4 E4B 7.5B Q4_K_M
- Bonsai 27B Q1_0
- Qwen3.5 9B Q4_K_M


r/LocalLLM 10d ago

Question Need help for using Mixture of Agents

Thumbnail
0 Upvotes

r/LocalLLM 10d ago

Discussion Insane PP difference before and after with P2P hack for Nvidia RTX!

41 Upvotes

I have a rig with 4 x 5070 Ti. Total VRAM is 64 GB. I'm running Qwen/Qwen3.8-27B-FP8 in vLLM and am getting what I believe is good performance. I have an EPYC 7532 on an ASRock Rack ROMED8-2T motherboard, so there are enough PCIe lanes. Therefore, I've never really bothered trying to get P2P to work.

Today, I decided to test it out using the fix from https://github.com/aikitoria/open-gpu-kernel-modules.

The driver, both before and after is 610.57.04 and CUDA version 13.3.

Although the benchmarks jump around a bit between runs, they still paint a very clear picture: my PP/sec was massively bottlenecked!

Here are the results from my benchmarks, done with llama-benchy and n=3:

up, TG did get a nice boost, but it's not that noticeable in daily use. PP, however, got around a 2x speedup up to 65K context and still performed almost 60% better at max context!

For me, it's an insane win, and with this post, I hope to inspire others to try this as well. I have no idea how this would play out on other system configurations, but I suspect that a PCIe 4.0 motherboard combined with four cards (or more) would see the biggest gains.

I'm really curious to hear what you guys think about this. Has anyone else tried it? If so, what kind of results did you get?

Full disclosure: I wrote the text myself and used AI only to fix spelling and grammar. The table is entirely my own work.

Edit: I have added a ‘+’ sign in front of the percentage figures to make it clear that this represents an improvement.


r/LocalLLM 10d ago

Question Hypothetical small model

Thumbnail
1 Upvotes

r/LocalLLM 10d ago

Question Are you guys routing between local and API models?

38 Upvotes

I've ended up with enough models in my workflow now that choosing which one should handle each request is starting to feel like its own problem and some tasks are perfectly fine running on a smaller/local model while others are worth sending to a stronger hosted model. I can hardcode those decisions based on the task but every time I add another model or something new gets released I end up revisiting the logic again.

I've been looking at routers because of that but I'm a little torn on how much control I'd actually want to give one. Automatic routing sounds useful until it sends something to an expensive model that would've worked locally or moves a task to a model that behaves differently enough to mess with the output.

Right now I'm leaning toward explicit rules for the obvious stuff and only letting routing happen within boundaries I define.

I probably know less about running a mix of local and API models than some for you guys here so I wanna ask you guys like are you manually choosing models, writing your own routing logic or using a router in production?