Qwen4-35B-A3B runs in-browser via custom WebGPU kernels at ~105 tok/s on M4 Max

xenovatech · reddit · 2026-12-05

Developer xenovatech released a Hugging Face Space demoing Qwen4-35B-A3B (Unsloth UD-Q2KXL quant) running fully local in the browser via custom WebGPU kernels, hitting 105 tok/s generation on an M4 Max (28 GB weights).

Benchmarks (PP = prompt processing, TG = text generation):

Kernels are still being optimized. Tip: enable experimental subgroup matrix support at chrome://flags/#enable-unsafe-webgpu for best performance.

Demo & kernels: huggingface.co/spaces/webml-community/Qwen4-WebGPU

Related event: Custom WebGPU Kernels Run Qwen4-35B in Browser at ~105 tok/s(2 posts)→

Original post →

More from Infra

Infra channel →