-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Move OpInfo class into new opinfo folder #82540
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
Conversation
Ref #82518 Starting small to minimize merge conflicts, this moves the top-level class definitions and some helper functions into the `opinfos` folder. It also brings `common_methods_invocations.py` to just below 1MB. [ghstack-poisoned]
🔗 Helpful links
✅ No Failures (2 Pending)As of commit 87d83ac (more details on the Dr. CI page): Expand to see more💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
Ref #82518 Starting small to minimize merge conflicts, this moves the top-level class definitions and some helper functions into the `opinfos` folder. It also brings `common_methods_invocations.py` to just below 1MB. [ghstack-poisoned]
I'll wait for the discussion on the issue to lead to a consensus before working towards merging this right? |
Personally I think this should be merged ASAP. It brings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, the change sounds ok but I would have a couple questions:
- Why opinfoS (with an S)? This folder does not contain a bunch of opinfos, it is (for now only) the core logic.
- Where do we plan to put the splitted OpInfo definitions in this new architecture?
My thinking was that we would (eventually) move all the definitions somewhere inside this
Assuming all the opinfos are defined in the folder it makes more sense. I don't mind dropping it though. |
What about a final structure like?
|
Ref #82518 Starting small to minimize merge conflicts, this moves the top-level class definitions and some helper functions into the `opinfos` folder. It also brings `common_methods_invocations.py` to just below 1MB. [ghstack-poisoned]
Sure, I just renamed the existing
Makes sense to me. Though I don't have any strong feelings either way.
AFAIK it's always recommended to include an |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM!
Not sure when is the best time to land this to avoid land races... |
Ref #82518 Starting small to minimize merge conflicts, this moves the top-level class definitions and some helper functions into the `opinfos` folder. It also brings `common_methods_invocations.py` to just below 1MB. [ghstack-poisoned]
I'm merging this to avoid any merge conflict if we wait too long. |
@pytorchbot merge -g |
@pytorchbot successfully started a merge job. Check the current status here |
Hey @peterbell10. |
Summary: Ref #82518 Starting small to minimize merge conflicts, this moves the top-level class definitions and some helper functions into the `opinfos` folder. It also brings `common_methods_invocations.py` to just below 1MB. Pull Request resolved: #82540 Approved by: https://github.com/albanD Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/4d405517e419e08d697a79a37ea7c07effed4e39 Reviewed By: kit1980 Differential Revision: D38478693 fbshipit-source-id: df2afd9cefc43b5a5f8b2afbfd84b0faf37e9d62
Stack from ghstack (oldest at bottom):
Ref #82518
Starting small to minimize merge conflicts, this moves the top-level
class definitions and some helper functions into the
opinfos
folder.It also brings
common_methods_invocations.py
to just below 1MB.