Skip to content

Commit

Permalink
rst format
Browse files Browse the repository at this point in the history
  • Loading branch information
youkaichao committed Sep 7, 2024
1 parent 0e35548 commit 5d91924
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/opt_tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ Conclusion
----------

Optimizing code with ``torch.compile`` involves:

1. Using ``depyf`` to decompile the bytecode and understand the performance bottlenecks.
2. Identifying and addressing unnecessary checks or other sources of overhead.
3. Using ``depyf`` to directly call the compiled function, bypassing unnecessary steps where appropriate.
Expand Down

0 comments on commit 5d91924

Please sign in to comment.