You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Tests]: Adding dummy causal models for testing in regular CI run (#427)
### Purpose of this PR:
This update aims to reduce test execution time for causal language model
inference. Previously, tests were run using full-scale models with one
or two layers, which was inefficient and time-consuming. Refactoring CLI
api testing for independent testing and redundant conftest code.
### What’s Changed:
Introduced dummy models with significantly smaller configurations by
adjusting parameters such as `max_position_embeddings,
num_hidden_layers, num_attention_heads, hidden_size, intermediate_size,
vocab_size and additional_params`.
These lightweight models are used exclusively for testing purposes to
ensure faster execution without compromising test coverage.
And CLI testing has two test scripts one is for export, compile, and
execute, another is for infer cli api.
**Note:** This optimization is applied only to causal language models.
---------
Signed-off-by: Abukhoyer Shaik <[email protected]>
Copy file name to clipboardExpand all lines: scripts/Jenkinsfile
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ pipeline {
59
59
mkdir -p $PWD/Non_qaic &&
60
60
export TOKENIZERS_PARALLELISM=false &&
61
61
export QEFF_HOME=$PWD/Non_qaic &&
62
-
pytest tests -m '(not cli) and (on_qaic) and (not multimodal) and (not qnn) and (not finetune)' --ignore tests/vllm -n 4 --junitxml=tests/tests_log2.xml &&
62
+
pytest tests -m '(not cli) and (on_qaic) and (not nightly) and (not multimodal) and (not qnn) and (not finetune)' --ignore tests/vllm -n 4 --junitxml=tests/tests_log2.xml &&
pytest tests -m '(not cli) and (qnn) and (on_qaic) and (not multimodal) and (not finetune)' --ignore tests/vllm --junitxml=tests/tests_log5.xml &&
148
+
pytest tests -m '(not cli) and (qnn) and (not nightly) and (on_qaic) and (not multimodal) and (not finetune)' --ignore tests/vllm -n 4 --junitxml=tests/tests_log5.xml &&
0 commit comments