Fix the issue GPU skip message(#41378) (#41973)
Summary:
Related https://github.com/pytorch/pytorch/issues/41378
Fix the issue GPU skip message
Pull Request resolved: https://github.com/pytorch/pytorch/pull/41973
Reviewed By: pbelevich
Differential Revision: D22753459
Pulled By: mrshenli
fbshipit-source-id: d24b531926e28b860ae90b9ae07e8ca3438d21db