Hotfix for missing torchruntime on new installations

This commit is contained in:
cmdr2 2025-02-10 19:31:05 +05:30
parent 7b0a17a3ab
commit 7a1e2c4190
2 changed files with 4 additions and 0 deletions

View File

@ -70,6 +70,8 @@ echo PYTHONPATH=%PYTHONPATH%
call where python call where python
call python --version call python --version
call python -m pip install -q torchruntime
call python scripts\check_modules.py --launch-uvicorn call python scripts\check_modules.py --launch-uvicorn
pause pause
exit /b exit /b

View File

@ -46,6 +46,8 @@ fi
if [ -e "src" ]; then mv src src-old; fi if [ -e "src" ]; then mv src src-old; fi
if [ -e "ldm" ]; then mv ldm ldm-old; fi if [ -e "ldm" ]; then mv ldm ldm-old; fi
python -m pip install -q torchruntime
cd .. cd ..
# Download the required packages # Download the required packages
python scripts/check_modules.py --launch-uvicorn python scripts/check_modules.py --launch-uvicorn