nvidia-smi displays "No running processes found". lsof /dev/nvidia* is empty. However, when I try to do nvidia-smi -r it says:
# nvidia-smi -r -i 0
GPU 00000000:xxxxxx is currently in use by another process.
1 device is currently being used by one or more other processes (e.g., Fabric Manager, CUDA application, graphics application such as an X server, or a monitoring application such as another instance of nvidia-smi). Please first kill all processes using this device and all compute applications running in the system.
How can I find which process is actually using it?