Add PrivateUse1 for dispatching PyTorch Distributed Collectives. (#98137)
Add PrivateUse1 for dispatching PyTorch Distributed Collectives to support custom device. This PR is to fix https://github.com/pytorch/pytorch/issues/97938#issue-1646833919
Pull Request resolved: https://github.com/pytorch/pytorch/pull/98137
Approved by: https://github.com/kumpera