Fix torchruntime to not force cu128 on older NVIDIA GPUs (which don't support it)

This commit is contained in:
cmdr2 2025-04-29 10:08:24 +05:30
parent 40801de615
commit e4dd2e26ab
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ call where python
call python --version call python --version
@rem this is outside check_modules.py to ensure that the required version of torchruntime is present @rem this is outside check_modules.py to ensure that the required version of torchruntime is present
call python -m pip install -q "torchruntime>=1.17.0" call python -m pip install -q "torchruntime>=1.17.1"
call python scripts\check_modules.py --launch-uvicorn call python scripts\check_modules.py --launch-uvicorn
pause pause

View File

@ -51,7 +51,7 @@ 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
# this is outside check_modules.py to ensure that the required version of torchruntime is present # this is outside check_modules.py to ensure that the required version of torchruntime is present
python -m pip install -q "torchruntime>=1.17.0" python -m pip install -q "torchruntime>=1.17.1"
cd .. cd ..
# Download the required packages # Download the required packages