[bugfix][distributed] do not error if two processes do not agree on p2p capability (#5612)
cuda_device_count_stateless