TheLastBen
commited on
Commit
•
4471911
1
Parent(s):
e14c259
Update Scripts/mainpaperspacev1.py
Browse files
Scripts/mainpaperspacev1.py
CHANGED
@@ -33,7 +33,7 @@ def Deps(force_reinstall):
|
|
33 |
call("pip install --root-user-action=ignore --no-deps -q accelerate==0.12.0", shell=True, stdout=open('/dev/null', 'w'))
|
34 |
if not os.path.exists('/usr/local/lib/python3.9/dist-packages/safetensors'):
|
35 |
os.chdir('/usr/local/lib/python3.9/dist-packages')
|
36 |
-
call("rm -r torch torch-1.12.
|
37 |
ntbk()
|
38 |
if not os.path.exists('/models'):
|
39 |
call('mkdir /models', shell=True)
|
|
|
33 |
call("pip install --root-user-action=ignore --no-deps -q accelerate==0.12.0", shell=True, stdout=open('/dev/null', 'w'))
|
34 |
if not os.path.exists('/usr/local/lib/python3.9/dist-packages/safetensors'):
|
35 |
os.chdir('/usr/local/lib/python3.9/dist-packages')
|
36 |
+
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'))
|
37 |
ntbk()
|
38 |
if not os.path.exists('/models'):
|
39 |
call('mkdir /models', shell=True)
|