For example, if the intent is to avoid stomping over a user’s job that is running on the same system, this method is dangerous because a user can start a job just after nvidia-smi polls the GPUs. So a GPU might “look” idle when it has in fact just been used.