areusch commented on a change in pull request #5516:
URL: https://github.com/apache/incubator-tvm/pull/5516#discussion_r420379452
##########
File path: tests/python/unittest/test_runtime_rpc.py
##########
@@ -102,6 +102,14 @@ def remote_array_func(y):
fremote(r_cpu)
+def test_rpc_large_array_shrink():
+ server = rpc.Server("localhost")
+ remote = rpc.connect(server.host, server.port)
+ ctx = remote.cpu(0)
+ a = tvm.nd.array(np.ones((5041, 720)).astype('float32'), ctx)
+ b = tvm.nd.array(np.ones((720, 192)).astype('float32'), ctx)
Review comment:
can you add some commentary explaining what assert is being done here?
what are we trying to ensure doesn't happen by running this code? also, does
this test need to run on e.g. an RPI to reproduce?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]