junrushao1994 commented on code in PR #11157:
URL: https://github.com/apache/tvm/pull/11157#discussion_r861221016
##########
python/tvm/meta_schedule/builder/local_builder.py:
##########
@@ -26,10 +26,14 @@
from tvm.target import Target
from ...contrib.popen_pool import MapResult, PopenPoolExecutor, StatusKind
-from ..utils import cpu_count, derived_object,
get_global_func_with_default_on_worker
+from ..utils import (
+ cpu_count,
+ derived_object,
+ get_global_func_with_default_on_worker,
+)
from .builder import BuilderInput, BuilderResult, PyBuilder
-logger = logging.getLogger(__name__) # pylint: disable=invalid-name
+logger = logging.getLogger("tvm.meta_schedule") # pylint: disable=invalid-name
Review Comment:
revert this change. see:
https://discuss.tvm.apache.org/t/rfc-generic-logger-names-in-python/12611
##########
python/tvm/meta_schedule/cost_model/xgb_model.py:
##########
@@ -41,7 +41,7 @@
from ..tune_context import TuneContext
-logger = logging.getLogger(__name__) # pylint: disable=invalid-name
+logger = logging.getLogger("tvm.meta_schedule") # pylint: disable=invalid-name
Review Comment:
revert this
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]