You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by mo...@apache.org on 2022/04/01 10:23:45 UTC
[tvm] 01/01: [CI] Run frontend tests for aarch64 in CI
This is an automated email from the ASF dual-hosted git repository.
mousius pushed a commit to branch aarch64-frontend-tests
in repository https://gitbox.apache.org/repos/asf/tvm.git
commit 14b9d5783ceabb41b738e48adb2bdb519d9f6264
Author: Chris Sidebottom <ch...@arm.com>
AuthorDate: Thu Mar 31 12:26:51 2022 +0100
[CI] Run frontend tests for aarch64 in CI
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.
---
Jenkinsfile | 25 ++++++++++++++++++++++++-
jenkins/Jenkinsfile.j2 | 25 ++++++++++++++++++++++++-
2 files changed, 48 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index fdcaa63..a35292c 100755
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -52,7 +52,7 @@ ci_cpu = 'tlcpack/ci-cpu:v0.82'
ci_wasm = 'tlcpack/ci-wasm:v0.72'
ci_i386 = 'tlcpack/ci-i386:v0.75'
ci_qemu = 'tlcpack/ci-qemu:v0.12'
-ci_arm = 'tlcpack/ci-arm:v0.08'
+ci_arm = 'tlcpackstaging/ci_arm:20220401-055956-95df0eb14'
ci_hexagon = 'tlcpack/ci-hexagon:v0.02'
// <--- End of regex-scanned config.
@@ -847,6 +847,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') {
diff --git a/jenkins/Jenkinsfile.j2 b/jenkins/Jenkinsfile.j2
index 688552e..a84783f 100644
--- a/jenkins/Jenkinsfile.j2
+++ b/jenkins/Jenkinsfile.j2
@@ -54,7 +54,7 @@ ci_cpu = 'tlcpack/ci-cpu:v0.82'
ci_wasm = 'tlcpack/ci-wasm:v0.72'
ci_i386 = 'tlcpack/ci-i386:v0.75'
ci_qemu = 'tlcpack/ci-qemu:v0.12'
-ci_arm = 'tlcpack/ci-arm:v0.08'
+ci_arm = 'tlcpackstaging/ci_arm:20220401-055956-95df0eb14'
ci_hexagon = 'tlcpack/ci-hexagon:v0.02'
// <--- End of regex-scanned config.
@@ -844,6 +844,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') {