Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Optimizing DeepSeek's NSA for TPUs – A Kernel Worklog (henryhmko.github.io)
2 points by henryhmko 12 months ago | hide | past | favorite
I enjoyed reading DeepSeek's Natively Sparse Attention(NSA) and implemented a JAX version and Pallas Kernel(JAX's kernel language).

There's a Google Colab link to follow along at the top of the blogpost.

Enjoy!



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: