Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update on "Better handing of Autograd+Fork errors."
Fixes: #32835 Fixes: #5834 Can not combine with CUDA's implementation as each of them requires individual `std::once_flag` as well as different `forked_autograd_child` functions. CUDA version relays to python module, autograd uses TORCH_CHECK to report error to python and cpp. Differential Revision: [D20144024](https://our.internmc.facebook.com/intern/diff/D20144024) [ghstack-poisoned]
- Loading branch information