From 4baaf368f98d8bd0394da53ce5d1c6b409a41add Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Fri, 22 Aug 2025 12:19:22 +0530 Subject: [PATCH] Upgrade torchruntime - use rocm 6.4 stable; fix detection of Tesla M40 (#1962) --- 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 96055c90..22f14066 100644 --- a/scripts/on_sd_start.bat +++ b/scripts/on_sd_start.bat @@ -74,7 +74,7 @@ echo PYTHON=%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.19.1" +call "%PYTHON%" -m pip install -q "torchruntime>=1.23.0" call "%PYTHON%" scripts\check_modules.py --launch-uvicorn pause diff --git a/scripts/on_sd_start.sh b/scripts/on_sd_start.sh index d9f00000..78590097 100755 --- a/scripts/on_sd_start.sh +++ b/scripts/on_sd_start.sh @@ -47,7 +47,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.19.1" +python -m pip install -q "torchruntime>=1.23.0" cd .. # Download the required packages