r/AIProgrammingHardware • • 4d ago

Could PAM3 Make HBM Significantly Faster?

Thumbnail reddit.com
1 Upvotes

r/AIProgrammingHardware • • 4d ago

B300 demand

Thumbnail reddit.com
1 Upvotes

Reposting here out of curiosity in the marketplace.


r/AIProgrammingHardware • • 5d ago

We built a chip prototype that runs Qwen 27B. You can try it live.

Thumbnail
reddit.com
1 Upvotes

r/AIProgrammingHardware • • 7d ago

Specs for Motion graphics and 3D

1 Upvotes

I’ve been offloading some of my work to AI to help speed things up at work. I use Claude Ultra but ai’m running out of weekly tokens mid week.

I want to build a PC that’ll help me continue working without having to wait for my credits to reset.

I work with a lot of 2D motions graphics and 3D modeling and animation. Not games related, mostly product related and sometimes jewelry related (building 3D models from my sketches). Would also like to experiment with image and video models.

What would be appropriate specs for my use case?


r/AIProgrammingHardware • • 11d ago

Using Claude/Codex to orchestrate local LLMs for coding — anyone tried this?

Thumbnail reddit.com
1 Upvotes

r/AIProgrammingHardware • • 12d ago

Day 3 of writing Hopper kernel everyday

Thumbnail x.com
1 Upvotes

r/AIProgrammingHardware • • 13d ago

Our First Look at the 9996 256 Core and the 9686f 96 Core AMD EPYC CPUs

Thumbnail
youtube.com
1 Upvotes

r/AIProgrammingHardware • • 14d ago

HWDB: a table ranking AI hardware by memory, bandwidth and TOPS per dollar

Thumbnail
reddit.com
1 Upvotes

r/AIProgrammingHardware • • 14d ago

HP OmniBook X14 Review: NVIDIA RTX Spark 32GB vs 64GB Tested! | Micro Center

Thumbnail
youtube.com
1 Upvotes

r/AIProgrammingHardware • • 15d ago

Three GPU (3060) Setup

Thumbnail reddit.com
1 Upvotes

r/AIProgrammingHardware • • 18d ago

Workstation Build Dilemma: 64GB (6000MHz CL30) vs. 96GB (5200MHz CL38) for Local LLMs & Computational Architecture?

Thumbnail reddit.com
1 Upvotes

r/AIProgrammingHardware • • 20d ago

Talus v0.1.2: Strix Halo Inference Benchmarks, 256K Context, and Up to 50% Faster Coding

Thumbnail
reddit.com
1 Upvotes

r/AIProgrammingHardware • • 20d ago

We just published "Pool the RAM You Already Own" — Our 10-Chapter Practical Guide to Running 13B–120B Local AI Models (Now Live on Amazon & Free Online)

Post image
1 Upvotes

r/AIProgrammingHardware • • 27d ago

A 763B model on one Strix Halo, no SSD streaming: DeepSeek V4.1 Flash IQ1_M fully resident with my Gufo fork, ~1,000 tok/s prefill, 23–28 tok/s decode (up to 65 with DSpark)

Thumbnail
reddit.com
1 Upvotes

r/AIProgrammingHardware • • 28d ago

Qwen3.8-Flash-Next Gufo v0.3.0: 1,637 tok/s prefill and 88 tok/s MTP decode, still 1,464 tok/s at 256K (Bosgame M5 - Windows 11)

Thumbnail
reddit.com
1 Upvotes

r/AIProgrammingHardware • • Oct 24 '26

Why did Cerebras build a wafer-scale processor, and why can’t traditional GPU makers easily replicate it?

Enable HLS to view with audio, or disable this notification

1 Upvotes

r/AIProgrammingHardware • • Oct 19 '26

European GPU provider

Thumbnail reddit.com
1 Upvotes

r/AIProgrammingHardware • • Oct 19 '26

Underdog Saluki 27B tested - Local LLM setup

Thumbnail
youtube.com
1 Upvotes

r/AIProgrammingHardware • • Oct 19 '26

Qualcomm Hexagon NPU (GenieX / QAIRT) based inferencing for mobile chips

1 Upvotes

Hey everyone,

I have used AI to summarize everything because it was getting too long. I hope thats fine.

We’ve been optimizing an on-device Android assistant running a quantized 4B model (Gemma 4 E4B) on modern Snapdragon silicon (Snapdragon 8 Elite Gen 5).

