Skip to content

Commit fce1940

Browse files
committed
recover metal workflow
1 parent dfbbe3c commit fce1940

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/metal.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,22 @@ jobs:
4545
script: |
4646
set -eux
4747
48-
echo "::group::Setup ExecuTorch"
49-
PYTHON_EXECUTABLE=python ${CONDA_RUN} ./install_executorch.sh
50-
echo "::endgroup::"
51-
5248
echo "::group::Setup Huggingface"
5349
${CONDA_RUN} pip install -U "huggingface_hub[cli]<1.0" accelerate
5450
${CONDA_RUN} huggingface-cli login --token $SECRET_EXECUTORCH_HF_TOKEN
51+
echo "::endgroup::"
52+
53+
echo "::group::Setup Optimum-ExecuTorch"
5554
OPTIMUM_ET_VERSION=$(cat .ci/docker/ci_commit_pins/optimum-executorch.txt)
55+
echo "Using optimum-executorch version: ${OPTIMUM_ET_VERSION}"
5656
${CONDA_RUN} pip install git+https://github.com/huggingface/optimum-executorch.git@${OPTIMUM_ET_VERSION}
5757
${CONDA_RUN} pip install mistral-common librosa
5858
echo "::endgroup::"
5959
60+
echo "::group::Setup ExecuTorch"
61+
PYTHON_EXECUTABLE=python ${CONDA_RUN} ./install_executorch.sh
62+
echo "::endgroup::"
63+
6064
echo "::group::Pip List"
6165
${CONDA_RUN} pip list
6266
echo "::endgroup::"

0 commit comments

Comments
 (0)