1.
Workshop setup
Free CPU and GPU options
2.
What's New in PyTorch 2.0?
3.
Using torch.compile()
3.1 A simple example
3.2 Benchmarking Resnet
3.3 Benchmarking Huggingface
4.
What happens under the hood?
4.1 Inspecting torch.compile()
5.
Profiling your compiled code
5.1 Profiling torch.compile()
Links
Notebooks on GitHub
Contact: shashankprasanna.com
Profiling your compiled code
In this section we will profile your uncompiled and compiled code using torch.profiler and visualize stack trace
Profiling your compiled code
In this section we will profile your uncompiled and compiled code using torch.profiler and visualize stack trace
Instructions
Create a new Jupter notebook
Copy each cell and run the code
Follow the instructions to visualize stack trace