mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-11 14:50:49 +08:00
Update fixforrx580.bat
Add venv activation to downgrade the proper torch installation
This commit is contained in:
parent
2e2c775e8d
commit
4af7c7d5d5
@ -1,5 +1,14 @@
|
||||
@echo off
|
||||
title Fix for RX480 - 580 and variants
|
||||
|
||||
rem Activating venv to downgrade the proper torch installation
|
||||
Set "VIRTUAL_ENV=venv"
|
||||
If Not Exist "%VIRTUAL_ENV%\Scripts\activate.bat" Exit /B 1
|
||||
|
||||
echo Virtual enviroment activation
|
||||
Call "%VIRTUAL_ENV%\Scripts\activate.bat"
|
||||
|
||||
|
||||
cls
|
||||
pip uninstall torch torchvision torchaudio -y
|
||||
pip install torch==2.2.1 torchvision==0.17.1 torchaudio==2.2.1 --index-url https://download.pytorch.org/whl/cu118
|
||||
|
||||
Loading…
Reference in New Issue
Block a user