You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by sy...@apache.org on 2024/01/21 15:06:17 UTC
(tvm) branch test_all_cases_on_unity updated (82fe0b2556 -> c7814cc2b6)
This is an automated email from the ASF dual-hosted git repository.
syfeng pushed a change to branch test_all_cases_on_unity
in repository https://gitbox.apache.org/repos/asf/tvm.git
discard 82fe0b2556 fix typo in storage rewrite
discard b0d75ff684 Disable exception testcase
discard 288ad50c22 [Unity][WEB] Temp disable wasm exception
discard aa29f52bf8 fix thread dtype mismatch
discard b92112160f update jenkisfile to enable non-unity tests
discard e30c198ed5 Merge branch 'main' into unity
add 0a3c736591 [Unity][FIX] fix thread dtype mismatch (#16443)
add 61d952c701 [Unity][WEB] Temp disable wasm exception (#16444)
add ccca00a078 [BugFix]Ensure that bf16 arrays are created as expected (#16436)
add 81f8690aaa [TIR] Fix of inter thread reduction with shared memory prefetch (#16406)
add ed5c46aebc [ROCm][WebGPU] Intrin Dispatch: `tanh`, `erf`, `log` (#16441)
new bc46e86190 Merge branch 'main' into unity
new 9e94bca5a3 update jenkisfile to enable non-unity tests
new c7814cc2b6 fix typo in storage rewrite
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (82fe0b2556)
\
N -- N -- N refs/heads/test_all_cases_on_unity (c7814cc2b6)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
python/tvm/autotvm/tuner/droplet_tuner.py | 6 +-
python/tvm/runtime/ndarray.py | 2 +
python/tvm/topi/math.py | 14 +-
src/target/llvm/intrin_rule_rocm.cc | 34 ++--
src/tir/transforms/lower_cross_thread_reduction.cc | 37 +++-
...t_tir_transform_lower_cross_thread_reduction.py | 226 +++++++++++++++++++++
6 files changed, 293 insertions(+), 26 deletions(-)
(tvm) 01/03: Merge branch 'main' into unity
Posted by sy...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
syfeng pushed a commit to branch test_all_cases_on_unity
in repository https://gitbox.apache.org/repos/asf/tvm.git
commit bc46e86190195a0e2fe55f6b567f7e5b4e8c5e0a
Merge: 61d952c701 ed5c46aebc
Author: Siyuan Feng <hz...@sjtu.edu.cn>
AuthorDate: Sun Jan 21 23:05:05 2024 +0800
Merge branch 'main' into unity
python/tvm/autotvm/tuner/droplet_tuner.py | 6 +-
python/tvm/runtime/ndarray.py | 2 +
python/tvm/topi/math.py | 14 +-
src/runtime/memory/memory_manager.cc | 8 +
src/target/intrin_rule.cc | 18 ++
src/target/intrin_rule.h | 3 +
src/target/llvm/intrin_rule_llvm.cc | 25 +--
src/target/llvm/intrin_rule_rocm.cc | 34 ++--
src/target/source/intrin_rule_metal.cc | 2 +-
src/target/source/intrin_rule_webgpu.cc | 2 +-
src/tir/transforms/lower_cross_thread_reduction.cc | 37 +++-
...t_tir_transform_lower_cross_thread_reduction.py | 226 +++++++++++++++++++++
12 files changed, 330 insertions(+), 47 deletions(-)
(tvm) 03/03: fix typo in storage rewrite
Posted by sy...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
syfeng pushed a commit to branch test_all_cases_on_unity
in repository https://gitbox.apache.org/repos/asf/tvm.git
commit c7814cc2b680d642cfbd662016e00182882f77c2
Author: Siyuan Feng <hz...@sjtu.edu.cn>
AuthorDate: Sun Jan 21 22:56:37 2024 +0800
fix typo in storage rewrite
---
src/tir/transforms/storage_rewrite.cc | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/tir/transforms/storage_rewrite.cc b/src/tir/transforms/storage_rewrite.cc
index 7f48a53708..6875523a95 100644
--- a/src/tir/transforms/storage_rewrite.cc
+++ b/src/tir/transforms/storage_rewrite.cc
@@ -1710,8 +1710,11 @@ Pass StorageRewrite() {
if (target.defined() && target->kind->name == "vulkan") {
merge_static_smem = false;
}
+ // Only enable reuse when we are not merging static shared memory.
+ // Otherwise we will do it in a separate stage
+ bool enable_reuse = merge_static_smem ? false : true;
auto* n = f.CopyOnWrite();
- n->body = StoragePlanRewriter().Rewrite(std::move(n->body), true, merge_static_smem);
+ n->body = StoragePlanRewriter().Rewrite(std::move(n->body), true, enable_reuse);
// Parameters may not be rewritten, but internal allocations may.
// Vectorization of AllocateConst is currently disabled, as it has
// indexing issues for types that include padding (e.g. int8x3
(tvm) 02/03: update jenkisfile to enable non-unity tests
Posted by sy...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
syfeng pushed a commit to branch test_all_cases_on_unity
in repository https://gitbox.apache.org/repos/asf/tvm.git
commit 9e94bca5a3f404eb4c5284e193d9c1d795125081
Author: Siyuan Feng <hz...@sjtu.edu.cn>
AuthorDate: Wed Jan 17 14:14:43 2024 +0800
update jenkisfile to enable non-unity tests
---
ci/jenkins/generated/arm_jenkinsfile.groovy | 5 -----
ci/jenkins/generated/cortexm_jenkinsfile.groovy | 5 -----
ci/jenkins/generated/cpu_jenkinsfile.groovy | 5 -----
ci/jenkins/generated/docker_jenkinsfile.groovy | 5 -----
ci/jenkins/generated/gpu_jenkinsfile.groovy | 11 +++--------
ci/jenkins/generated/hexagon_jenkinsfile.groovy | 5 -----
ci/jenkins/generated/i386_jenkinsfile.groovy | 5 -----
ci/jenkins/generated/lint_jenkinsfile.groovy | 5 -----
ci/jenkins/generated/minimal_cross_isa_jenkinsfile.groovy | 5 -----
ci/jenkins/generated/minimal_jenkinsfile.groovy | 5 -----
ci/jenkins/generated/riscv_jenkinsfile.groovy | 5 -----
ci/jenkins/generated/wasm_jenkinsfile.groovy | 5 -----
12 files changed, 3 insertions(+), 63 deletions(-)
diff --git a/ci/jenkins/generated/arm_jenkinsfile.groovy b/ci/jenkins/generated/arm_jenkinsfile.groovy
index 919b39e402..80b2e59a81 100644
--- a/ci/jenkins/generated/arm_jenkinsfile.groovy
+++ b/ci/jenkins/generated/arm_jenkinsfile.groovy
@@ -54,11 +54,6 @@
// - Periodically cleanup the old versions on local workers
//
-// unity: Skip less relevant tests
-// to reduce ci time and resource cost
-// (DO NOT UPSTREAM TO MAIN)
-return
-
// ============================= IMPORTANT NOTE =============================
// This file is generated by 'jenkins/generate.py'. Do not edit this file directly!
// Make edits to 'jenkins/Jenkinsfile.j2' and regenerate this with
diff --git a/ci/jenkins/generated/cortexm_jenkinsfile.groovy b/ci/jenkins/generated/cortexm_jenkinsfile.groovy
index c195f0b0e7..c7b4527230 100644
--- a/ci/jenkins/generated/cortexm_jenkinsfile.groovy
+++ b/ci/jenkins/generated/cortexm_jenkinsfile.groovy
@@ -54,11 +54,6 @@
// - Periodically cleanup the old versions on local workers
//
-// unity: Skip less relevant tests
-// to reduce ci time and resource cost
-// (DO NOT UPSTREAM TO MAIN)
-return
-
// ============================= IMPORTANT NOTE =============================
// This file is generated by 'jenkins/generate.py'. Do not edit this file directly!
// Make edits to 'jenkins/Jenkinsfile.j2' and regenerate this with
diff --git a/ci/jenkins/generated/cpu_jenkinsfile.groovy b/ci/jenkins/generated/cpu_jenkinsfile.groovy
index 7010d60191..f26a69109f 100644
--- a/ci/jenkins/generated/cpu_jenkinsfile.groovy
+++ b/ci/jenkins/generated/cpu_jenkinsfile.groovy
@@ -54,11 +54,6 @@
// - Periodically cleanup the old versions on local workers
//
-// unity: Skip less relevant tests
-// to reduce ci time and resource cost
-// (DO NOT UPSTREAM TO MAIN)
-return
-
// ============================= IMPORTANT NOTE =============================
// This file is generated by 'jenkins/generate.py'. Do not edit this file directly!
// Make edits to 'jenkins/Jenkinsfile.j2' and regenerate this with
diff --git a/ci/jenkins/generated/docker_jenkinsfile.groovy b/ci/jenkins/generated/docker_jenkinsfile.groovy
index 091751bfb0..2aa6a17362 100644
--- a/ci/jenkins/generated/docker_jenkinsfile.groovy
+++ b/ci/jenkins/generated/docker_jenkinsfile.groovy
@@ -54,11 +54,6 @@
// - Periodically cleanup the old versions on local workers
//
-// unity: Skip less relevant tests
-// to reduce ci time and resource cost
-// (DO NOT UPSTREAM TO MAIN)
-return
-
// ============================= IMPORTANT NOTE =============================
// This file is generated by 'jenkins/generate.py'. Do not edit this file directly!
// Make edits to 'jenkins/Jenkinsfile.j2' and regenerate this with
diff --git a/ci/jenkins/generated/gpu_jenkinsfile.groovy b/ci/jenkins/generated/gpu_jenkinsfile.groovy
index 32fbeab3ba..7454bb0d90 100644
--- a/ci/jenkins/generated/gpu_jenkinsfile.groovy
+++ b/ci/jenkins/generated/gpu_jenkinsfile.groovy
@@ -54,11 +54,6 @@
// - Periodically cleanup the old versions on local workers
//
-// unity: Skip less relevant tests
-// to reduce ci time and resource cost
-// (DO NOT UPSTREAM TO MAIN)
-return
-
// ============================= IMPORTANT NOTE =============================
// This file is generated by 'jenkins/generate.py'. Do not edit this file directly!
// Make edits to 'jenkins/Jenkinsfile.j2' and regenerate this with
@@ -565,7 +560,7 @@ def build(node_type) {
cmake_build("${ci_gpu} --no-gpu", 'build', '-j2')
make_standalone_crt("${ci_gpu} --no-gpu", 'build')
sh(
- script: "./${jenkins_scripts_root}/s3.py --action upload --bucket ${s3_bucket} --prefix ${s3_prefix}/gpu --items build/libtvm.so build/libvta_fsim.so build/libtvm_runtime.so build/config.cmake build/libtvm_allvisible.so build/microtvm_template_projects build/crttest build/standalone_crt build/build.ninja",
+ script: "./${jenkins_scripts_root}/s3.py --action upload --bucket ${s3_bucket} --prefix ${s3_prefix}/gpu --items build/libtvm.so build/libvta_fsim.so build/libtvm_runtime.so build/config.cmake build/libtvm_allvisible.so build/microtvm_template_projects build/crttest build/standalone_crt build/build.ninja build/3rdparty/libflash_attn/src/libflash_attn.so build/3rdparty/cutlass_fpA_intB_gemm/cutlass_kernels/libfpA_intB_gemm.so",
label: 'Upload artifacts to S3',
)
@@ -576,7 +571,7 @@ def build(node_type) {
cmake_build("${ci_gpu} --no-gpu", 'build', '-j2')
make_standalone_crt("${ci_gpu} --no-gpu", 'build')
sh(
- script: "./${jenkins_scripts_root}/s3.py --action upload --bucket ${s3_bucket} --prefix ${s3_prefix}/gpu2 --items build/libtvm.so build/libtvm_runtime.so build/config.cmake build/crttest build/standalone_crt build/build.ninja",
+ script: "./${jenkins_scripts_root}/s3.py --action upload --bucket ${s3_bucket} --prefix ${s3_prefix}/gpu2 --items build/libtvm.so build/libtvm_runtime.so build/config.cmake build/crttest build/standalone_crt build/build.ninja build/3rdparty/libflash_attn/src/libflash_attn.so build/3rdparty/cutlass_fpA_intB_gemm/cutlass_kernels/libfpA_intB_gemm.so",
label: 'Upload artifacts to S3',
)
})
@@ -589,7 +584,7 @@ def build(node_type) {
}
}
try {
- build('CPU-SMALL-SPOT')
+ build('CPU')
} catch (Exception ex) {
build('CPU-SMALL')
}
diff --git a/ci/jenkins/generated/hexagon_jenkinsfile.groovy b/ci/jenkins/generated/hexagon_jenkinsfile.groovy
index c86389d1bd..e63f6fb14b 100644
--- a/ci/jenkins/generated/hexagon_jenkinsfile.groovy
+++ b/ci/jenkins/generated/hexagon_jenkinsfile.groovy
@@ -54,11 +54,6 @@
// - Periodically cleanup the old versions on local workers
//
-// unity: Skip less relevant tests
-// to reduce ci time and resource cost
-// (DO NOT UPSTREAM TO MAIN)
-return
-
// ============================= IMPORTANT NOTE =============================
// This file is generated by 'jenkins/generate.py'. Do not edit this file directly!
// Make edits to 'jenkins/Jenkinsfile.j2' and regenerate this with
diff --git a/ci/jenkins/generated/i386_jenkinsfile.groovy b/ci/jenkins/generated/i386_jenkinsfile.groovy
index 4afc8fb64f..c6eeba1861 100644
--- a/ci/jenkins/generated/i386_jenkinsfile.groovy
+++ b/ci/jenkins/generated/i386_jenkinsfile.groovy
@@ -54,11 +54,6 @@
// - Periodically cleanup the old versions on local workers
//
-// unity: Skip less relevant tests
-// to reduce ci time and resource cost
-// (DO NOT UPSTREAM TO MAIN)
-return
-
// ============================= IMPORTANT NOTE =============================
// This file is generated by 'jenkins/generate.py'. Do not edit this file directly!
// Make edits to 'jenkins/Jenkinsfile.j2' and regenerate this with
diff --git a/ci/jenkins/generated/lint_jenkinsfile.groovy b/ci/jenkins/generated/lint_jenkinsfile.groovy
index 88bec7fc4c..64cda41994 100644
--- a/ci/jenkins/generated/lint_jenkinsfile.groovy
+++ b/ci/jenkins/generated/lint_jenkinsfile.groovy
@@ -54,11 +54,6 @@
// - Periodically cleanup the old versions on local workers
//
-// unity: Skip less relevant tests
-// to reduce ci time and resource cost
-// (DO NOT UPSTREAM TO MAIN)
-return
-
// ============================= IMPORTANT NOTE =============================
// This file is generated by 'jenkins/generate.py'. Do not edit this file directly!
// Make edits to 'jenkins/Jenkinsfile.j2' and regenerate this with
diff --git a/ci/jenkins/generated/minimal_cross_isa_jenkinsfile.groovy b/ci/jenkins/generated/minimal_cross_isa_jenkinsfile.groovy
index f26eaace67..6a878b21ee 100644
--- a/ci/jenkins/generated/minimal_cross_isa_jenkinsfile.groovy
+++ b/ci/jenkins/generated/minimal_cross_isa_jenkinsfile.groovy
@@ -54,11 +54,6 @@
// - Periodically cleanup the old versions on local workers
//
-// unity: Skip less relevant tests
-// to reduce ci time and resource cost
-// (DO NOT UPSTREAM TO MAIN)
-return
-
// ============================= IMPORTANT NOTE =============================
// This file is generated by 'jenkins/generate.py'. Do not edit this file directly!
// Make edits to 'jenkins/Jenkinsfile.j2' and regenerate this with
diff --git a/ci/jenkins/generated/minimal_jenkinsfile.groovy b/ci/jenkins/generated/minimal_jenkinsfile.groovy
index 89e6a0c59e..cdca556bd0 100644
--- a/ci/jenkins/generated/minimal_jenkinsfile.groovy
+++ b/ci/jenkins/generated/minimal_jenkinsfile.groovy
@@ -54,11 +54,6 @@
// - Periodically cleanup the old versions on local workers
//
-// unity: Skip less relevant tests
-// to reduce ci time and resource cost
-// (DO NOT UPSTREAM TO MAIN)
-return
-
// ============================= IMPORTANT NOTE =============================
// This file is generated by 'jenkins/generate.py'. Do not edit this file directly!
// Make edits to 'jenkins/Jenkinsfile.j2' and regenerate this with
diff --git a/ci/jenkins/generated/riscv_jenkinsfile.groovy b/ci/jenkins/generated/riscv_jenkinsfile.groovy
index fce33f230e..d378a7a599 100644
--- a/ci/jenkins/generated/riscv_jenkinsfile.groovy
+++ b/ci/jenkins/generated/riscv_jenkinsfile.groovy
@@ -54,11 +54,6 @@
// - Periodically cleanup the old versions on local workers
//
-// unity: Skip less relevant tests
-// to reduce ci time and resource cost
-// (DO NOT UPSTREAM TO MAIN)
-return
-
// ============================= IMPORTANT NOTE =============================
// This file is generated by 'jenkins/generate.py'. Do not edit this file directly!
// Make edits to 'jenkins/Jenkinsfile.j2' and regenerate this with
diff --git a/ci/jenkins/generated/wasm_jenkinsfile.groovy b/ci/jenkins/generated/wasm_jenkinsfile.groovy
index e47fdd4cd5..1dea6599d0 100644
--- a/ci/jenkins/generated/wasm_jenkinsfile.groovy
+++ b/ci/jenkins/generated/wasm_jenkinsfile.groovy
@@ -54,11 +54,6 @@
// - Periodically cleanup the old versions on local workers
//
-// unity: Skip less relevant tests
-// to reduce ci time and resource cost
-// (DO NOT UPSTREAM TO MAIN)
-return
-
// ============================= IMPORTANT NOTE =============================
// This file is generated by 'jenkins/generate.py'. Do not edit this file directly!
// Make edits to 'jenkins/Jenkinsfile.j2' and regenerate this with