HOTFIX: Rollback to ORT --extra-index-url if CU12

+VersionUP (0.7.0 beta5)
This commit is contained in:
Art Gourieff 2024-03-06 01:27:24 +07:00
parent 8fc0de58f6
commit e215bd6763
4 changed files with 5 additions and 4 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_beta4-green?style=for-the-badge&labelColor=darkgreen)
![Version](https://img.shields.io/badge/version-0.7.0_beta5-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_beta4-green?style=for-the-badge&labelColor=darkgreen)
![Version](https://img.shields.io/badge/версия-0.7.0_beta5-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

@ -120,7 +120,8 @@ with open(req_file) as file:
if cuda_version is not None and float(cuda_version)>=12: # CU12
if not is_installed(ort,"1.17.1",False):
install_count += 1
pip_install(ort,"-U")
pip_uninstall("onnxruntime", "onnxruntime-gpu")
pip_install(ort,"--extra-index-url","https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/")
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-b4"
version_flag = "v0.7.0-b5"
from scripts.reactor_logger import logger, get_Run, set_Run
from scripts.reactor_globals import DEVICE