I made a kernel 2.2x faster. It made my training loop 3x slower

I wrote a fused decode-attention kernel for an RL training loop, got it 2.2× faster than the SDPA path it replaces at the microbenchmark level, dropped it in...
20 points by vishal-padia 142 days ago kyrieblunders.bearblog.dev 3 comments
Summary not yet generated for this article.

Comments (3 of ) ⌛

Loading more comments... ⌛
Scroll down to load more comments
No comments available.
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open