Skip to content

Commit c3aa753

Browse files
authored
[Tests:] QNN Tests are Disabled from CI (#586)
Disabling the QNN Tests Signed-off-by: Abukhoyer Shaik <abukhoye@qti.qualcomm.com>
1 parent 1272415 commit c3aa753

File tree

1 file changed

+57
-57
lines changed

1 file changed

+57
-57
lines changed

scripts/Jenkinsfile

Lines changed: 57 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -104,63 +104,63 @@ pipeline {
104104
}
105105
}
106106
}
107-
stage('QNN CLI Tests') {
108-
steps {
109-
timeout(time: 30, unit: 'MINUTES') {
110-
sh '''
111-
sudo docker exec ${BUILD_TAG} bash -c "
112-
source /qnn_sdk/bin/envsetup.sh &&
113-
source /qnn_sdk/bin/envcheck -c &&
114-
cd /efficient-transformers &&
115-
. preflight_qeff/bin/activate &&
116-
mkdir -p $PWD/Qnn_cli &&
117-
export TOKENIZERS_PARALLELISM=false &&
118-
export QEFF_HOME=$PWD/Qnn_cli &&
119-
pytest tests -m '(cli and qnn) and (not finetune)' --ignore tests/vllm --junitxml=tests/tests_log4.xml &&
120-
junitparser merge tests/tests_log4.xml tests/tests_log.xml &&
121-
deactivate"
122-
'''
123-
}
124-
}
125-
}
126-
stage('QNN Non-CLI Tests') {
127-
steps {
128-
timeout(time: 200, unit: 'MINUTES') {
129-
sh '''
130-
sudo docker exec ${BUILD_TAG} bash -c "
131-
source /qnn_sdk/bin/envsetup.sh &&
132-
source /qnn_sdk/bin/envcheck -c &&
133-
cd /efficient-transformers &&
134-
. preflight_qeff/bin/activate &&
135-
mkdir -p $PWD/Qnn_non_cli &&
136-
export TOKENIZERS_PARALLELISM=false &&
137-
export QEFF_HOME=$PWD/Qnn_non_cli &&
138-
pytest tests -m '(not cli) and (qnn) and (not nightly) and (on_qaic) and (not multimodal) and (not finetune)' --ignore tests/vllm --junitxml=tests/tests_log5.xml &&
139-
junitparser merge tests/tests_log5.xml tests/tests_log.xml &&
140-
deactivate"
141-
'''
142-
}
143-
}
144-
}
145-
stage('QNN MultiModal Tests') {
146-
steps {
147-
timeout(time: 60, unit: 'MINUTES') {
148-
sh '''
149-
sudo docker exec ${BUILD_TAG} bash -c "
150-
source /qnn_sdk/bin/envsetup.sh &&
151-
source /qnn_sdk/bin/envcheck -c &&
152-
cd /efficient-transformers &&
153-
. preflight_qeff/bin/activate &&
154-
mkdir -p $PWD/Non_cli_qnn_multimodal &&
155-
export TOKENIZERS_PARALLELISM=false &&
156-
export QEFF_HOME=$PWD/Non_cli_qnn_multimodal &&
157-
pytest tests -m '(not cli) and (on_qaic) and (multimodal) and (qnn)' --ignore tests/vllm --junitxml=tests/tests_log7.xml &&
158-
junitparser merge tests/tests_log7.xml tests/tests_log.xml &&
159-
deactivate"
160-
'''
161-
}
162-
}
163-
}
107+
// stage('QNN CLI Tests') {
108+
// steps {
109+
// timeout(time: 30, unit: 'MINUTES') {
110+
// sh '''
111+
// sudo docker exec ${BUILD_TAG} bash -c "
112+
// source /qnn_sdk/bin/envsetup.sh &&
113+
// source /qnn_sdk/bin/envcheck -c &&
114+
// cd /efficient-transformers &&
115+
// . preflight_qeff/bin/activate &&
116+
// mkdir -p $PWD/Qnn_cli &&
117+
// export TOKENIZERS_PARALLELISM=false &&
118+
// export QEFF_HOME=$PWD/Qnn_cli &&
119+
// pytest tests -m '(cli and qnn) and (not finetune)' --ignore tests/vllm --junitxml=tests/tests_log4.xml &&
120+
// junitparser merge tests/tests_log4.xml tests/tests_log.xml &&
121+
// deactivate"
122+
// '''
123+
// }
124+
// }
125+
// }
126+
// stage('QNN Non-CLI Tests') {
127+
// steps {
128+
// timeout(time: 200, unit: 'MINUTES') {
129+
// sh '''
130+
// sudo docker exec ${BUILD_TAG} bash -c "
131+
// source /qnn_sdk/bin/envsetup.sh &&
132+
// source /qnn_sdk/bin/envcheck -c &&
133+
// cd /efficient-transformers &&
134+
// . preflight_qeff/bin/activate &&
135+
// mkdir -p $PWD/Qnn_non_cli &&
136+
// export TOKENIZERS_PARALLELISM=false &&
137+
// export QEFF_HOME=$PWD/Qnn_non_cli &&
138+
// pytest tests -m '(not cli) and (qnn) and (not nightly) and (on_qaic) and (not multimodal) and (not finetune)' --ignore tests/vllm --junitxml=tests/tests_log5.xml &&
139+
// junitparser merge tests/tests_log5.xml tests/tests_log.xml &&
140+
// deactivate"
141+
// '''
142+
// }
143+
// }
144+
// }
145+
// stage('QNN MultiModal Tests') {
146+
// steps {
147+
// timeout(time: 60, unit: 'MINUTES') {
148+
// sh '''
149+
// sudo docker exec ${BUILD_TAG} bash -c "
150+
// source /qnn_sdk/bin/envsetup.sh &&
151+
// source /qnn_sdk/bin/envcheck -c &&
152+
// cd /efficient-transformers &&
153+
// . preflight_qeff/bin/activate &&
154+
// mkdir -p $PWD/Non_cli_qnn_multimodal &&
155+
// export TOKENIZERS_PARALLELISM=false &&
156+
// export QEFF_HOME=$PWD/Non_cli_qnn_multimodal &&
157+
// pytest tests -m '(not cli) and (on_qaic) and (multimodal) and (qnn)' --ignore tests/vllm --junitxml=tests/tests_log7.xml &&
158+
// junitparser merge tests/tests_log7.xml tests/tests_log.xml &&
159+
// deactivate"
160+
// '''
161+
// }
162+
// }
163+
// }
164164
stage('Finetune CLI Tests') {
165165
steps {
166166
timeout(time: 5, unit: 'MINUTES') {

0 commit comments

Comments
 (0)