HackerTrans
トップ新着トレンドコメント過去質問紹介求人

jafioti

no profile record

投稿

Producing The Perfect Token

blog.luminal.com
1 ポイント·投稿者 jafioti·3 か月前·0 コメント

Compiling models to megakernels

blog.luminal.com
35 ポイント·投稿者 jafioti·6 か月前·19 コメント

コメント

jafioti
·4 か月前·議論
i did a quick scroll and was happy to see a long-ish article on XLA and TPUs. then i realized it was literally just "using vmap for parallel loops is better than fori", but in massively wordy claudisms.
jafioti
·6 か月前·議論
That's a bit trite tbh. We all know of these techniques, but actually implementing them on GPUs in a low-overhead manner that maintains the model's fidelity is challenging. It's much more than just breaking out the old CS book and picking the next idea from there.
jafioti
·6 か月前·議論
Thats reasonably accurate, we're fusing both pre-defined operations as well as codegenned operations. Block-level operations live inside the search space, as do kernel, warp and thread level operations. Since it's a unified search space, we can look through tons of combinations of kernel, block, warp, and thread level ops. When we go to compile them to runnable code, thread ops get compiled to warp ops, warp ops get compiled to block ops, block ops get compiled to kernel ops (megakernels live here!), so at the end of the day everything that gets ran is a kernel.

In other words, very complimentary to our search-based approach.