Remove unused variable from ROCm GPTQ install (#107)
This commit is contained in:
parent
1e3c950c7d
commit
ecd92d6a4e
1 changed files with 0 additions and 3 deletions
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…
Add table
Add a link
Reference in a new issue