We have confirmed that on a GPU server with A4500 and A2000 GPUs, the device indices of the A2000 and A4500 differ from the device indices recognized by MPS.
For example, the current device order shown through nvidia-smi is as follows:
On the other hand, NVIDIA MPS recognizes the devices in the opposite order as follows:
![]()
This issue does not cause major problems in typical situations, but if the MPS Controller is specified with CUDA_VISIBLE_DEVICE as gpu_index, it causes a problem of creating an MPS server context for the wrong device. For example, when running the MPS controller with the command below, NVIDIA MPS creates a server context for the A4500. This is an incorrect result considering that the A2000 is the first device confirmed by nvidia-smi. As a result, the corresponding MPS client cannot utilize the GPU.
CUDA_VISIBLE_DEVICES=0 nvidia-cuda-mps-control -f
This issue was confirmed with NVIDIA driver 535, and we verified whether this problem was resolved in the latest version 575, but it has not been fixed.
For this issue, a workaround is possible by specifying UUIDs instead of indices in CUDA_VISIBLE_DEVICES. However, considering that users can specify both indices and UUIDs in CUDA_VISIBLE_DEVICES, a fix seems necessary.


