Skip to content

Commit e730c12

Browse files
committed
Fix pull.yml and trunk.yml
Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags:
1 parent 110d990 commit e730c12

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/pull.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ jobs:
7272
conda activate "${CONDA_ENV}"
7373
7474
MODEL_NAME=${{ matrix.model }}
75+
# Install requirements for llama vision
76+
if [[ "$MODEL_NAME" == "llama3_2_vision_encoder" ]]; then
77+
bash examples/models/llama3_2_vision/install_requirements.sh
78+
fi
7579
BUILD_TOOL=${{ matrix.build-tool }}
7680
BACKEND=${{ matrix.backend }}
7781
DEMO_BACKEND_DELEGATION=${{ matrix.demo_backend_delegation }}

.github/workflows/trunk.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@ jobs:
5858
bash .ci/scripts/setup-conda.sh
5959
# Setup MacOS dependencies as there is no Docker support on MacOS atm
6060
PYTHON_EXECUTABLE=python ${CONDA_RUN} bash .ci/scripts/setup-macos.sh "${BUILD_TOOL}"
61-
# Build and test xecutorch
61+
# Install requirements for llama vision
62+
if [[ "$MODEL_NAME" == "llama3_2_vision_encoder" ]]; then
63+
bash examples/models/llama3_2_vision/install_requirements.sh
64+
fi
65+
# Build and test executorch
6266
PYTHON_EXECUTABLE=python ${CONDA_RUN} bash .ci/scripts/test_model.sh "${MODEL_NAME}" "${BUILD_TOOL}" "${BACKEND}" "${DEMO_BACKEND_DELEGATION}"
6367
6468
test-custom-ops-macos:

0 commit comments

Comments
 (0)