PyTorch Developer Podcast podcast

CUDA graph trees

0:00
20:50
Reculer de 15 secondes
Avancer de 15 secondes
CUDA graph trees are the internal implementation of CUDA graphs used in PT2 when you say mode="reduce-overhead". Their primary innovation is that they allow the reuse of memory across multiple CUDA graphs, as long as they form a tree structure of potential paths you can go down with the CUDA graph. This greatly reduced the memory usage of CUDA graphs in PT2. There are some operational implications to using CUDA graphs which are described in the podcast.

D'autres épisodes de "PyTorch Developer Podcast"