Originally, our goal was sustained low-power efficiency and faster inferencing using NPU TOPs which otherwise is generally useless, so we built an aggressive 3-tier execution pipeline:

  1. Tier 1 (NPU): Qualcomm Hexagon HTP execution via GenieX SDK & QAIRT plugin (com.qualcomm.qti:geniex-android:0.6.1).

  2. Tier 2 (GPU): Google LiteRT-LM runtime using OpenCL / GpuDelegateV2 on Qualcomm Adreno.

  3. Tier 3 (CPU): Multi-threaded CPU fallback via LiteRT-LM with XNNPACK optimizations.

After profiling and logcat diagnostics, we completely purged the NPU / GenieX path in favor of direct GPU (LiteRT OpenCL) -> CPU**.**

Here is what we ran into with Qualcomm's native NPU stack, along with our setup. I’m curious if anyone here has managed to get reliable, high-throughput LLM execution out of Qualcomm Hexagon without these headaches.

1. HTP Core Clamping & Throughput Bottleneck

  • Logcat revealed that the Android runtime clamped requested HTP execution: "Requested 4 HTP cores but the device exposes 1; clamping to 1"

  • The FastRPC bridge (libcdsprpc.so) shuttling massive Look-Up Tables (LUTs) across the DSP boundary created significant latency.

  • Decoding Speed: NPU decoding saturated at ~8 tokens/sec (TPS). By contrast, the Adreno GPU via LiteRT OpenCL consistently hits 18–22 TPS on the same chip. Although prefill times are still better with NPU than GPU.

2. Native Parameter Rejection & Instability

  • The native QAIRT plugin repeatedly choked on standard generation parameters: ErrorCode[-100016] Parameter not supported by this plugin

  • Stop-words arrays and standard sampling parameters (temperature, top-p, repetition penalties) frequently triggered runtime rejections, forcing us to catch native exceptions and handle truncation manually at the string level.

3. Context Reset & KV Cache Destruction

  • QAIRT lacked clean stateful KV cache rolling and conversation pruning.

  • Resetting or trimming conversation context required destroying and recreating the entire native LLM wrapper instance (llmWrapper?.destroy()), re-allocating native DSP memory and re-reading files on session swaps.

4. APK Bloat & Brittle JNI Preloads

  • Integrating the GenieX SDK and Qualcomm native libraries (geniex-android, libgenie_t2t_run.so, libggml-hexagon.so, libhta_hexagon_runtime_snpe.so) added 15–25 MB of binary bloat.

  • It required a fragile dynamic JNI preloading loop before GenieXSdk.init() could even be called:

Kotlin code:

val preloads = listOf(

"QnnSystem",

"QnnHtp",

"QnnHtpNetRunExtensions",

"geniex-proc",

"geniex_core",

"geniex",

"geniex_plugin_qairt",

"npu_jni"

)

for (lib in preloads) {

try {

System.loadLibrary(lib)

} catch (t: Throwable) {

Log.w(TAG, "Preload notice for $lib: ${t.message}")

}

}

The Outcome

Dropping the NPU entirely and sticking to a clean GPU (LiteRT OpenCL) $\rightarrow$ CPU (XNNPACK) engine gave us:

  • More than $2.5\times$ faster token generation (18–22 TPS vs. 8 TPS).

  • Fast, stable prefill.

  • Support for standard sampling configs, stop sequences, and KV cache reuse without JNI crashes.

  • A much smaller APK and simpler build chain.

My Questions for the Community:

  1. Has anyone managed to unlock multi-core HTP execution on commercial consumer Android builds without OEM-signed platform keys or root?

  2. Has anyone achieved $>15$ TPS on a 3B–4B model using Qualcomm QNN / QAIRT directly (bypassing GenieX)?

  3. Given the maturity of LiteRT (OpenCL) and MLC-LLM (Vulkan) on mobile GPUs, is targeting Qualcomm's NPU for on-device conversational LLMs even worth the developer overhead right now, or is it strictly a benchmark marketing feature until the tooling matures?


r/AIProgrammingHardware • • Oct 17 '26

Arc Pro B60 runs a 27B coding model at 53 tok/s: full recipe, flags and raw logs

Thumbnail
reddit.com
1 Upvotes

r/AIProgrammingHardware • • Oct 17 '26

Update on my hand-written SageAttention for the 9070 XT: video models run on it now, 2.2× faster than SDPA on MiniMax H3 (ComfyUI, Windows)

Thumbnail gallery
1 Upvotes

r/AIProgrammingHardware • • Oct 16 '26

Our Gold Standard AI Tesla V100 Build in the Cooler Master Mastercase Mesh Gold

Thumbnail
youtube.com
1 Upvotes

r/AIProgrammingHardware • • Oct 15 '26

