Thank you for your response Eqy. I appreciate you taking the time out.
I think this command should be by far the easiest output of nvidia-smi to parse in a python script. Would you mind elaborating on what you mean when you say “it might be a race with something else that is contending for a GPU”?
Have a nice day