From d8aad6da948262e8679da2063d27600da0d8ccb4 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Tue, 8 Apr 2025 20:20:24 -0700 Subject: [PATCH] Fix an update bug --- one_click.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/one_click.py b/one_click.py index fcca4ff5..8e85dc3a 100644 --- a/one_click.py +++ b/one_click.py @@ -436,9 +436,9 @@ def update_requirements(initial_installation=False, pull=True): # Update PyTorch if not initial_installation: - clean_outdated_pytorch_cuda_dependencies() update_pytorch_and_python() torver = torch_version() + clean_outdated_pytorch_cuda_dependencies() print_big_message(f"Installing webui requirements from file: {requirements_file}") print(f"TORCH: {torver}\n")