You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If CUDA_VISIBLE_DEVICES is set, map cuda.current_device()
Perform a mapping between integer CUDA_VISIBLE_DEVICES values to
find the host current device for DEEP_EP_DEVICE_TO_HCA_MAPPING.
Signed-off-by: Clayton Coleman <[email protected]>
assertlen(visible_devices) >current_device, f"CUDA_VISIBLE_DEVICES has {len(visible_devices)} entries which is fewer than the current device {current_device}"
161
+
assertvisible_devices[current_device].isdigit(), f"DEEP_EP_DEVICE_TO_HCA_MAPPING requires CUDA_VISIBLE_DEVICES to contain integer indices"
0 commit comments