Skip to content

Commit

Permalink
Skip some UT for pytorch 2.6 RC for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Oscilloscope98 committed Jan 21, 2025
1 parent fb22bc5 commit b5bb6c7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/llm_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ jobs:
bash python/llm/test/run-llm-inference-tests-gpu.sh
- name: Run LLM example tests
if: ${{ matrix.pytorch-version != '2.6' }} # TODO: remove this workaround
if: ${{ matrix.pytorch-version != '2.6' }} # TODO: Enable this test for pytorch 2.6
shell: bash
run: |
python -m pip uninstall datasets -y
Expand All @@ -442,6 +442,7 @@ jobs:
bash python/llm/test/run-llm-example-tests-gpu.sh
- name: Get Langchain version
if: ${{ matrix.pytorch-version != '2.6' }} # TODO: Enable this test for pytorch 2.6
shell: bash
id: get_langchain_version
run: |
Expand All @@ -451,13 +452,15 @@ jobs:
echo "langchain_ver=$LANGCHAIN_REF" >> $GITHUB_OUTPUT
- name: Checkout Langchain repo
if: ${{ matrix.pytorch-version != '2.6' }} # TODO: Enable this test for pytorch 2.6
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
with:
repository: "langchain-ai/langchain"
ref: ${{ join(steps.get_langchain_version.outputs.*, '\n') }}
path: langchain_upstream

- name: Run LLM langchain GPU test
if: ${{ matrix.pytorch-version != '2.6' }} # TODO: Enable this test for pytorch 2.6
shell: bash
run: |
pip install -U langchain==0.0.184
Expand All @@ -478,6 +481,7 @@ jobs:
bash python/llm/test/run-langchain-upstream-tests.sh
- name: Run LLM llamaindex GPU test
if: ${{ matrix.pytorch-version != '2.6' }} # TODO: Enable this test for pytorch 2.6
shell: bash
run: |
pip install "llama-index-readers-file<0.2.0"
Expand Down

0 comments on commit b5bb6c7

Please sign in to comment.