You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by tq...@apache.org on 2026/07/05 13:09:57 UTC
(tvm) 02/03: [CI] Limit secondary GPU build to the runtime
This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch tvm-simplify-jenkins-pytest-sharding
in repository https://gitbox.apache.org/repos/asf/tvm.git
commit 653670bd5d3e4e410bc6ba27ea8b5d42ea4bbed5
Author: Tianqi Chen <tq...@users.noreply.github.com>
AuthorDate: Sun Jul 5 12:58:06 2026 +0000
[CI] Limit secondary GPU build to the runtime
Build only the tvm_runtime target for the secondary GPU configuration and drop its unused gpu2 artifact upload.
---
ci/jenkins/generated/gpu_jenkinsfile.groovy | 8 ++------
ci/jenkins/templates/gpu_jenkinsfile.groovy.j2 | 3 +--
2 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/ci/jenkins/generated/gpu_jenkinsfile.groovy b/ci/jenkins/generated/gpu_jenkinsfile.groovy
index 792b7eadc4..8624efbea8 100644
--- a/ci/jenkins/generated/gpu_jenkinsfile.groovy
+++ b/ci/jenkins/generated/gpu_jenkinsfile.groovy
@@ -60,7 +60,7 @@
// 'python3 jenkins/generate.py'
// Note: This timestamp is here to ensure that updates to the Jenkinsfile are
// always rebased on main before merging:
-// Generated at 2026-07-05T01:05:57.780838
+// Generated at 2026-07-05T12:52:04.884879
import org.jenkinsci.plugins.pipeline.modeldefinition.Utils
// These are set at runtime from data in ci/jenkins/docker-images.yml, update
@@ -468,11 +468,7 @@ def run_build(node_type) {
// compiler test
sh "rm -rf build"
sh "${docker_run} --no-gpu ${ci_gpu} ./tests/scripts/task_config_build_gpu_other.sh build"
- cmake_build("${ci_gpu} --no-gpu", 'build')
- sh(
- script: "./${jenkins_scripts_root}/s3.py --action upload --bucket ${s3_bucket} --prefix ${s3_prefix}/gpu2 --bundle tvm_lib",
- label: 'Upload artifacts to S3',
- )
+ sh "${docker_run} --env CI_NUM_EXECUTORS ${ci_gpu} --no-gpu ./tests/scripts/task_build.py --sccache-bucket tvm-sccache-prod --sccache-region us-west-2 --cmake-target tvm_runtime --build-dir build"
})
}
}
diff --git a/ci/jenkins/templates/gpu_jenkinsfile.groovy.j2 b/ci/jenkins/templates/gpu_jenkinsfile.groovy.j2
index 3a13dfe7f3..b05e84c7e7 100644
--- a/ci/jenkins/templates/gpu_jenkinsfile.groovy.j2
+++ b/ci/jenkins/templates/gpu_jenkinsfile.groovy.j2
@@ -32,8 +32,7 @@
// compiler test
sh "rm -rf build"
sh "${docker_run} --no-gpu ${ci_gpu} ./tests/scripts/task_config_build_gpu_other.sh build"
- cmake_build("${ci_gpu} --no-gpu", 'build')
- {{ m.upload_artifacts(tag='gpu2', bundles=["tvm_lib"]) }}
+ sh "${docker_run} --env CI_NUM_EXECUTORS ${ci_gpu} --no-gpu ./tests/scripts/task_build.py --sccache-bucket tvm-sccache-prod --sccache-region us-west-2 --cmake-target tvm_runtime --build-dir build"
{% endcall %}
{% set test_method_names = [] %}