mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
Minor bug fix
This commit is contained in:
parent
a0c7d764b5
commit
c5e0ab7174
@ -120,7 +120,7 @@ def install_webui():
|
|||||||
|
|
||||||
if is_windows() and choice == "A":
|
if is_windows() and choice == "A":
|
||||||
install_pytorch = "python -m pip install torch==2.0.1+cu117 torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117"
|
install_pytorch = "python -m pip install torch==2.0.1+cu117 torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117"
|
||||||
elif is_macos() and choice == "B":
|
elif not is_macos() and choice == "B":
|
||||||
if is_linux():
|
if is_linux():
|
||||||
install_pytorch = "python -m pip install torch==2.0.1+rocm5.4.2 torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.4.2"
|
install_pytorch = "python -m pip install torch==2.0.1+rocm5.4.2 torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.4.2"
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user