-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
adding profile_ivalue #47666
adding profile_ivalue #47666
Conversation
[ghstack-poisoned]
💊 CI failures summary and remediationsAs of commit 71c470f (more details on the Dr. CI page): ✅ None of the CI failures appear to be your fault 💚
🚧 1 fixed upstream failure:These were probably caused by upstream breakages that were already fixed.
Please rebase on the
|
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.
Looks fine to me, wait on @Krovatkin
Operator( | ||
prim::profile_ivalue, | ||
[](const Node* node) -> Operation { | ||
auto callback = node->cast<ProfileIValueOp>()->getCallback(); |
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.
is there a reason to call getCallBack
here ?
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.
Good catch. It probably should be removed now since profile is lowered to interpreter's instruction. Same with prim::profile & prim::profile_optional 😛
ghstack-source-id: 8193e6ae6ed1e59d886e5ba74db2ebe7e1f8936d Pull Request resolved: pytorch#47666
[ghstack-poisoned]
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.
LGTM, some tests never hurt but i guess this is used in the next PR
@Krovatkin |
Having said that, if there's any real failure marked from the merge conflict in CI, feel free to point it to me so I can try to fix. |
Differential Revision: [D25255573](https://our.internmc.facebook.com/intern/diff/D25255573) [ghstack-poisoned]
Differential Revision: [D25255573](https://our.internmc.facebook.com/intern/diff/D25255573) [ghstack-poisoned]
Differential Revision: [D25255573](https://our.internmc.facebook.com/intern/diff/D25255573) [ghstack-poisoned]
@Krovatkin merged this pull request in a6fa3b2. |
Summary: Pull Request resolved: pytorch/pytorch#47666 Test Plan: Imported from OSS Reviewed By: ZolotukhinM Differential Revision: D25255573 Pulled By: Krovatkin fbshipit-source-id: 5d8753e4040a3d96105d28d26728125947c7a638
Summary: Pull Request resolved: pytorch/pytorch#47666 Test Plan: Imported from OSS Reviewed By: ZolotukhinM Differential Revision: D25255573 Pulled By: Krovatkin fbshipit-source-id: 5d8753e4040a3d96105d28d26728125947c7a638
Stack from ghstack:
Differential Revision: D25255573