Upload repair.bat
Browse files- repair.bat +9 -0
repair.bat
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@echo off
|
2 |
+
set PYTHON=%~dp0python/python.exe
|
3 |
+
|
4 |
+
rmdir /s /q %~dp0python/Lib/site-packages/xformers-0.0.18+bde8248.d20230407-py3.11.egg-info
|
5 |
+
rmdir /s /q %~dp0python/Lib/site-packages/xformers
|
6 |
+
%PYTHON% -m pip install torch torchvision torchaudio --force-reinstall --index-url https://download.pytorch.org/whl/cu118
|
7 |
+
%PYTHON% -m pip install --force-reinstall pytorch-lightning==1.9.4
|
8 |
+
|
9 |
+
pause
|