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 2021/01/08 23:49:29 UTC

[GitHub] [tvm] merrymercy edited a comment on pull request #7175: [AutoTVM-FIX] avoid unexpected value(1) of search space when get length for uninitiated search space

merrymercy edited a comment on pull request #7175:
URL: https://github.com/apache/tvm/pull/7175#issuecomment-757051844


   This PR broke the layout_transform template used in graph tuner.
   https://github.com/apache/tvm/blob/54c995dbf7c96c1184c2baf64de87bc9566fe33a/python/tvm/autotvm/graph_tuner/base_graph_tuner.py#L54-L62
   
   I want to revert this PR. By design, the search space should have at least a length of 1. A template without any tunable knob is also valid and contains a valid schedule. The behavior of `np.prod` is what we want.
   


----------------------------------------------------------------
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:
users@infra.apache.org