PyTorch Developer Podcast
PyTorch Developer Podcast
Edward Yang, Team PyTorch
Jan 24, 2024 · 12 min

Inductor - Define-by-run IR

MP3
Define-by-run IR is how Inductor defines the internal compute of a pointwise/reduction operation. It is characterized by a function that calls a number of functions in the 'ops' namespace, where these ops can be overridden by different handlers depending on what kind of semantic analysis you need to do. The ops Inductor supports include regular arithmetic operators, but also memory load/store, indirect indexing, masking and collective operations like reductions.

This podcast uses Simplecast for stats and dynamic audio. What this means Episodes play from the podcast's own servers, unmodified. Not affiliated with Podbay.