[Autograd Testing] Test failure in parent graph before child reentrant task (#35268)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/35268
Context: https://github.com/pytorch/pytorch/issues/34367
Test: Mixed with Errors -> Reentrant on different devices -> Make parent error
before child finishes
ghstack-source-id: 100864838
Test Plan: waitforbuildbot
Differential Revision: D20612919
fbshipit-source-id: 7bfa194820c9b91711590d3719356bc90b5937ef