mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-26 09:40:20 +01:00
Fix possible crash (#53)
This commit is contained in:
parent
dec31af910
commit
126d216384
1
webui.py
1
webui.py
@ -130,6 +130,7 @@ 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
|
||||||
|
if os.path.exists('setup_cuda.py'):
|
||||||
os.rename("setup_cuda.py", "setup.py")
|
os.rename("setup_cuda.py", "setup.py")
|
||||||
run_cmd("python -m pip install .", environment=True)
|
run_cmd("python -m pip install .", environment=True)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user