Thank for your reply!
I don’t think it is expected. Because people using this command to assign specified gpu to a task in order to spare the other gpus for other task. If me using CUDA_VISIBLE_DEVICES can affect other user’s observed gpu, then they can’t using the gpu that omitted by my task.
And what’s more, my coworker can using this command CUDA_VISIBLE_DEVICES=0,1,2 python main.py to specify the gpu his task used, without influence my task.
Again, thanks for your reply but I am still not understand