feat: set transformers lib version. (#8683)

This commit is contained in:
Cengguang Zhang 2023-08-04 15:01:59 +08:00 committed by GitHub
parent ef08250c21
commit ebcf75d506

View file

@ -49,7 +49,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', 'sentencepiece', 'transformers >= 4.31.0', 'sentencepiece',
'accelerate', 'tabulate'] 'accelerate', 'tabulate']
windows_binarys = [ windows_binarys = [
"llama.dll", "llama.dll",