<?xml version="1.0" encoding="UTF-8"?><oembed><type>video</type><version>1.0</version><html>&lt;iframe src=&quot;https://www.loom.com/embed/0d491fee18cb459da598e6a99cf37185&quot; frameborder=&quot;0&quot; width=&quot;2320&quot; height=&quot;1740&quot; webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;</html><height>1740</height><width>2320</width><provider_name>Loom</provider_name><provider_url>https://www.loom.com</provider_url><thumbnail_height>1740</thumbnail_height><thumbnail_width>2320</thumbnail_width><thumbnail_url>https://cdn.loom.com/sessions/thumbnails/0d491fee18cb459da598e6a99cf37185-800a90483b565cb5.gif</thumbnail_url><duration>149.8239</duration><title>loopfuse demo</title><description>In this video, I showcase a compiler I&apos;ve developed that can efficiently fuse Triton kernels, like FlashAttention, from Torch code. I demonstrate how the compiler can handle various operations, such as adding logic for soft cupping, inlining functions, and reasoning about shapes and sparsity. Additionally, I highlight the performance benchmarks, showing that our implementation maintains high efficiency compared to existing solutions like Torch compile and FlexAttention. I encourage viewers to check the readme for more details and benchmarks. Your feedback on this tool would be greatly appreciated as we continue to refine its capabilities.</description></oembed>