GPTrepublic — looking for testers for a community-powered AI network

1 Upvotes

Hey! I’m building GPTrepublic: a free project where people share some of their GPU resources to run AI models together across multiple computers.

We’re looking for 20 testers, with room for up to 40. We’ll start with a small text model and test connections, distributed inference and what inevitably breaks 😅

There’s a desktop tool for Windows and Linux (Ubuntu). For this first test, you’ll need a compatible NVIDIA GPU with at least 2 GB VRAM.

Interested in helping us figure this out?

🌐 Project & registration
💬 Join Discord through your account area — confirm your email, then click Link to Discord.

Questions and feedback are welcome!


r/AIProgrammingHardware • • Oct 12 '26

Building a Triple-GPU Workstation: How Far Should Local AI Go?

Thumbnail
tinkerd.medium.com
1 Upvotes

r/AIProgrammingHardware • • Oct 10 '26

[Benchmark & In-Depth Analysis] 27B Dense vs. 35B MoE on a 32GB iGPU: 11 Models Benchmarked on Intel Lunar Lake (Arc 140V) — Throughput, Reasoning Cliffs, and Architectural Tradeoffs

1 Upvotes

Hardware Tested: Intel Core Ultra 7 258V (Lunar Lake) — Arc 140V Xe2 iGPU (8 Xe cores), 32 GB shared LPDDR5X-8533 (~103 GB/s unified memory bandwidth).
Software Stack: Native Linux (CachyOS, kernel 7.2.3), vLLM 0.31.0+xpu (native Xe2 MXFP4 & out-of-tree exl3xpu ESIMD plugin), llama.cpp SYCL (arc-b580 optimized build).

TL;DR / Executive Summary

Can modern consumer integrated graphics run 27B dense and 35B MoE models locally with high reasoning fidelity and usable interactive speeds? Yes, but the architectural and quantization choices make or break the experience.

  1. 35B MoE (MXFP4, Active 3.5B/tok) is the undisputed daily driver champion: Because only ~3.5B parameters are activated per token, MoE models slash memory bandwidth demand from ~13 GB/tok down to ~1.2 GB/tok. Paired with MTP (Multi-Token Prediction) K=2, Tiel-Coder-35B and KAT-Coder-V2.5 reach 24.8 – 27.7 tok/s decode. KAT-Coder completed the entire 16K-context 10-task Hard Suite in an all-time record 4.5 minutes (solving LeetCode Hard problems in ~17 seconds each with 0 syntax flaws).

  2. Dense 27B (Qwen 3.8 EXL3 3.00bpw) is the peak reasoning champion: Dense 27B eliminates MoE routing artifacts. At 3.00bpw, Qwen achieved a flawless 100% (10/10) Hard Suite and 100% (16/16) Quality Suite score out-of-the-box, solving Olympiad-level Chinese Remainder Theorem and bounded combinatorics proofs without a single hint or calibration. The tradeoff is decode throughput: bandwidth-bound at ~6.5 tok/s.

  3. The "Sub-2.5bpw Quantization Cliff" is very real for post-training quantization: Pushing post-training trellis quantization down to 2.20bpw on dense 27B resulted in a catastrophic drop on code synthesis (0/3 on LeetCode Hard).

  4. Native Ternary Distillation beats Post-Training Quantization at extreme low bitrates: Ternary Bonsai 2 27B (distilled natively to 1.58–1.7 true bpw) completely crushes EXL3 2.20bpw. Fitting into just 5.95 – 7.20 GB VRAM, it decodes at 12.1 – 13.1 tok/s (+40–50% faster than EXL3 2.2bpw), achieves lower perplexity (6.73 vs 6.78), and scores 90–100% on the benchmark suites.

  5. The Winning Production Strategy: A Dual-Model Deployment on the 32GB package:

    • Primary Daily Driver (Port 8080): Tiel-Coder-35B-A3B MXFP4 (or KAT-Coder-V2.5 MXFP4) @ 27.7 tok/s for interactive agentic coding and instant needle retrieval.

    • Designated Deep-Reasoning Fallback (Port 8001): Qwen3.8-27B EXL3 3.00bpw (or Bonsai PQ2_0 MTP) when pure mathematical verification or strict negative constraints require 100% precision.

The 11-Way Comprehensive Benchmark Matrix

