[bigdl-llm] Remove serving-dep from all_requires (#8980)

* Remove serving-dep from all_requires

* pin fastchat version
This commit is contained in:
Guancheng Fu 2023-09-14 16:59:24 +08:00 committed by GitHub
parent bcf456070c
commit d1b62ef2f2

View file

@ -53,7 +53,7 @@ CONVERT_DEP = ['numpy >= 1.22', 'torch',
'transformers == 4.31.0', 'sentencepiece', 'transformers == 4.31.0', 'sentencepiece',
# 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.24', 'protobuf'] SERVING_DEP = ['fschat[model_worker, webui] == 0.2.28', 'protobuf']
windows_binarys = [ windows_binarys = [
"llama.dll", "llama.dll",
"gptneox.dll", "gptneox.dll",
@ -254,7 +254,6 @@ def setup_package():
all_requires = ['py-cpuinfo', 'protobuf'] all_requires = ['py-cpuinfo', 'protobuf']
all_requires += CONVERT_DEP all_requires += CONVERT_DEP
all_requires += SERVING_DEP
# install with -f https://developer.intel.com/ipex-whl-stable-xpu # install with -f https://developer.intel.com/ipex-whl-stable-xpu
xpu_requires = copy.deepcopy(all_requires) xpu_requires = copy.deepcopy(all_requires)