fix transformer version (#10788)
* fix transformer version * uninstall sentence transformer * uninstall * uninstall
This commit is contained in:
parent
0e8aac19e3
commit
88463cbf47
1 changed files with 13 additions and 2 deletions
13
.github/workflows/llm_unit_tests.yml
vendored
13
.github/workflows/llm_unit_tests.yml
vendored
|
|
@ -223,9 +223,14 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
pip install llama-index-readers-file llama-index-vector-stores-postgres llama-index-embeddings-huggingface
|
pip install llama-index-readers-file llama-index-vector-stores-postgres llama-index-embeddings-huggingface
|
||||||
pip install transformers==4.31.0
|
pip install transformers==4.36.0
|
||||||
pip install "pydantic>=2.0.0"
|
pip install "pydantic>=2.0.0"
|
||||||
bash python/llm/test/run-llm-llamaindex-tests.sh
|
bash python/llm/test/run-llm-llamaindex-tests.sh
|
||||||
|
- name: Run sentence-transformers uninstallation
|
||||||
|
if: ${{ always() }}
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
pip uninstall sentence-transformers -y || true
|
||||||
llm-unit-test-on-arc:
|
llm-unit-test-on-arc:
|
||||||
needs: [setup-python-version, llm-cpp-build]
|
needs: [setup-python-version, llm-cpp-build]
|
||||||
strategy:
|
strategy:
|
||||||
|
|
@ -399,5 +404,11 @@ jobs:
|
||||||
pip install --pre --upgrade ipex-llm[xpu_2.0] --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/cn/
|
pip install --pre --upgrade ipex-llm[xpu_2.0] --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/cn/
|
||||||
source /home/arda/intel/oneapi/setvars.sh
|
source /home/arda/intel/oneapi/setvars.sh
|
||||||
fi
|
fi
|
||||||
|
pip install transformers==4.36.0
|
||||||
pip install "pydantic>=2.0.0"
|
pip install "pydantic>=2.0.0"
|
||||||
bash python/llm/test/run-llm-llamaindex-tests-gpu.sh
|
bash python/llm/test/run-llm-llamaindex-tests-gpu.sh
|
||||||
|
- name: Run sentence-transformers uninstallation
|
||||||
|
if: ${{ always() }}
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
pip uninstall sentence-transformers -y || true
|
||||||
Loading…
Reference in a new issue