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