1
TPU Deep Dive
I've been working with TPUs a lot recently and it's fun to see how they had such different design philosophies compared to GPUs.
I enjoyed reading DeepSeek's NSA and I thought it would be an interesting challenge to implement and optimize it for TPUs. I put together a colab notebook containing the vectorized JAX baseline of NSA, Pallas kernels, and profiling code.
Visit henryhmko.github.io → On Hacker News Jun 2025 – Jun 2025
I've been working with TPUs a lot recently and it's fun to see how they had such different design philosophies compared to GPUs.