From e4dd2e26abc9fff3c40da0ef1cddf16a63ae4cf7 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Tue, 29 Apr 2025 10:08:24 +0530 Subject: [PATCH] Fix torchruntime to not force cu128 on older NVIDIA GPUs (which don't support it) --- scripts/on_sd_start.bat | 2 +- scripts/on_sd_start.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/on_sd_start.bat b/scripts/on_sd_start.bat index 3957a998..d758dfe5 100644 --- a/scripts/on_sd_start.bat +++ b/scripts/on_sd_start.bat @@ -72,7 +72,7 @@ call where python call python --version @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 pause diff --git a/scripts/on_sd_start.sh b/scripts/on_sd_start.sh index cfa28874..376f0a53 100755 --- a/scripts/on_sd_start.sh +++ b/scripts/on_sd_start.sh @@ -51,7 +51,7 @@ if [ -e "src" ]; then mv src src-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 -python -m pip install -q "torchruntime>=1.17.0" +python -m pip install -q "torchruntime>=1.17.1" cd .. # Download the required packages