Merge pull request #45 from CodeDruidX/patch-1

Update fixforrx580.bat
This commit is contained in:
patientx 2024-11-30 16:53:11 +03:00 committed by GitHub
commit f7d377433e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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