File tree Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,10 @@ test_model() {
87
87
bash examples/models/llava/install_requirements.sh
88
88
STRICT=" --no-strict"
89
89
fi
90
+ if [[ " $MODEL_NAME " == " llama3_2_vision_encoder" ]]; then
91
+ # Install requirements for llama vision
92
+ bash examples/models/llama3_2_vision/install_requirements.sh
93
+ fi
90
94
# python3 -m examples.portable.scripts.export --model_name="llama2" should works too
91
95
" ${PYTHON_EXECUTABLE} " -m examples.portable.scripts.export --model_name=" ${MODEL_NAME} " " ${STRICT} "
92
96
run_portable_executor_runner
Original file line number Diff line number Diff line change 72
72
conda activate "${CONDA_ENV}"
73
73
74
74
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
79
75
BUILD_TOOL=${{ matrix.build-tool }}
80
76
BACKEND=${{ matrix.backend }}
81
77
DEMO_BACKEND_DELEGATION=${{ matrix.demo_backend_delegation }}
Original file line number Diff line number Diff line change 58
58
bash .ci/scripts/setup-conda.sh
59
59
# Setup MacOS dependencies as there is no Docker support on MacOS atm
60
60
PYTHON_EXECUTABLE=python ${CONDA_RUN} bash .ci/scripts/setup-macos.sh "${BUILD_TOOL}"
61
- # Install requirements for llama vision
62
- if [[ "$MODEL_NAME" == "llama3_2_vision_encoder" ]]; then
63
- ${CONDA_RUN} bash examples/models/llama3_2_vision/install_requirements.sh
64
- fi
65
61
# Build and test executorch
66
62
PYTHON_EXECUTABLE=python ${CONDA_RUN} bash .ci/scripts/test_model.sh "${MODEL_NAME}" "${BUILD_TOOL}" "${BACKEND}" "${DEMO_BACKEND_DELEGATION}"
67
63
You can’t perform that action at this time.
0 commit comments