mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-12-27 06:39:33 +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)
|
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 -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
|
# Install/Update ROCm AutoGPTQ for AMD GPUs
|
||||||
if '+rocm' in torver:
|
if '+rocm' in torver:
|
||||||
|
Loading…
Reference in New Issue
Block a user