Devs Tuning Local LLMs for Speed
138 posts across 9 communities in the last 30 days; 78% from r/LocalLLaMA.
“tl;dr: qwen 3.5 4b got 10/10 on hidden tests as a coding agent on a 16gb air, fully local. if your small model keeps writing broken files, use llama-server’s openai compatible endpoint instead of a json grammar. people keep telling me i only test big models on big hardware so…”
“Everytime I have been fed up with a good model being slow, I go to newly released Nemo model. Well today I went for Bolt 24G and deployed it on my 3090. I was amazed by the vanilla llamacpp + iq2s setup giving 70 tok/s. I decided I will deploy it for my coding setup which is…”
“Hello, I decided to Test Unsloth Dynamic 3.1, as in their charts they showed that UD_IQ1_M was batter than Ista lab IQ3_XXS, but with 6 GB less of total size, I'm using Strata, and that 6 GB translates directly to free RAM, I have been 2 months with the IQ3_XXS with no any…”
AI developers are experiencing significant challenges in optimizing large language models (LLMs) like Qwen for speed and performance. They are experimenting with different quantization methods, hardware configurations, and speculative decoding techniques to achieve desired throughput (tokens/second) and balance power consumption, often encountering unexpected performance variations and seeking community solutions.
SOURCES (60)
“My agent ported UkisAI's Swift-Inkling-2-Mini fine-tune to AMD Loom and measured it against the official checkpoint on a 128 GB Strix Halo. This is an easy conversion and packaging job! Swift is a post-train of Thinking Machines' Inkling-2-Mini that cuts thinking tokens. The base release…”
“Motivation Following our benchmark results in Discussion 12: https://github.com/marfrit/arcint/discussions/12 GPT OSS 20B performs very well on a single Intel Arc Pro B60 after selective tensor requantization: Zero reported CPU tensor placements Only two graph splits Approximately 1440 t/s prefill Approximately 53 t/s long output decode Up to 68.5 t/s short output decode 64K context Estimated memory utilization including growth margin: 70.5% These are application level measurements, not standard”
“I saw some.discussions on looped qwen flash next, but only one thread regarding 27b looped. Has anybody ran a full benchmark suite? If so, where can I find it?”
“For this Qwen, probably ninfer. [re: I deleted Linux, nvidia.ko, CUDA, C, and libc and booted Qwen3.6-35B-A3B (64K ctx) bare-metal on an RTX 3090 from a single 528 KB pure assembly UEFI file (+44% vs llama.cpp CUDA)]”
“Nice work. Any plans to support CMP 170HX/A100? [re: New LlamAmpere: Inkling 2 Mini at 189 TPS @ 100K depth; 23% faster than Maya, with 98.0% Top-1; 27B at 121 TPS @ 100k ctx depth, with 98.2% Top-1, with support for looped 27b + QFN]”
“In my experience the lower quant of DS isn't worth it, you'd have much better luck using Hy4 Flash or Qwen Flash Next. [re: For half the price of a DGX Spark, this is just insane (Deepseek v4.1 Flash 1017 EXL3 3.5bpw)]”
“[https://github.com/1CatAI/1Cat-vLLM](https://github.com/1CatAI/1Cat-vLLM) [re: What Engine to use with Qwen3.8 27B >=Q8 on 3x V100 32GB?]”
“I'm running qwen flash next on 16gb at 128k 80+ t/s a 26b model should be way faster... just look at all the engines out there. Ask an AI model to advise install it try it. On github there will be a version for your gpu [re: If you wrote off a model like Inkling, try the Swift version]”
“In 8gb VRAM what is the supported ctx length and tps? [re: LingLoop: an Inkling-inspired 8B MoE for 8 GB GPUs — 59.4% vs Bonsai 2.5 27B’s 57.5% on BFCL]”
“Hi Guys! What Engines are an option here if I dont want to redownload every weight I already have? Are there enginges optimized fpr V100 that just take normal GGUFs with >=Q8? I'm currently using llama.cpp but heared there are much better/more optimized engines for this usecase, but all seem to use some "weird" specific model quants. Thanks for input.”
“So, it is like the opensource cuda then? [re: I deleted Linux, nvidia.ko, CUDA, C, and libc and booted Qwen3.6-35B-A3B (64K ctx) bare-metal on an RTX 3090 from a single 528 KB pure assembly UEFI file (+44% vs llama.cpp CUDA)]”
“>I wrote an LLM inference engine in pure assembly Oh hi Claude. Nice to meet you. [re: I deleted Linux, nvidia.ko, CUDA, C, and libc and booted Qwen3.6-35B-A3B (64K ctx) bare-metal on an RTX 3090 from a single 528 KB pure assembly UEFI file (+44% vs llama.cpp CUDA)]”
“Can you reboot into another model or is os and everything else to thighly knit togeher? [re: I deleted Linux, nvidia.ko, CUDA, C, and libc and booted Qwen3.6-35B-A3B (64K ctx) bare-metal on an RTX 3090 from a single 528 KB pure assembly UEFI file (+44% vs llama.cpp CUDA)]”
“What would you like to do? self explanatory, would make things a hell of a lot faster. I assume this is already on the roadmap. How would you like it to work? configurable thread count for fpkg conversion Part of the app Convert Where you'd use it Linux How do you manage today? im using ps5 dumpforge for the time being”
“In docs/inkling.md there is information about different kv cache quantization but polystrata itself tells: [!] not used with Inkling 2 Mini (its engine has no such setting): kv <img width="1916" height="987" alt="Screenshot From 2026 11 28 18 50 49" src="https://github.com/user attachments/assets/c59ba30b e5a2 4149 882e 9d54aaf45780" / I'm using custom gguf from huggingface.”
“🚀 The feature, motivation and pitch Motivation 63956 made ShardQ the default sparse MLA prefill path under TP on NVIDIA. It removed pure indexer row sharding ( 54951) and reported 1.24x to 1.40x TTFT at 32K to 128K on GLM 5.3. On ROCm, ShardQ is enabled only for specific models: 70004 added the some plumbing to ROCMAiterMLASparseImpl but enables it only for HY4 Several PRs does TP sharded indexer (but lack te a2a and CP sharded prefill for attn as ShardQ does): 65555 for DeepSeek V4.1 70007 for”
“Qwen 3.8 27B has been awful for me, ineffective and very slow, even on M5 Max 64GB. I wish I could agree with you, but it has been a total waste of time for me. Hope it changes.”
“Most likely, especially for the under-specified bits, but my point is that the second approach works perfectly fine with something like a quantized Qwen 3.8 27B so i never feel like needing more, but for someone who uses the first approach something like Qwen 3.8 27B[0] wouldn't work at all.So basically it isn't so much "what are you people making that you need Opus" as "how are you people using AI that you need Opus".[0] or even more advanced models, i've seen people claim that for something li”
“Feature request Please ship a ready to use, validated 512K context profile for Qwen3.8 Flash Next on 2 × Radeon AI PRO R9700 (32 GB each) with 128 GB system RAM on Windows, e.g. flashnext 2card 512k.yaml , or document a tested set of overrides to the existing flashnext 2card profile. The upstream Static YaRN documentation explicitly describes rope scaling: yarn:2 over 262,144 positions and reports long context retrieval tests around 500K for both Flash Next variants. However, all currently shipp”
“Filed by an AI assistant working with this account's owner, at their request. Context While benchmarking blake3 servil = "=0.10.0" on an Apple M6 (12 cores) for BLINCS (salted streaming content hashing) and reviewing how Pipeline works for git buttress (which hashes Git blobs, trees, and commits under four distinct DeriveKey contexts), we ran comprehensive measurements of Pipeline — including zero copy in place generation directly into Pipeline::room() buffers ( 30.4 GB/s !). Measurements ( 100”
“For improved performance on devices where VRAM is the bottleneck, adding support for Samsung LittleBit as a quantization option would be especially helpful for allowing ablation of larger models. May require a lot of work though.”
“背景与目标 参考 NVIDIA GPGPU 的 shared memory 声明与分配方式,希望在 Superscalar NPU 核上为 PTO C 定义 SRAM 内存管理接口:用户声明 SRAM 对象,由编译器静态完成块内布局、对齐和偏移分配,并根据运行时的 BlockID 寻址当前 block 的 SRAM 实例。 CUDA 中的声明示例: 概念上,每个 block 拥有一份这些 shared memory 对象,编译器为对象安排块内偏移。下图仅用于说明静态布局;具体声明顺序、偏移和对齐不作为 CUDA 的布局保证。 以上大小按 sizeof(int) == 4 举例。若要求 8 字节对齐,应通过语言支持的显式对齐方式表达;普通 int 声明本身不代表 8 字节对齐。 提议的 PTO C 接口 引入 sram 存储限定符: 期望语义: SRAM 对象由编译器静态分配,不需要运行时申请或释放。 每个 block 拥有同一组声明对应的一份 SRAM 实例,采用相同的块内布局。 普通名称访问(如 a[i] )默认访问当前 BlockID 对应的实例。 编译器确定每个对象的大小、对齐和”
“Pretty much the title, i'm relying on both Msi AB for creating the core curve and Mvolt for tuning the rest. I can provide u with whatever u need to investigate on this, just tell me what exactly. Thank you for your work!”
“I noticed this only supports FSR3.1 which doesn't look all that great compared to FSR4.1, FSR4.1 now also supports Vulkan for a while now and runs on 6000/7000 and 9000 series cards.”
“BTW does the mtp affect quality on strata or only speed? [re: DeepSeek v4.1 Flash vs Qwen 3.8 Flash Next Performance]”
“u/jfowers_amd Thanks for sharing! I'm currently experimenting new ggml hip kernel in audio.cpp. Some models got noticeable speedups (up to 4×) but generally vulkan is still better. I'm using devlab runners to test performance so not sure how well these results hold up on other AMD machines. Have you tested any audio models? If it's easy to setup on devlab I'm happy to test the hrx-loom backend in audio.cpp [re: I built speedy Strix Halo kernels for the top-51 LLMs with AMD Loom (”
“So like ~55%, substantial reduction. [re: DeepSeek v4.1 Flash vs Qwen 3.8 Flash Next Performance]”
“Thank you for explaining. That sounds pretty good. I will check it out. [re: What does Qwen3.6-35B-A3B look like at Q8_0 and BF16 on datacenter GPUs?]”
“While waiting for Qwen 4, I installed and benchmarked DeepSeek v4.1 Flash to see if I was missing out. Based on the type of work I do, DeepSeek is not better but is definitely much slower. Turns out Strata with Qwen 3.8 Flash-Next is best bang for buck on my machine. submitted by /u/Critical-Entry3377 [link] [comments]”
“The Jetson AGX Xavier came out in September 2018, four years before ChatGPT existed. It has 16–64 GB of LPDDR4x at 136 GB/s. The GPU is a 512-core Volta, and people skip the board for local AI because of it. Mine is the 32 GB module. It sat on a shelf collecting dust. It is " quite terrible ". I wanted a real number for how a modern LLM runs on it. Getting there cost about $300 in tokens on GPT-6-Astra and Fable 5.2, so you don't have to spend yours. I started with current llama.cp”
“tl;dr: qwen 3.5 4b got 10/10 on hidden tests as a coding agent on a 16gb air, fully local. if your small model keeps writing broken files, use llama-server’s openai compatible endpoint instead of a json grammar. people keep telling me i only test big models on big hardware so this one is the opposite. setup m4 macbook air, 16gb, fully offline agent: atomic agent, no approvals, one attempt per run with a time limit qwen 3.5 4b and 9b, q4_k_m (unsloth gguf), llama.cpp server task: a python expense”
“Notice: This post appears to be AI generated. Stylome AI detector · scan results [re: Qwen 3.8-27B BF16, lossless, faster and 11.4 Gib smaller]”
“Good news for BC250 owners! [re: Qwen3.5-9B running on a PS4’s GPU, offline, using its own MTP head for speculative decoding]”
“I made this, so a quick note: it’s my open-source project. Qwen3.5-9B runs on a stock PS4 at 31–39 tok/s. The MTP head that ships with Qwen3.5 made the biggest difference: it drafts up to two tokens and the full model checks them in one pass, which took it from 22 to 31–39 tok/s on this old GPU. Weights are re-packed into custom 4- and 3-bit formats to fit about 4.5 GiB. Your old PS4 can now run a 9B AI, offline, on its own GPU. It talks, listens, and writes code. No cloud, no subscription, no L”
“Everytime I have been fed up with a good model being slow, I go to newly released Nemo model. Well today I went for Bolt 24G and deployed it on my 3090. I was amazed by the vanilla llamacpp + iq2s setup giving 70 tok/s. I decided I will deploy it for my coding setup which is dual R9700 and learned cpu offloading and mtp drafters and all. After deployment I was left with 50tok/s because this was a Q8 setup. I suddenly realise what if (the model I was fed up with) my Qwen 3.8 27B could use a bette”
“have you tried also gyro-s? wonder how that one holds up [re: UD_IQ1_M Q3.8 FN behavior on Strata]”
“But nowdays, we have something we did not have back then: decades of experience, namely we "know now", and we could expect those µops to be very stable. Their difference among vendor is probably more cosmetic (and vendor lock-in) more than anything else. The "distance" between them is probably rarely significant.That said, the real sweet spot is probably not in an ISA based on pure µops, but something in between, but closer to those µops, like RISC.”
“Hello, I decided to Test Unsloth Dynamic 3.1, as in their charts they showed that UD_IQ1_M was batter than Ista lab IQ3_XXS, but with 6 GB less of total size, I'm using Strata, and that 6 GB translates directly to free RAM, I have been 2 months with the IQ3_XXS with no any issue, but only 3 days on the Unsloth one, it had happened to me many times, that the tool calls fails and render as xml (I use PI harness) and I have to type "keep going", this never happened with the IQ3_XXS on”
“Hi r/LocalLLaMA , we're releasing Boole-32B-A2.5B-Preview, an early 1.8-bit version of Recursive's flint . With mixed-precision quantization, expert pruning, and custom kernels (kernel changes in attached figure), we made the model 9x smaller than BF16, and 2x faster than INT4. After releasing our 1-bit LLM (Boole-1.7B), we heard a lot of requests for both faster and larger MoE models - so this is our first step in that direction. Try it out, and let us know what you'd like to see ne”
“I've been testing and optimizing Radiance for 4xR9700 on EPYC Rome platform (tp4), focusing on EXL3 for DS 4.1 Flash (2.25) and Qwen Flash Next (4.05). The goal has been to optimize this setup (both hardware and software) for Claude Code usage, so it may not be the fastest for 1 user interactive usage. Also the focus has been to provide "exact" results, so output is byte-identical to each model's reference engine. I'm quite happy with the improvements and with the end resul”
“A quick update on my Strata EXL3 fork for AMD. I've been working on the HIP kernels and memory management, and decode performance is now roughly 10-20% higher than the previous version, depending on the quant and workload. Some cases improved by almost 24%. The other news is that I managed to get MiMo V2.6 Flash running at around 25-30 tokens/s with 2 cards. . More on that below. First, why EXL3? I think this is worth repeating because people tend to compare quantizations just by looking at”
“Does anyone know what the near term (pretty much 2027) looks like for sparse MoE models? Something markedly improved from qwen3.8-fn? Have not seen much news about a qwen4 sparse MoE open-weight submitted by /u/mHo2 [link] [comments]”
“Prerequisites [x] I am running the latest code. Mention the version if possible as well. [x] I carefully followed the README.md. [x] I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed). [x] I reviewed the Discussions, and have a new and useful enhancement to share. Feature Description QSA ignores per sequence KV rows. With kv unified , qwen4exp gets slower whenever another conversation sits in the cache, even an idle one”
“Disagree regarding DS-1017 on 2x Sparks, getting consistent 95-96 / 100 on teb 3.0.1dev --hardmode, where my GLM 5.3 flash has a high score of 91. Even on the --needle benchmark it wins. Haven't had any hallucinations that the served model doesn't also have. GLM is damn good though, and would be my daily driver if not for DeepSeek. [re: thinkingmachines/Inkling-2-Small is released!]”
“On my 2TB NVME, I got: Gemma 4 (E2B / E4B / 12B / 26B-A4B / 31B) IT QAT Qwen3.5 (2B, 4B, 9B, 27B, 35B-A3B, 122B-A10B) MTP Q4_K_S Qwen3.6 (27B, 35B-A3B) MTP Q4_K_S Qwen3.8 27B Q4_K_S, Qwen3.8-Flash-Next) Q4_K_XL DeepSeek v4 Flash 4 Vision Exp, both in Q2_K_XL and Q8_0 Nemotron 3.5 Super VL NVFP4 EmbeddingGemma 4 BF16 Qwen3-Embedding 0.6B in F16, 4B and 8B in Q4_K_S Qwen3-Reranker 0.6B in F16, 4B and 8B in Q4_K_S Qwen3-Embedding-VL 2B and 8B in Q4_K_S Qwen3-Reranker-VL 2B and 8B in Q4_K_S All text”
“3080M 16GB from China: Low end 250$ Bandwidth 448 GB/s $ per GB/s 0.56 (50+ t/s with Strata and QFN IQ3_S) [re: Used datacenter/workstation GPU prices on eBay this week, ranked by $/GB of VRAM]”
“I can run it on 12-16 v620s! I have 4. Might get 20 toks a sec [re: thinkingmachines/Inkling-2-Small is released!]”
“RustingStrata is a pure-Rust inference engine for Qwen, DeepSeek and GLM GGUFs. CUDA kernels are compiled at run time with NVRTC, the same kernels run on Vulkan, and there is no ggml and no C++ build step. I wanted the high-quant numbers, so these runs use Q8_0 (37.8 GB) and unquantized BF16 (71.1 GB), with the whole model in VRAM, on A100, L40S and H100: GPU Quant Prefill, 4K prompt Decode Decode with MTP H100 80 GB HBM3 Q8_0 11,486 tok/s 290 tok/s 508 tok/s H100 NVL BF16 8,691 tok/s 230 tok/s”
“What settings are you using to fit full context? [re: New Qwen3.8-27B Unsloth Dynamic V3.1 GGUFs]”
“I spent a few days benchmarking unsloth's UD-Q4_K_XL and UD-Q5_K_XL on Strata. Well, i had claude code do it via ssh. Claude also wrote this summary, that i thought might interest some because of my findings, on behavior of multiple cards and different PCIe speeds. I can run a few more tests, if it interests anyone. Test system Threadripper 2920X (12 cores, Zen+), 128 GB RAM 4x RTX 3090 24 GB, power-capped to 275 W each, no NVLink PCIe 3.0. GPUs 1 and 3 run at x16, GPUs 0 and 2 at x8. Two ho”
“Great! I’m building a fork that allows to run 26B QAT Q4 within 7-8GB (with kv) of RAM on Mac and this is the issue I had during testing yesterday. I blamed non-thinking mode for that without investigation and was sad, so happy that its not that! Everybody works just on Qwen, while Gemma has so much potential. If they would make more point releases (like Gemma 4.1) then it would be on same level as Qwen probably. But even without that its soo good to have a model that writes 100k ctx in european”
“Hi u/m4rkGS , I'd like to test the GGUF models, I'm running latest kapitsa on a M5 Pro 64 GB [re: KQuant - new quantization technique, 3.7× better quants for Qwen Flash Next 180B, Qwen 27B, 35B, 9B (measured in KL-divergence reduction) (MLX)]”
“its probably gonna be Q3 tho, is that fine w u? [re: KQuant - new quantization technique, 3.7× better quants for Qwen Flash Next 180B, Qwen 27B, 35B, 9B (measured in KL-divergence reduction) (MLX)]”
“While benchmarking a YOLO model exported to ONNX on CPU (AWS c7i, ONNX Runtime), I ran into an unexpected slowdown. Processing 1,000 images took 40 s on 4 vCPUs but jumped to 59 s on 8 vCPUs with the exact same code and model. Splitting the timing by stage showed the ONNX model itself was fine. The bottleneck was pre- and post-processing, which still ran in PyTorch. Preprocessing jumped from under 2 ms per image to 21 ms—taking longer than the model inference. Why This Happens Thread Overload: B”
“i setup Qwen 3.8 Flash Next Q_2 abliterated with splash and dflash2, and it's currently running 20-40 as well, 1.6.1 was a pretty decent upgrade with speed on splash [re: how much can a m6 32gb run?]”
“it's a drop-in replacement for other gguf > Quality > KL divergence to FP16, lower is better: Model GGUF size KL ↓ Unsloth UD-Q4_K_XL 22.36 GB 0.015731 MACaQ-R Q4_K_XL 22.36 GB 0.013367 the main festure of MACaQ apparently is that you could quantize models on your own hardware [re: huawei-csl/Qwen3.6-35B-A3B-MACaQ-R-GGUF · Hugging Face]”
“I have previously described the method in this comment: link [re: Have 8 GB of VRAM and 32 GB of RAM? You can run Qwen 3.8 Flash Next at up to 900 t/s PP and 30 t/s TG!]”
“Hi, Recently I switched to strata/qfn (iq3xss) on my 3090 + 64g ram and I’m getting around 70-80 t/s. It became my daily driver and I’m really happy with it. Since it also using the ram and fully the gpu I can’t really do anything on that box other than running strata. I’m thinking of buying a dedicated inference box for the purpose and I was checking of strix halos can get one for 3-3.5k in eu. Has anyone used strix halos with qfn and Whats the t/s you’re getting. Is 70-80 t/s realistic there o”