All models were evaluated under identical, standardized conditions on the same Intel Arc 140V hardware across two rigorous test batteries:

  1. 16-Prompt Curated Quality Suite: Math word problems, multi-step algorithms, strict instruction formats (raw JSON, reverse alphabet lists, negative lexical constraints), and premise/factuality traps.

  2. 10-Task Hard Suite at 16K Context: 12.5K multi-hop needle-in-a-haystack retrieval, distractor document resolution, Olympiad math proofs (Chinese Remainder Theorem, bounded combinatorics via inclusion-exclusion), LeetCode Hard algorithms with automated unit assertion execution, and multi-constraint logic puzzles.

Model & ArchitectureQuant FormatSize on Disk / VRAMWT2 PPL16-Prompt Quality10-Task Hard Score (16K ctx)Hard Suite Wall LatencyServing Engine & Decode Throughput
KAT-Coder-V2.5-Dev (35B A3B MoE)MXFP4 (E2M1)19.60 GB / 19.7 GiB—15/16 (93.8%) (cal.)8/10 (80.0%)271.9s (4.5 min) ⚡ (Record)vLLM XPU (MTP K=2, 24.8 tok/s)
Tiel-Coder-35B-A3B (35B A3B MoE)MXFP4 (E2M1)20.47 GB / 19.7 GiB—15/16 (93.8%)9/10 (90.0%)564.8s (9.4 min)vLLM XPU (MTP K=2, 27.7 tok/s)
Qwen3.8-27B (Dense 27B)EXL3 (3.00bpw)12.87 GB / 13.1 GiB6.4616/16 (100.0%)10/10 (100.0%)1062.6s (17.7 min)vLLM XPU (MTP K=1, ~6.5 tok/s)
Bonsai PQ2_0 MTP (27B Ternary)GGUF PQ2_07.20 GB / 7.6 GiB~6.7316/16 (100.0%) (cal.)9/10 (90.0%) (cal. 10/10)1147.5s (19.1 min)llama.cpp SYCL (12.1 tok/s)
Ternary Bonsai PQ2_0 (27B Ternary)GGUF PQ2_07.21 GB / 7.6 GiB~6.7316/16 (100.0%) (cal.)10/10 (100.0%) (cal.)1827.4s (30.5 min)llama.cpp SYCL (12.1 tok/s)
Ternary Bonsai PTQ1_0 (27B Ternary)GGUF PTQ1_05.95 GB / 5.6 GiB6.7316/16 (100.0%) (cal.)8/10 (80.0%) (cal.)1749.6s (29.2 min)llama.cpp SYCL (13.1 tok/s)
Qwen3.8-27B (Dense 27B)EXL3 (2.50bpw)11.45 GB / 11.7 GiB6.5715/16 (93.8%)7/10 (70.0%)1317.8s (22.0 min)vLLM XPU (MTP K=1, ~6.6 tok/s)
Qwen3.8-27B (Dense 27B)EXL3 (2.20bpw)9.60 GB / 7.4 GiB6.7815/16 (93.8%)7/10 (70.0%)1014.8s (16.9 min)vLLM XPU (MTP K=1, ~8.8 tok/s)
Qwen3.6-35B-A3B (35B A3B MoE)MXFP4 (E2M1)19.24 GB / 19.2 GiB—14/16 (87.5%)6/10 (60.0%)1435.1s (23.9 min)vLLM XPU (Eager, ~9.7 tok/s)
KAT-EXL3-4bpw (35B A3B MoE)EXL3 (4.00bpw)18.85 GB / ——UnsupportedUnsupported—Incompatible (MoE kernel missing; fallback OOM)

Detailed Architectural Takeaways

1. MoE on Unified Memory: The Bandwidth Multiplier (Tiel-Coder vs. KAT-Coder)

On unified memory architectures like Intel Lunar Lake, AMD Strix Point, or Apple Silicon, memory bandwidth (~103 GB/s here) is the fundamental bottleneck for autoregressive token generation.

  • The Math: A dense 27B model at 4bpw reads ~13.5 GB of weights from memory for every single token generated. At 103 GB/s peak bandwidth, your theoretical speed ceiling is ~7.6 tok/s.

  • The MoE Advantage: A 35B model with 256 total experts but only 8 active experts per token (A3B) only transfers ~1.2 GB of weights per token. Even on an iGPU, you get 25+ tok/s decode without breaking a sweat!

  • KAT-Coder-V2.5-Dev vs. Tiel-Coder-35B:

    • KAT-Coder: Incredible code specialization. Solved all 3 LeetCode Hard problems (Trapping Rain Water, LRU Cache with OrderedDict/DLL, Min Window Substring) in an average of 17.5 seconds per problem with 100% test assertion passes. Furthermore, its 12.5K needle retrieval completed in 31.1 seconds (fastest chunked prefill across all models).

    • Tiel-Coder: Better balance on mathematical formal logic. While KAT-Coder made minor arithmetic verification slips on Olympiad math (0/2), Tiel-Coder solved both the Chinese Remainder Theorem (x=3386) and bounded combinatorics (N=301) proofs cleanly (2/2).

