merrymercy edited a comment 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 an empty `FallbackConfigEntity`. This config will be cached in `FallbackContext`. Caching a empty config does not affect anything. If next time you have a tuned config, it has a higher priority to be selected than the empty config in `FallbackContext`. If next time you still do not have a tuned config, then returning a cached empty config is the same as returning an uncached empty config. ---------------------------------------------------------------- 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