Update handler.py
Browse files- 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
|
| 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)
|
|
|
|
| 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)
|