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] Generate MetaSchedule Dataset #11641

Merged
merged 2 commits into from
Jun 11, 2022

Conversation

Kathryn-cat
Copy link
Contributor

@Kathryn-cat Kathryn-cat commented Jun 9, 2022

In order to build a dataset for improving the cost model for MetaSchedule, I added several files including importing models to TVM, extracting tuning tasks, and sampling measure candidates. Meanwhile, I exposed some methods in C++ to the Python side to assist the process.
[update] In the file dataset_sample_candidates.py, I manually save tuning records to json files because JsonDatabase is unreasonably slow. I will update it after @junrushao1994 's PR on json parser is merged.

@Kathryn-cat Kathryn-cat force-pushed the metaschedule-cost-model branch from 1d3d55f to 76ee393 Compare June 10, 2022 06:11
@junrushao junrushao force-pushed the metaschedule-cost-model branch from 76ee393 to eaf2c64 Compare June 10, 2022 06:48
In order to build a dataset for improving the cost model for MetaSchedule, I added several files
including importing models to TVM, extracting tuning tasks, and sampling measure candidates.
Meanwhile, I exposed some methods in C++ to the Python side to assist the process.

formatted

formatted

formatted
@Kathryn-cat Kathryn-cat force-pushed the metaschedule-cost-model branch from eabad87 to 489c5ae Compare June 10, 2022 08:34
@Kathryn-cat Kathryn-cat force-pushed the metaschedule-cost-model branch from 1e60951 to 8593918 Compare June 10, 2022 23:25
Copy link
Member

@junrushao junrushao left a comment

Choose a reason for hiding this comment

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

Really great work @Kathryn-cat!!!

@junrushao junrushao merged commit 50c6a98 into apache:main Jun 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