debug failing tests for Fabric with `ddp_fork` on PT 2.8 (#21093)
* let `_get_default_process_group_backend_for_device` support more hardware platforms (#21057)
* support more hardware platforms and no longer hard code cuda when call _get_default_process_group_backend_for_device
* Apply suggestions from code review
---------
* try it
* chlog
---------
Signed-off-by: taozhiwei <taozhiweigis@163.com>
Co-authored-by: taozhiwei <taozhiweigis@163.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Nicki Skafte Detlefsen <skaftenicki@gmail.com>