Commit
•
e14c259
1
Parent(s):
dc5f674
Update Scripts/mainpaperspaceA1111.py
Browse files
Scripts/mainpaperspaceA1111.py
CHANGED
@@ -22,7 +22,7 @@ def Deps(force_reinstall):
|
|
22 |
call("pip install --root-user-action=ignore --no-deps -q accelerate==0.12.0", shell=True, stdout=open('/dev/null', 'w'))
|
23 |
if not os.path.exists('/usr/local/lib/python3.9/dist-packages/safetensors'):
|
24 |
os.chdir('/usr/local/lib/python3.9/dist-packages')
|
25 |
-
call("rm -r torch torch-1.12.
|
26 |
ntbk()
|
27 |
if not os.path.exists('/models'):
|
28 |
call('mkdir /models', shell=True)
|
|
|
22 |
call("pip install --root-user-action=ignore --no-deps -q accelerate==0.12.0", shell=True, stdout=open('/dev/null', 'w'))
|
23 |
if not os.path.exists('/usr/local/lib/python3.9/dist-packages/safetensors'):
|
24 |
os.chdir('/usr/local/lib/python3.9/dist-packages')
|
25 |
+
call("rm -r torch torch-1.12.1+cu116.dist-info torchaudio* torchvision* PIL Pillow* transformers* numpy* gdown*", shell=True, stdout=open('/dev/null', 'w'))
|
26 |
ntbk()
|
27 |
if not os.path.exists('/models'):
|
28 |
call('mkdir /models', shell=True)
|