Skip to content

[MetaSchedule] Support grouping in the cost model#10811

Merged
Hzfengsy merged 1 commit intoapache:mainfrom
junrushao:feature/2022-03-28/cost-model-grouping
Mar 29, 2022
Merged

[MetaSchedule] Support grouping in the cost model#10811
Hzfengsy merged 1 commit intoapache:mainfrom
junrushao:feature/2022-03-28/cost-model-grouping

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
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

Comments