Skip to content

Commit

Permalink
[CI] Run frontend tests for aarch64 in CI (apache#10869)
Browse files Browse the repository at this point in the history
Using `task_python_frontend_cpu.sh` to begin with to match those used
in `ci_cpu` - can add more frontends after this initial set is
functional.
  • Loading branch information
Mousius authored Apr 8, 2022
1 parent 24e2586 commit 1ae2a27
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,29 @@ stage('Test') {
Utils.markStageSkippedForConditional('frontend: CPU')
}
},
'frontend: aarch64': {
if (!skip_ci && is_docs_only_build != 1) {
node('ARM') {
ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/ut-python-arm") {
try {
init_git()
unpack_lib('arm', tvm_multilib)
timeout(time: max_time, unit: 'MINUTES') {
ci_setup(ci_arm)
sh (
script: "${docker_run} ${ci_arm} ./tests/scripts/task_python_frontend_cpu.sh",
label: 'Run Python frontend tests',
)
}
} finally {
junit 'build/pytest-results/*.xml'
}
}
}
} else {
Utils.markStageSkippedForConditional('frontend: aarch64')
}
},
'docs: GPU': {
if (!skip_ci) {
node('TensorCore') {
Expand Down
23 changes: 23 additions & 0 deletions jenkins/Jenkinsfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,29 @@ stage('Test') {
Utils.markStageSkippedForConditional('frontend: CPU')
}
},
'frontend: aarch64': {
if (!skip_ci && is_docs_only_build != 1) {
node('ARM') {
ws("workspace/exec_${env.EXECUTOR_NUMBER}/tvm/ut-python-arm") {
try {
init_git()
unpack_lib('arm', tvm_multilib)
timeout(time: max_time, unit: 'MINUTES') {
ci_setup(ci_arm)
sh (
script: "${docker_run} ${ci_arm} ./tests/scripts/task_python_frontend_cpu.sh",
label: 'Run Python frontend tests',
)
}
} finally {
junit 'build/pytest-results/*.xml'
}
}
}
} else {
Utils.markStageSkippedForConditional('frontend: aarch64')
}
},
'docs: GPU': {
if (!skip_ci) {
node('TensorCore') {
Expand Down

0 comments on commit 1ae2a27

Please sign in to comment.