try to fix deps installation of bigdl (#9578)

This commit is contained in:
Chen, Zhentao 2023-12-01 15:25:47 +08:00 committed by GitHub
parent cb228c70ea
commit 5de92090b3

View file

@ -29,10 +29,10 @@ runs:
fi fi
whl_name=$(ls python/llm/dist) whl_name=$(ls python/llm/dist)
if [[ ${{ inputs.extra-dependency }} == 'xpu' ]]; then if [[ ${{ inputs.extra-dependency }} == 'xpu' ]]; then
pip install -i https://pypi.python.org/simple --force-reinstall "python/llm/dist/${whl_name}[xpu]" -f https://developer.intel.com/ipex-whl-stable-xpu pip install --upgrade --pre -i https://pypi.python.org/simple --force-reinstall "python/llm/dist/${whl_name}[xpu]" -f https://developer.intel.com/ipex-whl-stable-xpu
pip install pytest datasets librosa soundfile pip install pytest datasets librosa soundfile
else else
pip install -i https://pypi.python.org/simple --force-reinstall "python/llm/dist/${whl_name}[all]" pip install --upgrade --pre -i https://pypi.python.org/simple --force-reinstall "python/llm/dist/${whl_name}[all]"
pip install pytest pip install pytest
bash python/llm/test/run-llm-install-tests.sh bash python/llm/test/run-llm-install-tests.sh
fi fi