Add `set_deterministic_debug_mode` and `get_deterministic_debug_mode` (#67778)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/67386
Pull Request resolved: https://github.com/pytorch/pytorch/pull/67778
Reviewed By: ngimel
Differential Revision: D32310661
Pulled By: mruberry
fbshipit-source-id: 300129e96ca51c22fa711182ce6a9f4d4d2ce57f