Skip to content

Commit 045d1d5

Browse files
committed
Added new stage for Finetune CLI in Jenkins
Signed-off-by: Meet Patel <[email protected]>
1 parent e9db279 commit 045d1d5

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

scripts/Jenkinsfile

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -67,24 +67,7 @@ pipeline {
6767
}
6868
}
6969
}
70-
stage('CLI Tests') {
71-
stage('Run QAIC Finetuning Tests') {
72-
steps {
73-
timeout(time: 5, unit: 'MINUTES') {
74-
sh '''
75-
sudo docker exec ${BUILD_TAG} bash -c "
76-
cd /efficient-transformers &&
77-
. preflight_qeff/bin/activate &&
78-
mkdir -p $PWD/cli_qaic_finetuning &&
79-
export TOKENIZERS_PARALLELISM=false &&
80-
export QEFF_HOME=$PWD/cli_qaic_finetuning &&
81-
pytest tests -m '(cli) and (on_qaic) and (not qnn) and (finetune)' --ignore tests/vllm -n 4 --junitxml=tests/tests_log_finetune.xml &&
82-
junitparser merge tests/tests_log_finetune.xml tests/tests_log.xml &&
83-
deactivate"
84-
'''
85-
}
86-
}
87-
}
70+
stage('Inference CLI Tests') {
8871
steps {
8972
timeout(time: 60, unit: 'MINUTES') {
9073
sh '''
@@ -151,8 +134,26 @@ pipeline {
151134
}
152135
}
153136
}
137+
stage('Finetune CLI Tests') {
138+
stage('Run QAIC Finetuning Tests') {
139+
steps {
140+
timeout(time: 5, unit: 'MINUTES') {
141+
sh '''
142+
sudo docker exec ${BUILD_TAG} bash -c "
143+
cd /efficient-transformers &&
144+
. preflight_qeff/bin/activate &&
145+
mkdir -p $PWD/cli_qaic_finetuning &&
146+
export TOKENIZERS_PARALLELISM=false &&
147+
export QEFF_HOME=$PWD/cli_qaic_finetuning &&
148+
pytest tests -m '(cli) and (on_qaic) and (not qnn) and (finetune)' --ignore tests/vllm -n 4 --junitxml=tests/tests_log_finetune.xml &&
149+
junitparser merge tests/tests_log_finetune.xml tests/tests_log.xml &&
150+
deactivate"
151+
'''
152+
}
153+
}
154+
}
155+
}
154156
}
155-
156157
post {
157158
always {
158159
script {

0 commit comments

Comments
 (0)