LLM: fix installation on windows (#8989)

This commit is contained in:
binbin Deng 2023-09-18 11:14:54 +08:00 committed by GitHub
parent 52878d3e5f
commit 0a552d5bdc

View file

@ -50,7 +50,7 @@ llm_home = os.path.join(os.path.dirname(os.path.abspath(__file__)), "src")
github_artifact_dir = os.path.join(llm_home, '../llm-binary') github_artifact_dir = os.path.join(llm_home, '../llm-binary')
libs_dir = os.path.join(llm_home, "bigdl", "llm", "libs") libs_dir = os.path.join(llm_home, "bigdl", "llm", "libs")
CONVERT_DEP = ['numpy >= 1.22', 'torch', CONVERT_DEP = ['numpy >= 1.22', 'torch',
'transformers == 4.31.0', 'sentencepiece', 'transformers == 4.31.0', 'sentencepiece', 'tokenizers == 0.13.3',
# TODO: Support accelerate 0.22.0 # TODO: Support accelerate 0.22.0
'accelerate == 0.21.0', 'tabulate'] 'accelerate == 0.21.0', 'tabulate']
SERVING_DEP = ['fschat[model_worker, webui] == 0.2.28', 'protobuf'] SERVING_DEP = ['fschat[model_worker, webui] == 0.2.28', 'protobuf']