mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-23 00:18:20 +01:00
Fix possible crash (#53)
This commit is contained in:
parent
dec31af910
commit
126d216384
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)
|
||||
|
||||
# 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)
|
||||
|
||||
# Wheel installation can fail while in the build directory of a package with the same name
|
||||
|
Loading…
Reference in New Issue
Block a user