✳flâneur — a map of the web's best reading
Xianbang Wang — research & writing
peppaking8.github.io · 2,187 words · saved by 1 readers
Xianbang Wang — MIT '29, deep learning · vision · RL. Personal site and technical blog.
A practical story about writing TPU Pallas kernels: from naive attention to native backward kernels, sparse attention, and a 1.57x nanoGPT training speedup. GPU users have CUDA and Triton tutorials everywhere; TPU users usually hear the simpler advice: write JAX and trust XLA. This post asks when that advice is still leaving performance on the table. We build a causal attention Pallas kernel, add the native backward pass needed for training, fuse the Q/K preprocessing and layout boundary, and integrate the result into a nanoGPT-style language model. The final v6e-16 training run improves from
Explore this link on the map →related reading
- LLM Visualizationbbycroft.net
- Black Forest Labs - Frontier AI Labbfl.ai
- Tristan's Site - Tristan Humethume.ca
- Replicate - Run AI with an APIreplicate.com
- Explore | alphaXivalphaxiv.org
- Cosmoscosmos.so
- Yufeng Zhaoyufengzhao.com
- GitHub - labmlai/annotated_deep_learning_paper_implementations: 🧑🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adagithub.com
- Gwern visits BAIR – Yuxi on the Wiredyuxi.ml
- Mingxuan Yanwaterhyacinthinnanhu.github.io
- Jacobian Lens – Qwen3.6-27B | Neuronpedianeuronpedia.org
- GitHub - CompVis/stable-diffusion: A latent text-to-image diffusion model · GitHubgithub.com