Skip to content

Commit a18ee77

Browse files
Small fix
1 parent 0af4ac4 commit a18ee77

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/llm_unit_tests.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -425,15 +425,11 @@ 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
428429
shell: bash
429430
run: |
430431
python -m pip uninstall datasets -y
431-
# TODO: Remove this workaround
432-
if [[ '${{ matrix.pytorch-version }}' == '2.6' ]]; then
433-
python -m pip install transformers==4.42.0 datasets peft==0.10.0
434-
else
435-
python -m pip install transformers==4.36.0 datasets peft==0.10.0
436-
fi
432+
python -m pip install transformers==4.36.0 datasets peft==0.10.0
437433
438434
python -m pip install bitsandbytes scipy
439435
# Specific oneapi position on arc ut test machines
@@ -446,11 +442,6 @@ jobs:
446442
fi
447443
bash python/llm/test/run-llm-example-tests-gpu.sh
448444
449-
# TODO: Remove this workaround
450-
if [[ '${{ matrix.pytorch-version }}' == '2.6' ]]; then
451-
python -m pip install transformers==4.37.0
452-
fi
453-
454445
- name: Get Langchain version
455446
shell: bash
456447
id: get_langchain_version

0 commit comments

Comments
 (0)