You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ju...@apache.org on 2022/03/06 05:39:58 UTC

[tvm] branch main updated: [CI] Remove `llvm -device=arm_cpu` and `cuda -libs=cudnn` from the default test target list (#10500)

This is an automated email from the ASF dual-hosted git repository.

junrushao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new 96069c1  [CI] Remove `llvm -device=arm_cpu` and `cuda -libs=cudnn` from the default test target list (#10500)
96069c1 is described below

commit 96069c118fd9f1c1a30028e20e43a7346d0b10eb
Author: Masahiro Masuda <ma...@gmail.com>
AuthorDate: Sun Mar 6 14:39:28 2022 +0900

    [CI] Remove `llvm -device=arm_cpu` and `cuda -libs=cudnn` from the default test target list (#10500)
    
    After recent improvement in GPU frontend tests, I found that `topi: GPU` has become a bottleneck. From the log https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/PR-10391/14/pipeline/319, it is clear that topi tests are running on target `llvm -device=arm_cpu` and `cuda -libs=cudnn`, which I claim is completely redundant since we already run on `llvm` and `cuda` targets.
    
    In https://github.com/apache/tvm/pull/9905, I've already removed them from `DEFAULT_TEST_TARGETS`, but `topi: GPU` uses its own list of targets which still includes `llvm -device=arm_cpu` and `cuda -libs=cudnn`. I propose to remove them from topi test targets, which hopefully will cut topi GPU tests time by half.
---
 tests/scripts/task_python_topi.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/scripts/task_python_topi.sh b/tests/scripts/task_python_topi.sh
index 1b2bf21..8389e12 100755
--- a/tests/scripts/task_python_topi.sh
+++ b/tests/scripts/task_python_topi.sh
@@ -21,7 +21,7 @@ set -u
 
 source tests/scripts/setup-pytest-env.sh
 
-export TVM_TEST_TARGETS="llvm; llvm -device=arm_cpu; cuda; cuda -model=unknown -libs=cudnn"
+export TVM_TEST_TARGETS="llvm; cuda"
 
 # to avoid CI thread throttling.
 export TVM_BIND_THREADS=0