Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniew committed May 8, 2024
1 parent 0696491 commit 6922dc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/llm/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
libs_dir = os.path.join(llm_home, "ipex_llm", "libs")
CONVERT_DEP = ['numpy == 1.26.4', # lastet 2.0.0b1 will cause error
'torch',
'transformers == 4.36.2', 'sentencepiece', 'tokenizers == 0.13.3',
'transformers == 4.36.2', 'sentencepiece', 'tokenizers == 0.15.2',
# TODO: Support accelerate 0.22.0
'accelerate == 0.21.0', 'tabulate']
SERVING_DEP = ['fschat[model_worker, webui] == 0.2.36', 'protobuf']
Expand Down Expand Up @@ -277,7 +277,7 @@ def setup_package():

# Add internal requires for llama-index
llama_index_requires = copy.deepcopy(all_requires)
for exclude_require in ['torch', 'tokenizers == 0.13.3']:
for exclude_require in ['torch']:
llama_index_requires.remove(exclude_require)
llama_index_requires += ["torch<2.2.0",
"sentence-transformers~=2.6.1"]
Expand Down

0 comments on commit 6922dc7

Please sign in to comment.