tvm icon indicating copy to clipboard operation
tvm copied to clipboard

[Release] v0.12.0 release schedule

Open ysh329 opened this issue 3 years ago • 34 comments

Although v0.11.0 released on Feb 25 and a relative bugfix minor version v0.11.1 released last month, relative PRs are all the last year November. This is unhealthy for our RFC-0067 about quarter-based releases, especially for AI infra companies which needs regularly merge with release version.

Consider v0.11.0 features are from last year Nov and quarter-based releases, I hope at the end of this month we can make a release version.

In order to continue with our agreed release cycle as per discussion in RFC#67 , I'd like to propose a schedule for our next TVM release: v0.12.0.

This schedule is tentative and may change as we progress through the process. In case dates change, this thread will be kept updated.

The proposed schedule is:

  • [x] ~~7~~ 9 Apr 2023 - a branch v0.12.0 to be created from main
    • Done in https://github.com/apache/tvm/tree/v0.12.0
  • [x] ~~7~~ 10 Apr 2023 - a tag v0.13.dev0 to be created, marking the beginning of the next development cycle
    • v0.13.0 points to https://github.com/apache/tvm/commit/15f9be5449a1a351b65f327a3a5e2aaf578a7161
    • Done in https://github.com/apache/tvm/releases/tag/v0.13.dev0
  • [x] 13 Apr 2023 - cherry-picking soft deadline
    • during this time any reasonable change can be merged, comment on this issue with the commit you would like added to the release branch
  • [x] 18 Apr 2023 - cherry-picking hard deadline
    • during this time only critical changes will be merged, comment on this issue with the commit you would like added to the release branch as well as the reasoning for adding it
  • [x] ~~22~~ 18 Apr 2023 - Draft release notes published https://github.com/apache/tvm/issues/14645
  • [x] ~~25 Apr 2023~~ 5 May 2023 - release voting opens, #14710
  • [x] ~28 Apr~ 17 May 2023, ~delaying until mid May...~ - release date

Call for release managers: in case you want to be involved in upcoming releases, please manifest your interest in this thread and we'll try to organise.

See also:

cc @apache/tvm-committers @driazati @areusch @Mousius @tqchen @AndrewZhaoLuo

ysh329 avatar Apr 05 '23 07:04 ysh329

Thanks @ysh329 Happy to see volunteers for the quarterly. Please fix the following issue of the post

a tag v0.12.dev0 to be created, marking the beginning of the next development cycle

typo, should be v0.13.dev0

Note: for this specific release, given we'll have the end of the year period, I've extended the cherry-picking hard deadline in ~3 days, so that we some more time to consider patches to be included.

remove it

Hzfengsy avatar Apr 06 '23 02:04 Hzfengsy

Thanks @ysh329 Happy to see volunteers for the quarterly. Please fix the following issue of the post

a tag v0.12.dev0 to be created, marking the beginning of the next development cycle

typo, should be v0.13.dev0

Note: for this specific release, given we'll have the end of the year period, I've extended the cherry-picking hard deadline in ~3 days, so that we some more time to consider patches to be included.

remove it

Fixed. Thanks your reply.

ysh329 avatar Apr 06 '23 02:04 ysh329

@ysh329 Thanks for bring this up, upgrade with official timely is good for the downstream companies, especially for companies like ARM China whose customers want to use the newest release version timely.

Thanks for excellent work of TVM community, ARM China built our heterogeneous execution product based on TVM, and learned a lot from community, so this quarter we will pay some time to help release the v0.12.0, @ysh329 is our team member, we will try our best to complete this release in Apr, so the downstream have more time to upgrade and resolve conflicts.

@tqchen @junrushao @AndrewZhaoLuo Please help to check if we release v0.12.0 at this time is ok? Thanks.

Johnson9009 avatar Apr 06 '23 03:04 Johnson9009

the timeline looks good to me, we do need someone to serve as release manager.

areusch avatar Apr 07 '23 19:04 areusch

Happy to help with some of the branch cutting works, Thanks @ysh329 for volunteering, would you be able to help release note drafting?

tqchen avatar Apr 07 '23 19:04 tqchen

Happy to help with some of the branch cutting works, Thanks @ysh329 for volunteering, would you be able to help release note drafting?

My pleasure. I'm recently preparing release note drafting. 😆

