masahi commented on a change in pull request #7233:
URL: https://github.com/apache/tvm/pull/7233#discussion_r559891739
##########
File path: python/tvm/autotvm/measure/measure_methods.py
##########
@@ -560,9 +561,11 @@ def run_through_rpc(
raise AttributeError(
"Please make sure USE_RANDOM is ON in the config.cmake " "on
the remote devices"
)
- args = [nd.empty(x[0], dtype=x[1], ctx=ctx) for x in
build_result.arg_info]
- for arg in args:
- random_fill(arg)
+ args = [nd.array(np.zeros(x[0], dtype=x[1]), ctx=ctx) for x in
build_result.arg_info]
Review comment:
Here, I look for the task name coming from
https://github.com/apache/tvm/blob/7b1a6ea704c4aa153b8234a92720edd637500def/python/tvm/relay/op/strategy/cuda.py#L787
Since this name is always associated with a tuning task, I don't see this
could be a problem.
----------------------------------------------------------------
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]