Add CI builds for TBB and native parallel builds#27357
Add CI builds for TBB and native parallel builds#27357ilia-cher wants to merge 13 commits intogh/ilia-cher/50/basefrom
Conversation
Summary: Add extra CI builds for TBB and native builds Test Plan: check CI [ghstack-poisoned]
Summary: Add extra CI builds for TBB and native builds Test Plan: check CI [ghstack-poisoned]
Summary: Add extra CI builds for TBB and native builds Test Plan: check CI [ghstack-poisoned]
|
This is to avoid build breakages like #26721 |
Summary: Add extra CI builds for TBB and native builds Test Plan: check CI Differential Revision: [D17757197](https://our.internmc.facebook.com/intern/diff/D17757197) [ghstack-poisoned]
Summary: Add extra CI builds for TBB and native builds Test Plan: check CI Differential Revision: [D17757197](https://our.internmc.facebook.com/intern/diff/D17757197) [ghstack-poisoned]
Summary: Add extra CI builds for TBB and native builds Test Plan: check CI Differential Revision: [D17757197](https://our.internmc.facebook.com/intern/diff/D17757197) [ghstack-poisoned]
Summary: Add extra CI builds for TBB and native builds Test Plan: check CI Differential Revision: [D17757197](https://our.internmc.facebook.com/intern/diff/D17757197) [ghstack-poisoned]
Summary: Add extra CI builds for TBB and native builds Test Plan: check CI Differential Revision: [D17757197](https://our.internmc.facebook.com/intern/diff/D17757197) [ghstack-poisoned]
Summary: Add extra CI builds for TBB and native builds Test Plan: check CI Differential Revision: [D17757197](https://our.internmc.facebook.com/intern/diff/D17757197) [ghstack-poisoned]
Summary: Add extra CI builds for TBB and native builds Test Plan: check CI Differential Revision: [D17757197](https://our.internmc.facebook.com/intern/diff/D17757197) [ghstack-poisoned]
Summary: Add extra CI builds for TBB and native builds Test Plan: check CI Differential Revision: [D17757197](https://our.internmc.facebook.com/intern/diff/D17757197) [ghstack-poisoned]
suo
left a comment
There was a problem hiding this comment.
Do these need to be run on every PR? Every build we add to the PR-time runs imposes a cost on developer velocity. Could these be run on master only?
ezyang
left a comment
There was a problem hiding this comment.
Suggestion: Run these builds on master only, not all PRs. Most PRs are pretty unlikely to break these alternate configs. You can keep them as XImportant configs so that it's easy to trigger them with [test all] or [test parallel]
|
@suo do you suggest this is less important than, e,g. namedtensor builds? |
|
@ilia-cher We weigh master vs. PR-time builds as a balance between how likely all PRs across the project are to break it vs. importance in functionality. Honestly, I may have argued against the inclusion of NamedTensor builds at the time too 😛. As @ezyang says, it is unlikely that most PRs will break the functionality being tested here, but it will cause potentially extra time waiting + the possibility of flakiness on every PR. I think a decent compromise is what he suggested, where you can manually run the tests by including a special command in your PR description. |
|
@suo TBB build was broken.. I think at least twice in the last few months |
|
In addition, there're external users who specifically rely on these features and these features are not compiled by default. I can decrease number of builds to alleviate concerns about PR testing time. |
|
Let's find some time to chat after the devcon about this. I appreciate the desire to get this tested, but like I said, I'd like to balance this against the overall developer experience on the project. Typically for other non-default configurations we are content with testing them continuously on master and having the OSS CI oncall revert diffs that break them, rather than testing them against on every PR. The standard for putting a job in PR time should be: "if this job is failing, does it block the majority of other developers of PyTorch?". In practice, this is not super well-enforced, but we should trying to decrease the number of jobs run on PRs, not increase. |
|
If oncalls are doing their job well reverting diffs then I'm okay :) |
|
cc @zou3519 re namedtensor builds, we can delete them now right? |
|
We can't delete the named tensor builds yet; named tensor tests aren't enabled on the other CI. Once they're enabled on every CI we can delete the named tensor builds. The plan on the record is to delete the named tensor builds soon. |
Summary: Add extra CI builds for TBB and native builds Test Plan: check CI Differential Revision: [D17757197](https://our.internmc.facebook.com/intern/diff/D17757197) [ghstack-poisoned]
|
Updated |
Summary: Add extra CI builds for TBB and native builds Test Plan: check CI Differential Revision: [D17757197](https://our.internmc.facebook.com/intern/diff/D17757197) [ghstack-poisoned]
|
@ilia-cher merged this pull request in a22e8f9. |
|
Unfortunately, the newly-added CI builds are failing on master. I am reverting. |
|
Resending #27925 |
|
Ok, apparently someone managed to break TBB build while I was landing this PR.. |
|
the title of this PR isn't clear at all; the summary is fine, that should be in the title. |
|
@ilia-cher could you also update the commit message in that pull request? The commit message is different and most people will be reading the commit title. |
Summary: Pull Request resolved: pytorch#27357 Add extra CI builds for TBB and native builds Test Plan: check CI Differential Revision: D17757197 Pulled By: ilia-cher fbshipit-source-id: e0522e15938710fbf6404478725620282d1287ec
Stack from ghstack:
Summary:
Add extra CI builds for TBB and native builds
Test Plan:
check CI
Differential Revision: D17757197