mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-12-28 15:18:33 +01:00
Remove unused variable from ROCm GPTQ install (#107)
This commit is contained in:
parent
1e3c950c7d
commit
ecd92d6a4e
3
webui.py
3
webui.py
@ -238,9 +238,6 @@ def update_dependencies():
|
|||||||
if '+rocm' in torver:
|
if '+rocm' in torver:
|
||||||
if os.path.exists('setup_rocm.py'):
|
if os.path.exists('setup_rocm.py'):
|
||||||
os.replace("setup_rocm.py", "setup.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'):
|
elif os.path.exists('setup_cuda.py'):
|
||||||
os.rename("setup_cuda.py", "setup.py")
|
os.rename("setup_cuda.py", "setup.py")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user