Skip to content

Commit 9b5516b

Browse files
committed
Skip executor runner for qwen2 test
1 parent 955b991 commit 9b5516b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.ci/scripts/test_model.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,11 @@ test_model() {
9797
# Test export_llama script: python3 -m examples.models.llama.export_llama.
9898
# Use Llama random checkpoint with Qwen 2.5 1.5b model configuration.
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
100-
run_portable_executor_runner
101100
rm "./${MODEL_NAME}.pte"
101+
return # Skip running with portable executor runnner since portable doesn't support Qwen's biased linears.
102102
fi
103-
# python3 -m examples.portable.scripts.export --model_name="llama2" should works too
103+
104+
# Export a basic .pte and run the model.
104105
"${PYTHON_EXECUTABLE}" -m examples.portable.scripts.export --model_name="${MODEL_NAME}" "${STRICT}"
105106
run_portable_executor_runner
106107
}

0 commit comments

Comments
 (0)