Update patchzluda-n.bat

This commit is contained in:
patientx 2025-06-05 00:26:50 +03:00 committed by GitHub
parent fc87dfbfc7
commit b57fd1fde5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,7 +10,7 @@ echo :: (3) Change the zluda.py inside comfy\ folder with the one under comfy\cu
echo :: * Don't forget if you want to update comfy,and if there is a change in the zluda.py, just delete the file for update to work, and after it completes copy it back from the comfy\customzluda\ folder.
echo.
echo :: Activating virtual environment
venv\Scripts\activate
Call "venv\Scripts\activate.bat"
echo :: Uninstalling previous torch packages
pip uninstall torch torchvision torchaudio -y --quiet
rmdir /S /Q "venv\Lib\site-packages\torch" 2>nul