Skip to content

Commit 20ea230

Browse files
guangy10Guang Yang
andauthored
Fix for overriding installed executorch when running optimum-et models (#11745)
### Summary Running `install_dev.py` for `optimum-executorch` will force overriding installed `executorch` and torch deps to the pinned nightly in `optimum-executorch`. In ExecuTorch CI including the benchmark, we would want to always run the optimum-executorch models with ExecuTorch from source to catch issues/regressions. ### Test plan Verified the installed deps in the CI and benchmark jobs Co-authored-by: Guang Yang <guangyang@fb.com>
1 parent 7b39a0c commit 20ea230

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.github/workflows/android-perf.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,8 @@ jobs:
342342
git clone https://github.com/huggingface/optimum-executorch
343343
pushd optimum-executorch
344344
# There is no release yet, for CI stability, always test from the same commit on main
345-
git checkout 1c653dc49812fc431a22312c7295d97005d22e12
346-
python install_dev.py
345+
git checkout 4c3b18f6cca68c5ccff809131d570062723d7188
346+
python install_dev.py --skip_override_torch
347347
pip list
348348
349349
ARGS=(

.github/workflows/apple-perf.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,8 +347,8 @@ jobs:
347347
git clone https://github.com/huggingface/optimum-executorch
348348
pushd optimum-executorch
349349
# There is no release yet, for CI stability, always test from the same commit on main
350-
git checkout 1c653dc49812fc431a22312c7295d97005d22e12
351-
${CONDA_RUN} python install_dev.py
350+
git checkout 4c3b18f6cca68c5ccff809131d570062723d7188
351+
${CONDA_RUN} python install_dev.py --skip_override_torch
352352
pip list
353353
354354
ARGS=(

.github/workflows/trunk.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -571,9 +571,8 @@ jobs:
571571
git clone https://github.com/huggingface/optimum-executorch
572572
pushd optimum-executorch
573573
# There is no release yet, for CI stability, always test from the same commit on main
574-
git checkout 1c653dc49812fc431a22312c7295d97005d22e12
575-
pip install .[tests]
576-
pip install transformers==4.52.4
574+
git checkout 4c3b18f6cca68c5ccff809131d570062723d7188
575+
python install_dev.py --skip_override_torch
577576
popd
578577
pip list
579578
echo "::endgroup::"

0 commit comments

Comments
 (0)