mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-02-22 17:52:35 +00:00
fix
This commit is contained in:
parent
6717f8f447
commit
f31eb1797f
2
app.py
2
app.py
@ -862,7 +862,7 @@ class LoLLMsWebUI(LoLLMsAPPI):
|
||||
pass
|
||||
ASCIIColors.green("PyTorch unstalled successfully")
|
||||
ASCIIColors.yellow("Installing pytorch with cuda support")
|
||||
res = subprocess.check_call(["pip","install","--upgrade","torch==2.0.1+cu117", "torchvision", "torchaudio", "--index-url", "https://download.pytorch.org/whl/cu117","no-cache"])
|
||||
res = subprocess.check_call(["pip","install","--upgrade","torch==2.0.1+cu117", "torchvision", "torchaudio", "--index-url", "https://download.pytorch.org/whl/cu117","--no-cache"])
|
||||
if res==0:
|
||||
ASCIIColors.green("PyTorch installed successfully")
|
||||
import torch
|
||||
|
Loading…
x
Reference in New Issue
Block a user