Closed tomMoral closed 2 years ago
I've never seen this case... So question: is the output of nvidia-smi -q -x | grep attached_gpus
a 0 between the 2 tags ? If so, I'll use this in get_cuda_version
.
Or in this case even if which nvidia-smi
works, you can't call nvidia-smi ?
Its the second option:
$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
$ which nvidia-smi
/usr/bin/nvidia-smi
This should do it :slightly_smiling_face:
Trying to install the
benchmark_lasso
, I ran into this issue:Here,
nvidia-smi
is installed but I have not GPu on my computer (yeah I know this is a weird one...) We should make sure to fail graciously when the call tonvidia-smi
fails.ping @tanglef