Commit df6622b
Make CompileEventLogger more defensive w.r.t to AOTAutogradCache and FXGraphCache (#150423)
Summary:
This PR makes it so that we don't crash due to logging if we invoke AOTAutogradCache/FXGraphCache without using dynamo. This is preparation for supporting certain VLLM use cases where they store graph modules and have special handling in conjunection with the caches.
X-link: pytorch/pytorch#150423
Approved by: https://github.com/oulgen
Reviewed By: atalman
Differential Revision: D72453905
fbshipit-source-id: 77da32a50b8020e03e97d3098b9c6b7d2546f13f1 parent 942979e commit df6622b
1 file changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
579 | 579 | | |
580 | 580 | | |
581 | 581 | | |
582 | | - | |
| 582 | + | |
| 583 | + | |
583 | 584 | | |
584 | 585 | | |
| 586 | + | |
| 587 | + | |
585 | 588 | | |
586 | 589 | | |
587 | 590 | | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
588 | 603 | | |
589 | 604 | | |
590 | 605 | | |
| |||
0 commit comments