Closed nWEIdia closed 4 months ago
This PR fixes the errors that would show up if the test_bottleneck_module.py is run on a single GPU platform, where running torch.cuda.can_device_access_peer(0,1) would produce "invalid peer device id".
This PR fixes the errors that would show up if the test_bottleneck_module.py is run on a single GPU platform, where running torch.cuda.can_device_access_peer(0,1) would produce "invalid peer device id".