Using torch.compile()

In this section we’ll run benchmark common models and check performance improvements with torch.compile()

Run all the subsection 3.1, 3.1, & 3.3 on the same Jupyter notebook so you don’t have to import multiple times.

Instructions

  • Open up a new Jupyter Notebook
  • Copy code in the code cells in the instructions and paste it in your Jupyter Notebook cells
  • Run the cell
  • Discuss output with the instructor