Portx commited on
Commit
aed2687
·
verified ·
1 Parent(s): d363e9f

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +2 -2
handler.py CHANGED
@@ -4,8 +4,8 @@ from subprocess import run
4
 
5
  run("pip install --upgrade pip", shell=True, check=True)
6
  run("pip uninstall unsloth unsloth_zoo torch -y", shell=True, check=True)
7
- run("pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu124", shell=True, check=True)
8
- run("pip install torch unsloth unsloth_zoo --no-cache-dir --upgrade", shell=True, check=True)
9
  #run("pip install --extra-index-url https://download.pytorch.org/whl/cu124", shell=True, check=True)
10
  #run("pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu124", shell=True, check=True)
11
  #run("pip uninstall unsloth -y && pip install --upgrade --no-cache-dir --no-deps git+https://github.com/unslothai/unsloth.git", shell=True, check=True)
 
4
 
5
  run("pip install --upgrade pip", shell=True, check=True)
6
  run("pip uninstall unsloth unsloth_zoo torch -y", shell=True, check=True)
7
+ run("pip install unsloth unsloth_zoo --no-cache-dir --upgrade", shell=True, check=True)
8
+
9
  #run("pip install --extra-index-url https://download.pytorch.org/whl/cu124", shell=True, check=True)
10
  #run("pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu124", shell=True, check=True)
11
  #run("pip uninstall unsloth -y && pip install --upgrade --no-cache-dir --no-deps git+https://github.com/unslothai/unsloth.git", shell=True, check=True)