
Episode 3
Dynamic library structure
Why is PyTorch split into so many libraries? What's the point of these splits? What do Windows, mobile and CUDA have to do with the library splits?
May 6, 202114m 49s
Audio is streamed directly from the publisher (cdn.simplecast.com) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.
Show Notes
Why is PyTorch split into so many libraries? What's the point of these splits? What do Windows, mobile and CUDA have to do with the library splits?
Further reading:
- c10 folder architecture description https://github.com/.../wiki/Software-Architecture-for-c10
- Implementation of the TORCH_API visibility macros https://github.com/.../blob/master/c10/macros/Export.h
- An example of virtual call based hook to break library structure https://github.com/pytorch/pytorch/blob/master/c10/core/impl/DeviceGuardImplInterface.h