UPDATE: ORT dependency for CU12

+VersionUP (0.7.0 beta4)
This commit is contained in:
Art Gourieff 2024-03-05 12:38:38 +07:00
parent b6e394de62
commit 8fc0de58f6
4 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
<img src="https://github.com/Gourieff/Assets/raw/main/sd-webui-reactor/ReActor_logo_NEW_EN.png?raw=true" alt="logo" width="180px"/>
![Version](https://img.shields.io/badge/version-0.7.0_beta3-green?style=for-the-badge&labelColor=darkgreen)
![Version](https://img.shields.io/badge/version-0.7.0_beta4-green?style=for-the-badge&labelColor=darkgreen)
<a href="https://boosty.to/artgourieff" target="_blank">
<img src="https://lovemet.ru/www/boosty.jpg" width="108" alt="Support Me on Boosty"/>

View File

@ -2,7 +2,7 @@
<img src="https://github.com/Gourieff/Assets/raw/main/sd-webui-reactor/ReActor_logo_NEW_RU.png?raw=true" alt="logo" width="180px"/>
![Version](https://img.shields.io/badge/версия-0.7.0_beta3-green?style=for-the-badge&labelColor=darkgreen)
![Version](https://img.shields.io/badge/версия-0.7.0_beta4-green?style=for-the-badge&labelColor=darkgreen)
<a href="https://boosty.to/artgourieff" target="_blank">
<img src="https://lovemet.ru/www/boosty.jpg" width="108" alt="Поддержать проект на Boosty"/>

View File

@ -118,9 +118,9 @@ with open(req_file) as file:
with open(os.path.join(BASE_PATH, "last_device.txt"), "w") as txt:
txt.write(last_device)
if cuda_version is not None and float(cuda_version)>=12: # CU12
if not is_installed(ort,"1.17.0",False):
if not is_installed(ort,"1.17.1",False):
install_count += 1
pip_install(ort,"--extra-index-url", "https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/")
pip_install(ort,"-U")
elif not is_installed(ort,"1.16.1",False):
install_count += 1
pip_install(ort, "-U")

View File

@ -1,5 +1,5 @@
app_title = "ReActor"
version_flag = "v0.7.0-b3"
version_flag = "v0.7.0-b4"
from scripts.reactor_logger import logger, get_Run, set_Run
from scripts.reactor_globals import DEVICE