merrymercy commented on issue #6096:
URL: https://github.com/apache/incubator-tvm/issues/6096#issuecomment-663232365


   @jroesch  Yes, the behavior you mentioned is desired. That is designed by me 
to mimic the behavior of `logging.warning` in python's built-in library. The 
principle is that a warning message should be printed only once.
   
   However, this behavior does not affect performance. Because if you see such 
a warning, it means the returned config is a `None`. The 'None' will be cached 
in `FallbackContext`. Caching a None does not affect anything.
   If next time you have a tuned config, it has a higher priority to be 
selected than the `None` in `FallbackContext`.
   If next time you still do not have a tuned config, then returning a cached 
`None` is the same as returning an uncached `None`


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


Reply via email to