Skip to content

Commit 7d664ff

Browse files
authored
Update metal.yml
1 parent 3a8345a commit 7d664ff

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

.github/workflows/metal.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,15 @@ jobs:
4545
script: |
4646
set -eux
4747
48-
echo "::group::Setup Huggingface"
49-
${CONDA_RUN} pip install -U "huggingface_hub[cli]<1.0" accelerate
50-
${CONDA_RUN} huggingface-cli login --token $SECRET_EXECUTORCH_HF_TOKEN
48+
echo "::group::Setup ExecuTorch"
49+
./install_executorch.sh
5150
echo "::endgroup::"
5251
53-
echo "::group::Setup Optimum-ExecuTorch"
52+
echo "::group::Setup Huggingface"
53+
pip install -U "huggingface_hub[cli]<1.0" accelerate
54+
huggingface-cli login --token $SECRET_EXECUTORCH_HF_TOKEN
5455
OPTIMUM_ET_VERSION=$(cat .ci/docker/ci_commit_pins/optimum-executorch.txt)
55-
echo "Using optimum-executorch version: ${OPTIMUM_ET_VERSION}"
56-
${CONDA_RUN} pip install git+https://github.com/huggingface/optimum-executorch.git@${OPTIMUM_ET_VERSION}
57-
${CONDA_RUN} pip install mistral-common librosa
58-
echo "::endgroup::"
59-
60-
echo "::group::Setup ExecuTorch"
61-
PYTHON_EXECUTABLE=python ${CONDA_RUN} ./install_executorch.sh
56+
pip install git+https://github.com/huggingface/optimum-executorch.git@${OPTIMUM_ET_VERSION}
6257
echo "::endgroup::"
6358
6459
echo "::group::Pip List"

0 commit comments

Comments
 (0)