masahi commented on code in PR #12991:
URL: https://github.com/apache/tvm/pull/12991#discussion_r989966088
##########
python/tvm/meta_schedule/relay_integration.py:
##########
@@ -384,8 +391,7 @@ def is_meta_schedule_dispatch_enabled() -> bool:
enabled: bool
Whether the meta schedule is enabled
"""
- result = transform.PassContext.current().config.get(
+ return transform.PassContext.current().config.get(
"relay.backend.use_meta_schedule_dispatch",
- 0,
+ False,
)
- return bool(result & 1)
Review Comment:
Fixes in this file are probably necessary after the MS API PR - without them
I got a compile error and segfault using `compile_relay`. cc @junrushao
--
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]