diff --git a/Launcher.bat b/Launcher.bat index 1e06c8d..0b21f19 100644 --- a/Launcher.bat +++ b/Launcher.bat @@ -232,7 +232,7 @@ if defined xtts_env_exist ( REM Start XTTS echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% XTTS launched in a new window. - start cmd /k "title XTTSv2 API Server && cd /d %~dp0xtts && python -m xtts_api_server --deepspeed" + start cmd /k "title XTTSv2 API Server && cd /d %~dp0xtts && python -m xtts_api_server" ) ) @@ -282,7 +282,7 @@ if defined xtts_env_exist ( REM Start XTTS echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% XTTS launched in a new window. - start cmd /k "title XTTSv2 API Server && cd /d %~dp0xtts && python -m xtts_api_server --deepspeed" + start cmd /k "title XTTSv2 API Server && cd /d %~dp0xtts && python -m xtts_api_server" ) ) diff --git a/install.sh b/install.sh index 393b56d..e6e2068 100755 --- a/install.sh +++ b/install.sh @@ -470,7 +470,7 @@ install_xtts() { # Use the GPU choice made earlier to set the correct PyTorch index-url if [ "$GPU_CHOICE" == "1" ]; then log_message "INFO" "Installing NVIDIA version of PyTorch" - pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 + pip3 install torch==2.1.1+cu118 torchvision torchaudio==2.1.1+cu118 --index-url https://download.pytorch.org/whl/cu118 install_st_extras_post elif [ "$GPU_CHOICE" == "2" ]; then log_message "INFO" "Installing AMD version of PyTorch" diff --git a/installer.bat b/installer.bat index f3b3ece..a7c7162 100644 --- a/installer.bat +++ b/installer.bat @@ -254,18 +254,10 @@ if /i "%install_xtts_requirements%"=="Y" ( echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% Activating Conda environment xtts... call conda activate xtts - - - REM Install pip requirements - echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% Installing pip requirements for xtts... - pip install xtts-api-server - pip install pydub - pip install stream2sentence - REM Use the GPU choice made earlier to set the correct PyTorch index-url if "%GPU_CHOICE%"=="1" ( echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% Installing NVIDIA version of PyTorch for xtts... - pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 + pip install torch==2.1.1+cu118 torchvision torchaudio==2.1.1+cu118 --index-url https://download.pytorch.org/whl/cu118 goto :install_xtts ) else if "%GPU_CHOICE%"=="2" ( echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% Installing AMD version of PyTorch for xtts... @@ -277,6 +269,12 @@ if /i "%install_xtts_requirements%"=="Y" ( goto :install_xtts ) + REM Install pip requirements + echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% Installing pip requirements for xtts... + pip install xtts-api-server + pip install pydub + pip install stream2sentence + :install_xtts REM Create folders for xtts echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% Creating xtts folders...