Add XLAPreAutograd key for XLA use cases that need custom autograd. (#32788)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/32788
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Test Plan: Imported from OSS
Differential Revision: D19628643
Pulled By: ezyang
fbshipit-source-id: 7099b08eff37913144b961dda00b070bd4b939d4