Please help create branch named v0.12.0 from main and v0.13.dev0 tag. @tqchen @Hzfengsy @junrushao

ysh329 avatar Apr 08 '23 00:04 ysh329

I helped create the v0.12.0 branch and will set the tag after the next commit merges. Could you please also send a PR to update the dev version like the commit https://github.com/apache/tvm/pull/14241

Hzfengsy avatar Apr 09 '23 12:04 Hzfengsy

I helped create the v0.12.0 branch and will set the tag after the next commit merges. Could you please also send a PR to update the dev version like the commit #14241

Fixed. Please see https://github.com/apache/tvm/pull/14544.

ysh329 avatar Apr 09 '23 12:04 ysh329

Hi @ysh329, I am quite interested in being the release manager for this project. Do you have any requirements for it? And how can I get in touch with you or the team? Thanks!

xingyu-long avatar Apr 10 '23 05:04 xingyu-long

@ysh329 tag v0.13dev0 created

Hzfengsy avatar Apr 10 '23 05:04 Hzfengsy

Hi @ysh329, I am quite interested in being the release manager for this project. Do you have any requirements for it? And how can I get in touch with you or the team? Thanks!

Thanks for your attention. We are already in the process of this release. Please feel free to raise your questions about release in this issue.

ysh329 avatar Apr 10 '23 07:04 ysh329

https://github.com/apache/tvm/pull/14571 needs to be cherry picked cc @Lunderberg

tqchen avatar Apr 10 '23 23:04 tqchen

Hi @driazati I'm recently prepraing the release note, but I met a problem after create csv files. My step is following readme, it mentions below:

You can then import this CSV into a collaborative spreadsheet editor to distribute the work of categorizing PRs for the notes. Once done, you can download the resulting CSV and convert it to readable release notes.

However, after csv files generated and make each row own its category by handed, but I'm confused about:

I met error when executing python3 ./make_notes.py --notes-csv out-large.csv:

