File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed
Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff 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"
You can’t perform that action at this time.
0 commit comments