Fix possible crash (#53)
This commit is contained in:
parent
dec31af910
commit
126d216384
1 changed files with 2 additions and 1 deletions
3
webui.py
3
webui.py
|
@ -130,7 +130,8 @@ def update_dependencies():
|
||||||
run_cmd("conda install -y -k gxx_linux-64=11.2.0", environment=True)
|
run_cmd("conda install -y -k gxx_linux-64=11.2.0", environment=True)
|
||||||
|
|
||||||
# Compile and install GPTQ-for-LLaMa
|
# Compile and install GPTQ-for-LLaMa
|
||||||
os.rename("setup_cuda.py", "setup.py")
|
if os.path.exists('setup_cuda.py'):
|
||||||
|
os.rename("setup_cuda.py", "setup.py")
|
||||||
run_cmd("python -m pip install .", environment=True)
|
run_cmd("python -m pip install .", environment=True)
|
||||||
|
|
||||||
# Wheel installation can fail while in the build directory of a package with the same name
|
# Wheel installation can fail while in the build directory of a package with the same name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue