Skip to content

Commit 47bed4c

Browse files
committed
Skip executor runner for qwen2 test
1 parent 955b991 commit 47bed4c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.ci/scripts/test_model.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,10 @@ test_model() {
9999
"${PYTHON_EXECUTABLE}" -m examples.models.llama.export_llama --model "${MODEL_NAME}" -c examples/models/llama/params/demo_rand_params.pth -p examples/models/qwen2_5/1_5b_config.json
100100
run_portable_executor_runner
101101
rm "./${MODEL_NAME}.pte"
102+
return # Skip running with portable executor runnner since portable doesn't support Qwen's biased linears.
102103
fi
103-
# python3 -m examples.portable.scripts.export --model_name="llama2" should works too
104+
105+
# Export a basic .pte and run the model.
104106
"${PYTHON_EXECUTABLE}" -m examples.portable.scripts.export --model_name="${MODEL_NAME}" "${STRICT}"
105107
run_portable_executor_runner
106108
}

0 commit comments

Comments
 (0)