{'oid': '8e9216013ced6b9655359a696a5bb1bf68fdd638', 'committedDate': '2023-04-08T12:48:48Z', 'associatedPullRequests': {'nodes': [{'number': 14533, 'additions': 2, 'changedFiles': 1, 'de
letions': 1, 'author': {'login': 'shtinsa'}, 'title': '[hexagon] Hexagon inference fix', 'body': '1. Resolves issue with kernels linking.\r\n2. Fixes warning generated by clang-15.'}]}}
Opening CSV                                                                                                                                                                               
Traceback (most recent call last):
  File "/home/ysh329/code/tvm/tests/scripts/release/make_notes.py", line 92, in <module>
    category = row["category"].strip()
KeyError: 'category'

What does the excepted categoried csv file look like before executing make_notes.py? It seems csv file generated by gather_prs.py which is not compatible with make_note.py.

Can u give me some suggestions?

ysh329 avatar Apr 16 '23 04:04 ysh329

Hi @driazati I'm recently prepraing the release note, but I met a problem after create csv files. My step is following readme, it mentions below:

You can then import this CSV into a collaborative spreadsheet editor to distribute the work of categorizing PRs for the notes. Once done, you can download the resulting CSV and convert it to readable release notes.

However, after csv files generated and make each row own its category by handed, but I'm confused about:

I met error when executing python3 ./make_notes.py --notes-csv out-large.csv:

{'oid': '8e9216013ced6b9655359a696a5bb1bf68fdd638', 'committedDate': '2023-04-08T12:48:48Z', 'associatedPullRequests': {'nodes': [{'number': 14533, 'additions': 2, 'changedFiles': 1, 'de
letions': 1, 'author': {'login': 'shtinsa'}, 'title': '[hexagon] Hexagon inference fix', 'body': '1. Resolves issue with kernels linking.\r\n2. Fixes warning generated by clang-15.'}]}}
Opening CSV                                                                                                                                                                               
Traceback (most recent call last):
  File "/home/ysh329/code/tvm/tests/scripts/release/make_notes.py", line 92, in <module>
    category = row["category"].strip()
KeyError: 'category'

What does the excepted categoried csv file look like before executing make_notes.py? It seems csv file generated by gather_prs.py which is not compatible with make_note.py.

Can u give me some suggestions?

Hey, those scripts are mostly just a guideline, we haven't really devoted support to making it a polished pipeline for generating release notes. For those to work there is a manual step of categorizing each PR listed from gather_prs.py into a CSV with the headers referenced in make_notes.py, so that's why they don't hook straight up to each other. I've attached a sample of the list of categorized PRs used in v0.9.0 for reference: Release Notes v0.9.0 - PRs with _ 150 lines changed.csv.

Either way the scripts aren't strictly necessary, you can always make the release notes manually if that ends up easier.

driazati avatar Apr 17 '23 06:04 driazati

Hi @driazati I'm recently prepraing the release note, but I met a problem after create csv files. My step is following readme, it mentions below:

You can then import this CSV into a collaborative spreadsheet editor to distribute the work of categorizing PRs for the notes. Once done, you can download the resulting CSV and convert it to readable release notes.

However, after csv files generated and make each row own its category by handed, but I'm confused about: I met error when executing python3 ./make_notes.py --notes-csv out-large.csv:

{'oid': '8e9216013ced6b9655359a696a5bb1bf68fdd638', 'committedDate': '2023-04-08T12:48:48Z', 'associatedPullRequests': {'nodes': [{'number': 14533, 'additions': 2, 'changedFiles': 1, 'de
letions': 1, 'author': {'login': 'shtinsa'}, 'title': '[hexagon] Hexagon inference fix', 'body': '1. Resolves issue with kernels linking.\r\n2. Fixes warning generated by clang-15.'}]}}
Opening CSV                                                                                                                                                                               
Traceback (most recent call last):
  File "/home/ysh329/code/tvm/tests/scripts/release/make_notes.py", line 92, in <module>
    category = row["category"].strip()
KeyError: 'category'

What does the excepted categoried csv file look like before executing make_notes.py? It seems csv file generated by gather_prs.py which is not compatible with make_note.py. Can u give me some suggestions?

Hey, those scripts are mostly just a guideline, we haven't really devoted support to making it a polished pipeline for generating release notes. For those to work there is a manual step of categorizing each PR listed from gather_prs.py into a CSV with the headers referenced in make_notes.py, so that's why they don't hook straight up to each other. I've attached a sample of the list of categorized PRs used in v0.9.0 for reference: Release Notes v0.9.0 - PRs with _ 150 lines changed.csv.

Either way the scripts aren't strictly necessary, you can always make the release notes manually if that ends up easier.

Thanks your reply. Lean a lot from your PRs.

ysh329 avatar Apr 17 '23 06:04 ysh329

#14571 needs to be cherry picked cc @Lunderberg

Please check whether this PR has been cherry picked to branch v0.12.0. @Lunderberg @tqchen @junrushao

ysh329 avatar Apr 18 '23 14:04 ysh329

#14571 needs to be cherry picked cc @Lunderberg

Please check whether this PR has been cherry picked to branch v0.12.0. @Lunderberg @tqchen @junrushao

Cherry-picked https://github.com/apache/tvm/pull/14709 cc @junrushao

ysh329 avatar Apr 22 '23 15:04 ysh329

After cherry-picked PRs merged to branch v0.12.0, we need :

  1. Create a tag named v0.12.0.rc0 on latest commit on branch v0.12.0, and create a release page based on this tag. Need help;
  2. Upload a zip file to ASF SVN on this address (same as https://github.com/apache/tvm/issues/14129): https://dist.apache.org/repos/dist/dev/tvm/tvm-v0.12.0-rc0/. However, this progress needs ASF account. Need help;
  3. Create a VOTE named: [VOTE] Release Apache TVM v0.12.0.rc0. https://github.com/apache/tvm/issues/14710

cc @junrushao @Hzfengsy @tqchen

ysh329 avatar Apr 23 '23 03:04 ysh329

@ysh329 After cherry-picked PRs, the version of TVM need to be updated to "v0.12.0", like what we discussed at https://github.com/apache/tvm/issues/14260, thanks.

Johnson9009 avatar Apr 24 '23 03:04 Johnson9009

@ysh329 After cherry-picked PRs, the version of TVM need to be updated to "v0.12.0", like what we discussed at #14260, thanks.

The version was updated, see below.

I helped create the v0.12.0 branch and will set the tag after the next commit merges. Could you please also send a PR to update the dev version like the commit #14241

Fixed. Please see #14544.

ysh329 avatar Apr 24 '23 04:04 ysh329