PyTorch Developer Podcast
PyTorch Developer Podcast
Edward Yang, Team PyTorch
native_functions.yaml
15 minutes Posted May 28, 2021 at 1:00 pm.
0:00
15:32
Download MP3
Show notes

What does native_functions.yaml have to do with the TorchScript compiler? What multiple use cases is native_functions.yaml trying to serve? What's up with the JIT schema type system? Why isn't it just Python types? What the heck is the (a!) thingy inside the schema? Why is it important that I actually annotate all of my functions accurately with this information? Why is my seemingly BC change to native_functions.yaml actually breaking people's code? Do I have to understand the entire compiler to understand how to work with these systems?

Further reading.