Skip to content

Commit 565a035

Browse files
committed
up
1 parent 65b9af3 commit 565a035

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/trunk.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -768,6 +768,11 @@ jobs:
768768
# There is no release yet, for CI stability, always test from the same commit on main
769769
git checkout $OPTIMUM_ET_COMMIT
770770
${CONDA_RUN} python install_dev.py --skip_override_torch
771+
772+
# When using transformers 4.53 onward, optimum-et uses dynamic shapes for LLMs
773+
# and this doesn't export on CoreML. Until we add the ability to disable dynamic shapes
774+
# in "optimum-cli export executorch", we need to pin transformers to 4.52.4
775+
${CONDA_RUN} pip install transformers==4.52.4 --force-reinstall
771776
popd
772777
${CONDA_RUN} pip list
773778
echo "::endgroup::"

0 commit comments

Comments
 (0)