Commit 5197457
authored
Skip
Starting from PyTorch 2.8, einops no longer needs to rely on `allow_in_graph` for its own ops. PyTorch follows the same approach internally, and I'd like to remove this usage from the PyTorch codebase as well. Dynamo is now mature enough to trace through the einops codebase, and we have tests in place to catch any regressions early.allow_in_graph if torch >= 2.8 (#394)1 parent 3bd7454 commit 5197457
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
107 | 112 | | |
108 | 113 | | |
109 | 114 | | |
| |||
0 commit comments