Hotfix for missing torchruntime on new installations

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

View File

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

View File

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