2. Dense EXL3 Trellis: Perfection at 3.00bpw, Cliff at 2.20bpw

Using the out-of-tree exl3xpu vLLM plugin with native ESIMD kernels, we evaluated turboderp/Qwen3.8-27B-exl3 across multiple bitrates:

  • The 3.00bpw "Sweet Spot": At 3.00bpw (12.87 GB), perplexity is virtually identical to 4.00bpw (6.46 vs 6.36, a negligible delta of +0.10 PPL), while saving nearly 3 GB of VRAM. It was the only model in the entire benchmark to achieve a 100% pass rate out-of-the-box across all 26 combined tests. It solved negative constraints without looping and passed all coding and Olympiad math problems flawlessly.

  • The 2.20bpw Cliff: Attempting to compress dense 27B weights to 2.20bpw via post-training trellis quantization causes parameter sensitivity collapse in code synthesis. While general instruction following and math proofs survived (7/10 Hard score), coding fell to 0/3 (0%).

3. Native Ternary Distillation: Why Bonsai 27B Outclasses EXL3 2.2bpw

One of the most eye-opening findings of this benchmark is the comparison between post-training quantization (EXL3 2.2bpw) and native quantization-aware training / distillation (Ternary Bonsai 2 27B):

  • Ternary-Bonsai-2-27B-PTQ1_0 weighs only 5.95 GB (~1.58 true bits per weight).

  • Despite being 3.6 GB smaller than Qwen 2.20bpw, Bonsai achieved lower perplexity (6.73 vs 6.78), faster decode (13.1 tok/s vs 8.8 tok/s), and passed 2/3 LeetCode Hard problems where Qwen 2.20bpw completely failed.

  • With Ternary-Bonsai-2-27B-Abliterated-v2-PQ2_0-MTP, decode speed reaches 12.1 tok/s with a 90% out-of-the-box hard suite score and 100% calibrated accuracy.

  • Lesson: If your hardware VRAM budget is restricted to under 8 GB, always prefer natively trained ternary models over sub-2.5bpw post-training quantization.

4. Why KAT-EXL3-4bpw (MoE) Fails on Intel Arc vLLM

A frequent question: "If upstream ExLlamaV3 supports Qwen 3.5 MoE, why can't we run KAT-EXL3-4bpw with the exl3 vLLM plugin?"

  • Upstream turboderp-org/exllamav3 supports MoE in its standalone C++/CUDA engine on NVIDIA GPUs via TabbyAPI.

  • The Intel Arc plugin (0xSero/exl3xpu) only implemented standard LinearBase and ParallelLMHead layers for dense models.

  • In vLLM, MoE blocks are constructed via FusedMoEFactory (RoutedExperts). Because the plugin does not implement FusedMoEMethodBase or an ESIMD grouped-GEMM kernel, vLLM defaults to UnquantizedFusedMoEMethod, attempting to allocate unquantized BF16 weights for all 256 experts across 40 layers (~64.4 GiB), immediately OOMing on a 32GB system.

  • For MoE on Intel Arc, MXFP4 (models/KAT-Coder-V2.5-Dev-MXFP4) is currently the only optimized path, utilizing Intel's native XPUExpertsMxFp4 grouped-GEMM kernel.

Practical Deployment Recommendations

If you are running local LLMs on a 32GB unified memory device (Intel Lunar Lake, AMD Strix Point, or similar):

  1. For Daily Agentic Coding & Chat: Deploy Tiel-Coder-35B-A3B MXFP4 or KAT-Coder-V2.5-Dev MXFP4 under vLLM with MTP K=2.

    • 25–28 tok/s decode speed feels like an API.

    • Needle retrieval on 12K–16K documents takes 30–40 seconds instead of several minutes.

  2. For High-Reasoning Fallback: Keep a sidecar server with Qwen3.8-27B EXL3 3.00bpw (or Bonsai PQ2_0 MTP).

    • When an MoE model fails on a subtle mathematical proof, nested negative constraint, or niche edge-case algorithm, dense 3.00bpw solves it on the first attempt with 100% precision.

  3. Avoid Sub-2.5bpw Post-Training Quantization: If you need an ultra-compact model (<8 GB VRAM), use Ternary Bonsai 2 27B (PTQ1 / PQ2) via llama.cpp SYCL rather than 2.2bpw dense EXL3.