Fix possible crash (#53)

This commit is contained in:
Semjon Kravtšenko 2023-05-06 07:14:09 +03:00 committed by GitHub
parent dec31af910
commit 126d216384
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,6 +130,7 @@ def update_dependencies():
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", environment=True)
# Compile and install GPTQ-for-LLaMa # Compile and install GPTQ-for-LLaMa
if os.path.exists('setup_cuda.py'):
os.rename("setup_cuda.py", "setup.py") os.rename("setup_cuda.py", "setup.py")
run_cmd("python -m pip install .", environment=True) run_cmd("python -m pip install .", environment=True)