From 16c76886fa651e9440ba18d6d176ecc70488bfd2 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Wed, 23 Apr 2025 15:22:30 +0530 Subject: [PATCH] Fix for incorrect upgrade logic for torchruntime. Affects the workaround in #1918 --- 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 bff4c4fd..957801b4 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.15.1 +call python -m pip install -q "torchruntime>=1.15.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 ef44f93f..7d756b10 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.15.1 +python -m pip install -q "torchruntime>=1.15.1" cd .. # Download the required packages