Fix CUDA debug nightly build failure (#44085)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/43607.
Tested in https://github.com/pytorch/pytorch/pull/44007.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/44085
Reviewed By: malfet
Differential Revision: D23493663
Pulled By: ezyang
fbshipit-source-id: 4c01f3fc5a52814a23773a56b980c455851c2686