File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -97,10 +97,11 @@ test_model() {
97
97
# Test export_llama script: python3 -m examples.models.llama.export_llama.
98
98
# Use Llama random checkpoint with Qwen 2.5 1.5b model configuration.
99
99
" ${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
101
100
rm " ./${MODEL_NAME} .pte"
101
+ return # Skip running with portable executor runnner since portable doesn't support Qwen's biased linears.
102
102
fi
103
- # python3 -m examples.portable.scripts.export --model_name="llama2" should works too
103
+
104
+ # Export a basic .pte and run the model.
104
105
" ${PYTHON_EXECUTABLE} " -m examples.portable.scripts.export --model_name=" ${MODEL_NAME} " " ${STRICT} "
105
106
run_portable_executor_runner
106
107
}
You can’t perform that action at this time.
0 commit comments