Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 7cac0c6ebe720f02033ac807a47315fb20996595
- Loading branch information