Skip to content

Commit 779a7ce

Browse files
committed
Install extra deps
1 parent ca343e7 commit 779a7ce

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.ci/scripts/export_model_cuda_artifact.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,12 @@ case "$QUANT_NAME" in
104104
esac
105105

106106
echo "::group::Export $MODEL_NAME"
107+
108+
if [ -n "$EXTRA_PIP" ]; then
109+
pip install $EXTRA_PIP
110+
fi
111+
pip list
112+
107113
MAX_SEQ_LEN_ARG=""
108114
if [ -n "$MAX_SEQ_LEN" ]; then
109115
MAX_SEQ_LEN_ARG="--max_seq_len $MAX_SEQ_LEN"

.github/workflows/cuda.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,6 @@ jobs:
133133
huggingface-cli login --token $SECRET_EXECUTORCH_HF_TOKEN
134134
OPTIMUM_ET_VERSION=$(cat .ci/docker/ci_commit_pins/optimum-executorch.txt)
135135
pip install git+https://github.com/huggingface/optimum-executorch.git@${OPTIMUM_ET_VERSION}
136-
if [ -n "$EXTRA_PIP" ]; then
137-
pip install $EXTRA_PIP
138-
fi
139-
pip list
140136
echo "::endgroup::"
141137
142138
source .ci/scripts/export_model_cuda_artifact.sh "${{ matrix.model }}" "${{ matrix.quant }}" "${RUNNER_ARTIFACT_DIR}"

0 commit comments

Comments
 (0)