mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-23 00:18:20 +01:00
Fix broken gxx_linux-64 package. (#106)
This commit is contained in:
parent
cc2ed46d44
commit
52e3b91f5e
2
webui.py
2
webui.py
@ -203,7 +203,7 @@ def update_dependencies():
|
|||||||
gxx_output = run_cmd("g++ -dumpfullversion -dumpversion", environment=True, capture_output=True)
|
gxx_output = run_cmd("g++ -dumpfullversion -dumpversion", environment=True, capture_output=True)
|
||||||
if gxx_output.returncode != 0 or int(gxx_output.stdout.strip().split(b".")[0]) > 11:
|
if gxx_output.returncode != 0 or int(gxx_output.stdout.strip().split(b".")[0]) > 11:
|
||||||
# Install the correct version of g++
|
# Install the correct version of g++
|
||||||
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 -c conda-forge", environment=True)
|
||||||
|
|
||||||
# Compile and install GPTQ-for-LLaMa
|
# Compile and install GPTQ-for-LLaMa
|
||||||
if os.path.exists('setup_cuda.py'):
|
if os.path.exists('setup_cuda.py'):
|
||||||
|
Loading…
Reference in New Issue
Block a user