You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/09/14 21:03:13 UTC

[GitHub] [tvm] nverke opened a new pull request, #12783: [Hexagon] Reduce the number of tests run for VTCM testing in order to…

nverke opened a new pull request, #12783:
URL: https://github.com/apache/tvm/pull/12783

   … speedup CI.
   
   Thanks for contributing to TVM!   Please refer to guideline https://tvm.apache.org/docs/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from [Reviewers](https://github.com/apache/incubator-tvm/blob/master/CONTRIBUTORS.md#reviewers) by @ them in the pull request thread.
   
   @driazati 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] driazati commented on a diff in pull request #12783: [Hexagon] Reduce the number of tests run for VTCM testing in order to…

Posted by GitBox <gi...@apache.org>.
driazati commented on code in PR #12783:
URL: https://github.com/apache/tvm/pull/12783#discussion_r971305506


##########
tests/python/contrib/test_hexagon/test_parallel_hvx_load_vtcm.py:
##########
@@ -308,7 +308,12 @@ def setup_and_run(hexagon_session, sch, a, b, c, operations, mem_scope="global")
     a_hexagon = tvm.runtime.ndarray.array(a, device=hexagon_session.device, mem_scope=mem_scope)
     b_hexagon = tvm.runtime.ndarray.array(b, device=hexagon_session.device, mem_scope=mem_scope)
     c_hexagon = tvm.runtime.ndarray.array(c, device=hexagon_session.device, mem_scope=mem_scope)
-    timer = module.time_evaluator("__tvm_main__", hexagon_session.device, number=100, repeat=10)
+
+    # These are reduced for CI but number=100 and repeat=10 does a good job of removing noise. 
+    number = 1 

Review Comment:
   you could also condition these so they're reduced only in CI (`tvm.testing.utils.IS_IN_CI` is a flag thats only `True` when CI runs the tests)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] driazati merged pull request #12783: [Hexagon] Reduce the number of tests run for VTCM testing in order to…

Posted by GitBox <gi...@apache.org>.
driazati merged PR #12783:
URL: https://github.com/apache/tvm/pull/12783


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] nverke commented on a diff in pull request #12783: [Hexagon] Reduce the number of tests run for VTCM testing in order to…

Posted by GitBox <gi...@apache.org>.
nverke commented on code in PR #12783:
URL: https://github.com/apache/tvm/pull/12783#discussion_r974479650


##########
tests/python/contrib/test_hexagon/test_parallel_hvx_load_vtcm.py:
##########
@@ -308,7 +308,12 @@ def setup_and_run(hexagon_session, sch, a, b, c, operations, mem_scope="global")
     a_hexagon = tvm.runtime.ndarray.array(a, device=hexagon_session.device, mem_scope=mem_scope)
     b_hexagon = tvm.runtime.ndarray.array(b, device=hexagon_session.device, mem_scope=mem_scope)
     c_hexagon = tvm.runtime.ndarray.array(c, device=hexagon_session.device, mem_scope=mem_scope)
-    timer = module.time_evaluator("__tvm_main__", hexagon_session.device, number=100, repeat=10)
+
+    # These are reduced for CI but number=100 and repeat=10 does a good job of removing noise. 
+    number = 1 

Review Comment:
   Ooooh I will use this from now on thats super useful! 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org