-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Make processPythonExecution return a future #57855
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
We already had a helper to run Python functions, which was nice (it de-duplicated some code). This helper was however taking a callback which, as I said, isn't as nice as it returning a Future. Hence here I change this. Differential Revision: [D28253846](https://our.internmc.facebook.com/intern/diff/D28253846/) [ghstack-poisoned]
💊 CI failures summary and remediationsAs of commit f100675 (more details on the Dr. CI page):
🕵️ 1 new failure recognized by patternsThe following CI failures do not appear to be due to upstream breakages:
|
We already had a helper to run Python functions, which was nice (it de-duplicated some code). This helper was however taking a callback which, as I said, isn't as nice as it returning a Future. Hence here I change this. Differential Revision: [D28253846](https://our.internmc.facebook.com/intern/diff/D28253846/) [ghstack-poisoned]
We already had a helper to run Python functions, which was nice (it de-duplicated some code). This helper was however taking a callback which, as I said, isn't as nice as it returning a Future. Hence here I change this. Differential Revision: [D28253846](https://our.internmc.facebook.com/intern/diff/D28253846/) [ghstack-poisoned]
|
Test failures are real: |
|
The test failures turned out to come from the previous PR. |
We already had a helper to run Python functions, which was nice (it de-duplicated some code). This helper was however taking a callback which, as I said, isn't as nice as it returning a Future. Hence here I change this. Differential Revision: [D28253846](https://our.internmc.facebook.com/intern/diff/D28253846/) [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
We already had a helper to run Python functions, which was nice (it de-duplicated some code). This helper was however taking a callback which, as I said, isn't as nice as it returning a Future. Hence here I change this. Differential Revision: [D28253846](https://our.internmc.facebook.com/intern/diff/D28253846/) [ghstack-poisoned]
We already had a helper to run Python functions, which was nice (it de-duplicated some code). This helper was however taking a callback which, as I said, isn't as nice as it returning a Future. Hence here I change this. Differential Revision: [D28253846](https://our.internmc.facebook.com/intern/diff/D28253846/) [ghstack-poisoned]
We already had a helper to run Python functions, which was nice (it de-duplicated some code). This helper was however taking a callback which, as I said, isn't as nice as it returning a Future. Hence here I change this. Differential Revision: [D28253846](https://our.internmc.facebook.com/intern/diff/D28253846/) [ghstack-poisoned]
Pull Request resolved: pytorch#57855 We already had a helper to run Python functions, which was nice (it de-duplicated some code). This helper was however taking a callback which, as I said, isn't as nice as it returning a Future. Hence here I change this. ghstack-source-id: 129567054 Differential Revision: [D28253846](https://our.internmc.facebook.com/intern/diff/D28253846/)
|
This pull request has been merged in e220a1b. |
Stack from ghstack:
We already had a helper to run Python functions, which was nice (it de-duplicated some code). This helper was however taking a callback which, as I said, isn't as nice as it returning a Future. Hence here I change this.
Differential Revision: D28253846