Fix broken gxx_linux-64 package. (#106)

This commit is contained in:
jllllll 2023-07-25 23:55:08 -05:00 committed by GitHub
parent cc2ed46d44
commit 52e3b91f5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -203,7 +203,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", 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
if os.path.exists('setup_cuda.py'):