Skip to content

Commit ebedd6b

Browse files
committed
fix
1 parent 8f537f8 commit ebedd6b

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

.github/workflows/trunk.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -831,21 +831,7 @@ jobs:
831831
echo "::group::Set up Hugging Face"
832832
pip install -U "huggingface_hub[cli]"
833833
huggingface-cli login --token $SECRET_EXECUTORCH_HF_TOKEN
834-
# OPTIMUM_ET_COMMIT=$(cat .ci/docker/ci_commit_pins/optimum-executorch.txt)
835-
OPTIMUM_ET_COMMIT=8335b491fa77a6c43709b4dfc192184add6ef224
836-
837-
echo "Cloning optimum-executorch..."
838-
839-
git clone https://github.com/huggingface/optimum-executorch
840-
pushd optimum-executorch
841-
842-
echo "Checking out commit: $OPTIMUM_ET_COMMIT"
843-
844-
# There is no release yet, for CI stability, always test from the same commit on main
845-
git checkout $OPTIMUM_ET_COMMIT
846-
python install_dev.py --skip_override_torch
847-
popd
848-
pip list
834+
pip install git+https://github.com/huggingface/optimum-executorch.git@${OPTIMUM_ET_VERSION}
849835
echo "::endgroup::"
850836
851837
echo "::group::Run tests"

0 commit comments

Comments
 (0)