mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-12-06 07:12:10 +01:00
Fix an error when upgrading from cuda 12.4 to cuda 12.8
This commit is contained in:
parent
801db438b0
commit
13a5288d01
|
|
@ -298,7 +298,7 @@ def update_pytorch_and_python():
|
||||||
|
|
||||||
|
|
||||||
def clean_outdated_pytorch_cuda_dependencies():
|
def clean_outdated_pytorch_cuda_dependencies():
|
||||||
patterns = ["cu121", "cu122", "torch2.4"]
|
patterns = ["cu121", "cu122", "torch2.4", "torchvision", "torchaudio"]
|
||||||
result = run_cmd("python -m pip list --format=freeze", capture_output=True, environment=True)
|
result = run_cmd("python -m pip list --format=freeze", capture_output=True, environment=True)
|
||||||
matching_packages = []
|
matching_packages = []
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue