Fix dependencies downgrading from gptq install (#61)

This commit is contained in:
jllllll 2023-05-18 10:46:04 -05:00 committed by GitHub
parent 07510a2414
commit 4ef2de3486
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,7 +127,6 @@ def update_dependencies():
# Install GPTQ-for-LLaMa dependencies
os.chdir("GPTQ-for-LLaMa")
run_cmd("git pull", assert_success=True, environment=True)
run_cmd("python -m pip install -r requirements.txt", assert_success=True, environment=True)
# On some Linux distributions, g++ may not exist or be the wrong version to compile GPTQ-for-LLaMa
if sys.platform.startswith("linux"):