mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-12-26 14:20:40 +01:00
Properly fix broken gcc_linux-64 package (#115)
This commit is contained in:
parent
ecd92d6a4e
commit
aca5679968
2
webui.py
2
webui.py
@ -210,7 +210,7 @@ def update_dependencies():
|
||||
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:
|
||||
# Install the correct version of g++
|
||||
run_cmd("conda install -y -k gxx_linux-64=11.2.0 -c conda-forge", environment=True)
|
||||
run_cmd("conda install -y -k conda-forge::gxx_linux-64=11.2.0", environment=True)
|
||||
|
||||
# Install/Update ROCm AutoGPTQ for AMD GPUs
|
||||
if '+rocm' in torver:
|
||||
|
Loading…
Reference in New Issue
Block a user