mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-06 03:57:44 +08:00
将n卡的判断条件由nvcc改成nvidia-smi
This commit is contained in:
parent
f7dc7124a6
commit
3c98f6134f
@ -9,7 +9,7 @@ echo "Installing ffmpeg and cmake..."
|
||||
conda install ffmpeg cmake
|
||||
|
||||
echo "Checking for CUDA installation..."
|
||||
if command -v nvcc &> /dev/null; then
|
||||
if command -v nvidia-smi &> /dev/null; then
|
||||
USE_CUDA=true
|
||||
echo "CUDA found."
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user