Remove USE_CUDA from c10d reducer/logger (#59562)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/59562
Needed to merge c10d into libtorch(_cuda).
ghstack-source-id: 131169542
Test Plan: CI
Reviewed By: agolynski
Differential Revision: D28931378
fbshipit-source-id: 71376b862ff6ef7dbfa7331ec8d269bd3fcc7e0d