Remove CUDA, keep only pytorch
This commit is contained in:
parent
66363a4d70
commit
86648d4085
|
@ -0,0 +1 @@
|
|||
--listen
|
2
webui.py
2
webui.py
|
@ -122,7 +122,7 @@ def install_dependencies():
|
|||
|
||||
# Install Pytorch
|
||||
if gpuchoice == "a":
|
||||
run_cmd('conda install -y -k cuda ninja git -c nvidia/label/cuda-11.7.0 -c nvidia && python -m pip install torch==2.0.1+cu117 torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117', assert_success=True, environment=True)
|
||||
run_cmd('conda install -y -k ninja git && python -m pip install torch==2.0.1+cu117 torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117', assert_success=True, environment=True)
|
||||
elif gpuchoice == "b" and not is_macos():
|
||||
if is_linux():
|
||||
run_cmd('conda install -y -k ninja git && python -m pip install torch==2.0.1+rocm5.4.2 torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.4.2', assert_success=True, environment=True)
|
||||
|
|
Loading…
Reference in New Issue