pytorch/scripts/release_notes
Driss Guessous dcafe3f271 Updates to the release notes scripts and documentation (#94560)
# Summary
This PR made some significant changes to the scripts around Release Scripts. At a high level:
- Turned the quips into docs and updated links
- Update the common.categorizes list in the hopes to make this the source of truth for releases- This is hard since the release_notes labels can be changed at will. An alternative would be to poll from github api. However, I think that is overkill. The notebook does a set compare and will show you knew categories. I think we want this to be manual so that the release note engineer will decided how to categorize.
- Create cateogry group from speaking with folks on distributed and AO that told me these different release categories can be merged.
- I am the newest person to Core and don't use ghstack soo made token getting a lil more generic.
- Added a classifier.py file. This file will train a commit categorizer for you, hopefully with decent accuracy. I was able to achieve 75% accuracy. I drop the highest frequency class - "skip" since this creates a more useful cateogrizer.
- I updated the categorize.py script so that the prompt will be what the classifier thinks, gated by a flag.
- Added a readme that will hopefully help future release notes engineers.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/94560
Approved by: https://github.com/albanD
2023-03-16 00:09:26 +00:00
..
.gitignore Always use the CommitCache, and make it a singleton (#78203) 2022-07-07 22:42:46 +00:00
apply_categories.py [Release Notes] Simple script to merge categories (#79910) 2022-07-07 22:42:46 +00:00
categorize.py Updates to the release notes scripts and documentation (#94560) 2023-03-16 00:09:26 +00:00
classifier.py Updates to the release notes scripts and documentation (#94560) 2023-03-16 00:09:26 +00:00
commitlist.py Updates to the release notes scripts and documentation (#94560) 2023-03-16 00:09:26 +00:00
common.py Updates to the release notes scripts and documentation (#94560) 2023-03-16 00:09:26 +00:00
explore.ipynb Updates to the release notes scripts and documentation (#94560) 2023-03-16 00:09:26 +00:00
namespace_check.py [BE] Apply almost all remaining flake8-comprehension checks (#94676) 2023-02-12 01:01:25 +00:00
READEME.md Updates to the release notes scripts and documentation (#94560) 2023-03-16 00:09:26 +00:00
requirements.txt Updates to the release notes scripts and documentation (#94560) 2023-03-16 00:09:26 +00:00
test_release_notes.py Refactoring release not script to use dataclasses and have a shorter test. (#78189) 2022-07-07 22:42:46 +00:00