@hank_aibtc: Amazing! Running Gemma 4 in the browser, on par with ChatGPT?! Completely zero server, zero data upload, offline, pure WebGPU local inference! Xenova has open-sourced all 27 custom WebGPU kernels written by Fable 5: - Gemma 4 E2B (2.3B parameters...)
Summary
The article introduces Xenova's open-sourcing of 27 custom WebGPU kernels, enabling Gemma 4 to run fully offline and locally in the browser at 255 tok/s, and discusses advantages like privacy and offline use. It also mentions FLUX.2's 3D generation capability.
View Cached Full Text
Cached at: 06/18/26, 04:18 PM
Amazing! Running Gemma 4 in the browser, rivals ChatGPT?!
Zero servers, zero data upload, offline, pure WebGPU local inference!
Xenova has open-sourced all 27 custom WebGPU kernels written by Fable 5:
- Gemma 4 E2B (2.3B parameter mobile-optimized version)
- AI helps AI write low-level WGSL shaders
- Speed jumped from 84 to 255 tok/s (M4 Max / RTX 4090 — as smooth as a local app)
What is this actually good for?
- Privacy fans rejoice: process contracts, code, chat logs, sensitive info — data never leaves your device, never goes to the cloud
- Offline powerhouse: on planes, trains, subways, with no internet — chat, write, brainstorm anytime
- Instant assistant: daily Q&A, document summarization, code generation, translation, creative writing — responses are blazing fast
- Developer toy: directly inspect the 27 AI-generated kernel codes, learn WebGPU optimization, fork and build your own web AI tools
- Future template: real-time NPCs in web games, smart assistants in online docs, real-time translation in browser, personalized learning tools — all run locally
This is the real-world implementation of an Agentic AI self-optimizing inference engine!
Fable 5 helped accelerate itself, and on the third day its access got suspended… Now it’s our turn to enjoy the spoils.
See address in comments.
HankAI (@hank_aibtc): 🔥FLUX.2 [klein] turns into a 3D generation powerhouse, open-source
Modality Forcing upgrades this lightweight image generation model into a unified 3D tool — text and photos generate 3D instantly.
Core capabilities:
- Generate 3D assets from a single text prompt: Input a prompt, directly output color images + precise depth maps, one-click conversion to point clouds or meshes. Game props, VR scenes, e-commerce 3D models, architectural visualization — all done, saving massive manual modeling.
Similar Articles
Gemma 4 E2B running in-browser at 255 tok/s using WebGPU kernels written by Fable 5
Gemma 4 is demonstrated running in-browser via WebGPU at 255 tokens per second, using kernels generated by Fable 5, showcasing efficient on-device inference.
@googlegemma: “Agentic kernel optimization is the future of on-device inference” @xenovacom used Fable 5 to write kernels that pushed…
Xenova used Fable 5 to write optimized kernels achieving 255 tokens per second for Gemma 4 on WebGPU with M4, demonstrating agentic kernel optimization for on-device inference.
@mylifcc: I'm already running Gemma-4-12b on my Mac. Tech stack: llama.cpp + GGUF Q4_K_M + Metal 32K context, local OpenAI-compatible API. Measured about 36 tok/s, resident RSS about…
User shares their experience using llama.cpp with the GGUF Q4_K_M quantized version of Gemma-4-12b on a Mac, achieving local inference speed of about 36 tok/s and memory usage of about 10GB.
@mervenoyann: DiffusionGemma is out it's compute-bound so 4x faster compared to other Gemma-4 models (1k tok/s on H100) also great on…
DiffusionGemma is out; it's compute-bound and 4x faster than other Gemma-4 models with 1k tok/s on H100, and excels at coding tasks including 3D generation and front-end.
Gemma 4 26B-A4B and a 37 GB Qwen3.6 MoE running in a browser tab on a 24 GB Mac — experts streamed from disk, output matches llama.cpp
LocalMind is updated to stream mixture-of-experts weights from disk while generating in a browser tab via WebGPU, letting a 24 GB Mac run a 14.4 GB Gemma 4 26B-A4B and even a 37 GB Qwen3.6 model, with output that matches llama.cpp on the same GGUF files.