FrozenGene commented on issue #4749: [AutoTVM] Support to pass additional 
compiler options
URL: https://github.com/apache/incubator-tvm/pull/4749#issuecomment-582195632
 
 
   > 1. We should not put `options` in `MeasureResult`. It is not the result 
(output). It is input.
   > 2. If you change MeasureInput / MeasureResult, you should also update 
serialization for them in `python/tvm/autotvm/record.py::encode, decode`. You 
should be very careful about the backward-compatibility.
   > 3. If you add `options` to records, why don't you also add `build_func`?
   > 
   > Currently, I think not serializing them is fine. Or we can attach 
`options` into `MeasureInput.task` and serialize them carefully.
   
   Yeah. I agree with you. I think this PR is not one elegant solution for this 
problem. The nicer way is @tqchen 's suggestion, using custom build func. I 
will close this PR. Thanks.

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to