Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MetaSchedule] Support grouping in the cost model #10811

Merged

Conversation

junrushao
Copy link
Member

This PR brings in grouping support in the cost model, where costs are normalized per group instead of globally.

@junrushao
Copy link
Member Author

junrushao commented Mar 29, 2022

CC: @comaniac @spectrometerHBH @zxybazh

@junrushao junrushao force-pushed the feature/2022-03-28/cost-model-grouping branch from a71c03f to 2789e66 Compare March 29, 2022 07:21
@@ -332,7 +330,7 @@ def text_summary(self):
sorted_server = sorted(data["server_info"], key=lambda x: x["key"])
for item in sorted_server:
addr = item["addr"]
res += "%21s " % ":".join(addr)
res += "%21s " % ":".join(map(str, addr))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes a bug introduced by #10641 where tvm.exec.query_rpc_tracker fails where some element in addr is integer

@Hzfengsy Hzfengsy merged commit ce28068 into apache:main Mar 29, 2022
junrushao added a commit to junrushao/tvm that referenced this pull request Mar 29, 2022
pfk-beta pushed a commit to pfk-beta/tvm that referenced this pull request Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants