From ecd92d6a4e9a7c74d2bf436571f2c7e96beb9f92 Mon Sep 17 00:00:00 2001 From: jllllll <3887729+jllllll@users.noreply.github.com> Date: Wed, 26 Jul 2023 20:16:36 -0500 Subject: [PATCH] Remove unused variable from ROCm GPTQ install (#107) --- webui.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/webui.py b/webui.py index 3833e96a..dd949dae 100644 --- a/webui.py +++ b/webui.py @@ -238,9 +238,6 @@ def update_dependencies(): if '+rocm' in torver: if os.path.exists('setup_rocm.py'): os.replace("setup_rocm.py", "setup.py") - # Skip compile for AMD GPU if wheel is successfully installed - if rocm_gptq: - return elif os.path.exists('setup_cuda.py'): os.rename("setup_cuda.py", "setup.py")