Skip to content

Commit b5bb6c7

Browse files
Skip some UT for pytorch 2.6 RC for now
1 parent fb22bc5 commit b5bb6c7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/llm_unit_tests.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ jobs:
425425
bash python/llm/test/run-llm-inference-tests-gpu.sh
426426
427427
- name: Run LLM example tests
428-
if: ${{ matrix.pytorch-version != '2.6' }} # TODO: remove this workaround
428+
if: ${{ matrix.pytorch-version != '2.6' }} # TODO: Enable this test for pytorch 2.6
429429
shell: bash
430430
run: |
431431
python -m pip uninstall datasets -y
@@ -442,6 +442,7 @@ jobs:
442442
bash python/llm/test/run-llm-example-tests-gpu.sh
443443
444444
- name: Get Langchain version
445+
if: ${{ matrix.pytorch-version != '2.6' }} # TODO: Enable this test for pytorch 2.6
445446
shell: bash
446447
id: get_langchain_version
447448
run: |
@@ -451,13 +452,15 @@ jobs:
451452
echo "langchain_ver=$LANGCHAIN_REF" >> $GITHUB_OUTPUT
452453
453454
- name: Checkout Langchain repo
455+
if: ${{ matrix.pytorch-version != '2.6' }} # TODO: Enable this test for pytorch 2.6
454456
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
455457
with:
456458
repository: "langchain-ai/langchain"
457459
ref: ${{ join(steps.get_langchain_version.outputs.*, '\n') }}
458460
path: langchain_upstream
459461

460462
- name: Run LLM langchain GPU test
463+
if: ${{ matrix.pytorch-version != '2.6' }} # TODO: Enable this test for pytorch 2.6
461464
shell: bash
462465
run: |
463466
pip install -U langchain==0.0.184
@@ -478,6 +481,7 @@ jobs:
478481
bash python/llm/test/run-langchain-upstream-tests.sh
479482
480483
- name: Run LLM llamaindex GPU test
484+
if: ${{ matrix.pytorch-version != '2.6' }} # TODO: Enable this test for pytorch 2.6
481485
shell: bash
482486
run: |
483487
pip install "llama-index-readers-file<0.2.0"

0 commit comments

Comments
 (0)