comaniac commented on a change in pull request #6391:
URL: https://github.com/apache/incubator-tvm/pull/6391#discussion_r483737527
##########
File path: python/tvm/auto_scheduler/measure.py
##########
@@ -697,7 +696,7 @@ def timed_func():
args = [ndarray.empty(get_const_tuple(x.shape), x.dtype, ctx)
for x in
build_res.args]
assert tvm.get_global_func("tvm.contrib.random.random_fill",
True), \
- "Do you enable USE_RANDOM in the config.cmake?"
+ "Please make sure USE_RANDOM is ON in the config.cmake"
random_fill =
remote.get_function("tvm.contrib.random.random_fill")
Review comment:
Here still calls twice.
##########
File path: python/tvm/autotvm/measure/measure_methods.py
##########
@@ -512,7 +512,7 @@ def run_through_rpc(measure_input, build_result,
args = [nd.array(x, ctx=ctx) for x in ref_input]
else:
assert tvm.get_global_func("tvm.contrib.random.random_fill",
True), \
- "Do you enable USE_RANDOM in the config.cmake?"
+ "Please make sure USE_RANDOM is ON in the config.cmake"
random_fill = remote.get_function("tvm.contrib.random.random_fill")
Review comment:
ditto.
----------------------------------------------------------------
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]