Contribute Media
A thank you to everyone who makes this possible: Read More

Data-Dependent Shapes in PT2

Description

Data-Dependent Shapes in PT2 - Edward Yang, Meta

Data-dependent shapes are ubiquitous whenever you want to take advantage of sparsity in your data representation, whether it is in recommendation systems, mixture of experts or other use cases. We have made a lot of improvements to torch.compile's support for capturing and compiling data dependent shapes, but they also require some user knowledge to work with effectively. This talk will give an overview of PT2's facilities for data dependent compute and how to use them effectively.

Details

Improve this page