@@ -28,98 +28,97 @@ pipeline {
28
28
'''
29
29
}
30
30
}
31
-
32
- // stage('Non CLI Tests') {
33
- // parallel {
34
- // stage('Run Non-CLI Non-QAIC Tests') {
35
- // steps {
36
- // timeout(time: 25, unit: 'MINUTES') {
37
- // sh '''
38
- // sudo docker exec ${BUILD_TAG} bash -c "
39
- // cd /efficient-transformers &&
40
- // . preflight_qeff/bin/activate &&
41
- // mkdir -p $PWD/Non_cli_qaic &&
42
- // export TOKENIZERS_PARALLELISM=false &&
43
- // export QEFF_HOME=$PWD/Non_cli_qaic &&
44
- // pytest tests -m '(not cli) and (not on_qaic)' -n auto --junitxml=tests/tests_log1.xml &&
45
- // deactivate"
46
- // '''
47
- // }
48
- // }
49
- // }
50
- // stage('Run Non-CLI QAIC Tests') {
51
- // steps {
52
- // timeout(time: 200, unit: 'MINUTES') {
53
- // sh '''
54
- // sudo docker exec ${BUILD_TAG} bash -c "
55
- // cd /efficient-transformers &&
56
- // . preflight_qeff/bin/activate &&
57
- // mkdir -p $PWD/Non_qaic &&
58
- // export TOKENIZERS_PARALLELISM=false &&
59
- // export QEFF_HOME=$PWD/Non_qaic &&
60
- // pytest tests -m '(not cli) and (on_qaic) and (not qnn)' -n 4 --junitxml=tests/tests_log2.xml &&
61
- // deactivate"
62
- // '''
63
- // }
64
- // }
65
- // }
66
- // }
67
- // }
68
- // stage('CLI Tests') {
69
- // steps {
70
- // timeout(time: 15, unit: 'MINUTES') {
71
- // sh '''
72
- // sudo docker exec ${BUILD_TAG} bash -c "
73
- // source /qnn_sdk/bin/envsetup.sh &&
74
- // source /qnn_sdk/bin/envcheck -c &&
75
- // cd /efficient-transformers &&
76
- // . preflight_qeff/bin/activate &&
77
- // mkdir -p $PWD/cli &&
78
- // export TOKENIZERS_PARALLELISM=false &&
79
- // export QEFF_HOME=$PWD/cli &&
80
- // pytest tests -m '(cli and not qnn)' --junitxml=tests/tests_log3.xml &&
81
- // deactivate"
82
- // '''
83
- // }
84
- // }
85
- // }
86
- // stage('QNN CLI Tests') {
87
- // steps {
88
- // timeout(time: 30, unit: 'MINUTES') {
89
- // sh '''
90
- // sudo docker exec ${BUILD_TAG} bash -c "
91
- // source /qnn_sdk/bin/envsetup.sh &&
92
- // source /qnn_sdk/bin/envcheck -c &&
93
- // cd /efficient-transformers &&
94
- // . preflight_qeff/bin/activate &&
95
- // mkdir -p $PWD/Qnn_cli &&
96
- // export TOKENIZERS_PARALLELISM=false &&
97
- // export QEFF_HOME=$PWD/Qnn_cli &&
98
- // pytest tests -m '(cli and qnn)' --junitxml=tests/tests_log4.xml &&
99
- // deactivate"
100
- // '''
101
- // }
102
- // }
103
- // }
104
- // stage('QNN Non-CLI Tests') {
105
- // steps {
106
- // timeout(time: 60, unit: 'MINUTES') {
107
- // sh '''
108
- // sudo docker exec ${BUILD_TAG} bash -c "
109
- // source /qnn_sdk/bin/envsetup.sh &&
110
- // source /qnn_sdk/bin/envcheck -c &&
111
- // cd /efficient-transformers &&
112
- // . preflight_qeff/bin/activate &&
113
- // mkdir -p $PWD/Qnn_non_cli &&
114
- // export TOKENIZERS_PARALLELISM=false &&
115
- // export QEFF_HOME=$PWD/Qnn_non_cli &&
116
- // pytest tests -m '(not cli) and (qnn) and (on_qaic)' --junitxml=tests/tests_log5.xml &&
117
- // junitparser merge tests/tests_log1.xml tests/tests_log2.xml tests/tests_log3.xml tests/tests_log4.xml tests/tests_log5.xml tests/tests_log.xml &&
118
- // deactivate"
119
- // '''
120
- // }
121
- // }
122
- // }
31
+ stage(' Non CLI Tests' ) {
32
+ parallel {
33
+ stage(' Run Non-CLI Non-QAIC Tests' ) {
34
+ steps {
35
+ timeout(time : 25 , unit : ' MINUTES' ) {
36
+ sh '''
37
+ sudo docker exec ${BUILD_TAG} bash -c "
38
+ cd /efficient-transformers &&
39
+ . preflight_qeff/bin/activate &&
40
+ mkdir -p $PWD/Non_cli_qaic &&
41
+ export TOKENIZERS_PARALLELISM=false &&
42
+ export QEFF_HOME=$PWD/Non_cli_qaic &&
43
+ pytest tests -m '(not cli) and (not on_qaic)' -n auto --junitxml=tests/tests_log1.xml &&
44
+ deactivate"
45
+ '''
46
+ }
47
+ }
48
+ }
49
+ stage(' Run Non-CLI QAIC Tests' ) {
50
+ steps {
51
+ timeout(time : 200 , unit : ' MINUTES' ) {
52
+ sh '''
53
+ sudo docker exec ${BUILD_TAG} bash -c "
54
+ cd /efficient-transformers &&
55
+ . preflight_qeff/bin/activate &&
56
+ mkdir -p $PWD/Non_qaic &&
57
+ export TOKENIZERS_PARALLELISM=false &&
58
+ export QEFF_HOME=$PWD/Non_qaic &&
59
+ pytest tests -m '(not cli) and (on_qaic) and (not qnn)' -n 4 --junitxml=tests/tests_log2.xml &&
60
+ deactivate"
61
+ '''
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
67
+ stage(' CLI Tests' ) {
68
+ steps {
69
+ timeout(time : 15 , unit : ' MINUTES' ) {
70
+ sh '''
71
+ sudo docker exec ${BUILD_TAG} bash -c "
72
+ source /qnn_sdk/bin/envsetup.sh &&
73
+ source /qnn_sdk/bin/envcheck -c &&
74
+ cd /efficient-transformers &&
75
+ . preflight_qeff/bin/activate &&
76
+ mkdir -p $PWD/cli &&
77
+ export TOKENIZERS_PARALLELISM=false &&
78
+ export QEFF_HOME=$PWD/cli &&
79
+ pytest tests -m '(cli and not qnn)' --junitxml=tests/tests_log3.xml &&
80
+ deactivate"
81
+ '''
82
+ }
83
+ }
84
+ }
85
+ stage(' QNN CLI Tests' ) {
86
+ steps {
87
+ timeout(time : 30 , unit : ' MINUTES' ) {
88
+ sh '''
89
+ sudo docker exec ${BUILD_TAG} bash -c "
90
+ source /qnn_sdk/bin/envsetup.sh &&
91
+ source /qnn_sdk/bin/envcheck -c &&
92
+ cd /efficient-transformers &&
93
+ . preflight_qeff/bin/activate &&
94
+ mkdir -p $PWD/Qnn_cli &&
95
+ export TOKENIZERS_PARALLELISM=false &&
96
+ export QEFF_HOME=$PWD/Qnn_cli &&
97
+ pytest tests -m '(cli and qnn)' --junitxml=tests/tests_log4.xml &&
98
+ deactivate"
99
+ '''
100
+ }
101
+ }
102
+ }
103
+ stage(' QNN Non-CLI Tests' ) {
104
+ steps {
105
+ timeout(time : 60 , unit : ' MINUTES' ) {
106
+ sh '''
107
+ sudo docker exec ${BUILD_TAG} bash -c "
108
+ source /qnn_sdk/bin/envsetup.sh &&
109
+ source /qnn_sdk/bin/envcheck -c &&
110
+ cd /efficient-transformers &&
111
+ . preflight_qeff/bin/activate &&
112
+ mkdir -p $PWD/Qnn_non_cli &&
113
+ export TOKENIZERS_PARALLELISM=false &&
114
+ export QEFF_HOME=$PWD/Qnn_non_cli &&
115
+ pytest tests -m '(not cli) and (qnn) and (on_qaic)' --junitxml=tests/tests_log5.xml &&
116
+ junitparser merge tests/tests_log1.xml tests/tests_log2.xml tests/tests_log3.xml tests/tests_log4.xml tests/tests_log5.xml tests/tests_log.xml &&
117
+ deactivate"
118
+ '''
119
+ }
120
+ }
121
+ }
123
122
stage(' vLLM Test' )
124
123
{
125
124
0 commit comments