STOmics / SAW

GNU General Public License v3.0
145 stars 34 forks source link

The GPU ID is not available: 0 #157

Open KrileSaiko opened 1 month ago

KrileSaiko commented 1 month ago

Hello, I specified the gpu-id parameter when using SAW 8.0.2, but an error occurred. My server has an NVIDIA GPU.

Clouate commented 1 month ago

@KrileSaiko Hi, could you please try the following code in your linux command line and show the output? nvidia-smi

KrileSaiko commented 1 month ago

Thanks for the quick reply! The output is '-bash: nvidia-smi: command not found'

Clouate commented 1 month ago

It seems that GPU driver or CUDA is not installed in your system, or the CUDA path is not added to the environment variables. You could install CUDA and add it to the environment variables, and then try the --gpu-id parameter again.

KrileSaiko commented 1 month ago

Thank you so much! I did what you said, and it works!