mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-12-24 13:28:59 +01:00
Fix dependencies downgrading from gptq install (#61)
This commit is contained in:
parent
07510a2414
commit
4ef2de3486
1
webui.py
1
webui.py
@ -127,7 +127,6 @@ def update_dependencies():
|
|||||||
# Install GPTQ-for-LLaMa dependencies
|
# Install GPTQ-for-LLaMa dependencies
|
||||||
os.chdir("GPTQ-for-LLaMa")
|
os.chdir("GPTQ-for-LLaMa")
|
||||||
run_cmd("git pull", assert_success=True, environment=True)
|
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
|
# On some Linux distributions, g++ may not exist or be the wrong version to compile GPTQ-for-LLaMa
|
||||||
if sys.platform.startswith("linux"):
|
if sys.platform.startswith("linux"):
|
||||||
|
Loading…
Reference in New Issue
Block a user