From 84dad531f06a1d111e2e5f99667e374860f8ee9c Mon Sep 17 00:00:00 2001 From: Guang Yang Date: Mon, 16 Jun 2025 17:52:44 -0700 Subject: [PATCH] Fix for overriding installed executorch when running optimum-et models in CI --- .github/workflows/android-perf.yml | 4 ++-- .github/workflows/apple-perf.yml | 4 ++-- .github/workflows/trunk.yml | 5 ++--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/android-perf.yml b/.github/workflows/android-perf.yml index e08c536088e..1a6d63f1bd1 100644 --- a/.github/workflows/android-perf.yml +++ b/.github/workflows/android-perf.yml @@ -342,8 +342,8 @@ jobs: git clone https://github.com/huggingface/optimum-executorch pushd optimum-executorch # There is no release yet, for CI stability, always test from the same commit on main - git checkout 1c653dc49812fc431a22312c7295d97005d22e12 - python install_dev.py + git checkout 4c3b18f6cca68c5ccff809131d570062723d7188 + python install_dev.py --skip_override_torch pip list ARGS=( diff --git a/.github/workflows/apple-perf.yml b/.github/workflows/apple-perf.yml index 683ac5170b4..0c03f55f82e 100644 --- a/.github/workflows/apple-perf.yml +++ b/.github/workflows/apple-perf.yml @@ -347,8 +347,8 @@ jobs: git clone https://github.com/huggingface/optimum-executorch pushd optimum-executorch # There is no release yet, for CI stability, always test from the same commit on main - git checkout 1c653dc49812fc431a22312c7295d97005d22e12 - ${CONDA_RUN} python install_dev.py + git checkout 4c3b18f6cca68c5ccff809131d570062723d7188 + ${CONDA_RUN} python install_dev.py --skip_override_torch pip list ARGS=( diff --git a/.github/workflows/trunk.yml b/.github/workflows/trunk.yml index 1cfef0273be..43da4e4b9b0 100644 --- a/.github/workflows/trunk.yml +++ b/.github/workflows/trunk.yml @@ -571,9 +571,8 @@ jobs: git clone https://github.com/huggingface/optimum-executorch pushd optimum-executorch # There is no release yet, for CI stability, always test from the same commit on main - git checkout 1c653dc49812fc431a22312c7295d97005d22e12 - pip install .[tests] - pip install transformers==4.52.4 + git checkout 4c3b18f6cca68c5ccff809131d570062723d7188 + python install_dev.py --skip_override_torch popd pip list echo "::endgroup::"