Commit 526902f
explicitly disable pt2 compile on gauc (#2703)
Summary:
Pull Request resolved: #2703
Context: the recent changes to GAUC have made it incompatible with PT2 compile, thus causing several issues with launching jobs on the latest trunk. After some digging, it turns out that the incompatibility lies with `torch.Tensor.item()`: pytorch/pytorch#130917.
This diff: explicitly disables PT2 compilation on the problematic function, thus preventing training jobs from crashing due to incompatibility with PT2 compile.
Reviewed By: shz117
Differential Revision: D68629159
fbshipit-source-id: 7cac0c6ebe720f02033ac807a47315fb209965951 parent 4d7b7ff commit 526902f
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| |||
0 commit comments