Skip to content

Add CI builds for TBB and native parallel builds#27357

Closed
ilia-cher wants to merge 13 commits intogh/ilia-cher/50/basefrom
gh/ilia-cher/50/head
Closed

Add CI builds for TBB and native parallel builds#27357
ilia-cher wants to merge 13 commits intogh/ilia-cher/50/basefrom
gh/ilia-cher/50/head

Conversation

@ilia-cher
Copy link
Contributor

@ilia-cher ilia-cher commented Oct 4, 2019

Stack from ghstack:

Summary:
Add extra CI builds for TBB and native builds

Test Plan:
check CI

Differential Revision: D17757197

Summary:
Add extra CI builds for TBB and native builds

Test Plan:
check CI

[ghstack-poisoned]
@pytorchbot pytorchbot added the module: ci Related to continuous integration label Oct 4, 2019
@ilia-cher ilia-cher mentioned this pull request Oct 4, 2019
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]
@ilia-cher
Copy link
Contributor Author

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]
ilia-cher pushed a commit that referenced this pull request Oct 4, 2019
Summary:
Add extra CI builds for TBB and native builds

Test Plan:
check CI

ghstack-source-id: 283911d
Pull Request resolved: #27357
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]
ilia-cher pushed a commit that referenced this pull request Oct 4, 2019
Summary:
Add extra CI builds for TBB and native builds

Test Plan:
check CI

ghstack-source-id: 45313ab
Pull Request resolved: #27357
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]
ilia-cher pushed a commit that referenced this pull request Oct 4, 2019
Summary:
Add extra CI builds for TBB and native builds

Test Plan:
check CI

ghstack-source-id: 1bde685
Pull Request resolved: #27357
Copy link
Member

@suo suo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

Copy link
Contributor

@ezyang ezyang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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]

@ilia-cher
Copy link
Contributor Author

@suo do you suggest this is less important than, e,g. namedtensor builds?
I think we need to run this in CI, yes, this is important functionality that we don't want to break

@suo
Copy link
Member

suo commented Oct 9, 2019

@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.

@ilia-cher
Copy link
Contributor Author

@suo TBB build was broken.. I think at least twice in the last few months

@ilia-cher
Copy link
Contributor Author

ilia-cher commented Oct 10, 2019

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.

@suo
Copy link
Member

suo commented Oct 10, 2019

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.

@ilia-cher
Copy link
Contributor Author

ilia-cher commented Oct 10, 2019

If oncalls are doing their job well reverting diffs then I'm okay :)

@ezyang
Copy link
Contributor

ezyang commented Oct 11, 2019

cc @zou3519 re namedtensor builds, we can delete them now right?

@zou3519
Copy link
Contributor

zou3519 commented Oct 11, 2019

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]
@ilia-cher
Copy link
Contributor Author

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 pushed a commit that referenced this pull request Oct 11, 2019
Summary:
Add extra CI builds for TBB and native builds

Test Plan:
check CI

ghstack-source-id: fd838ce
Pull Request resolved: #27357
@facebook-github-bot
Copy link
Contributor

@ilia-cher merged this pull request in a22e8f9.

@suo
Copy link
Member

suo commented Oct 12, 2019

Unfortunately, the newly-added CI builds are failing on master. I am reverting.

@ilia-cher
Copy link
Contributor Author

Resending #27925

@ilia-cher
Copy link
Contributor Author

Ok, apparently someone managed to break TBB build while I was landing this PR..

@gchanan
Copy link
Contributor

gchanan commented Oct 16, 2019

the title of this PR isn't clear at all; the summary is fine, that should be in the title.

@ilia-cher
Copy link
Contributor Author

the title of this PR isn't clear at all; the summary is fine, that should be in the title.

@gchanan, updated the title of #27925

@zou3519
Copy link
Contributor

zou3519 commented Oct 16, 2019

@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.

@ilia-cher ilia-cher changed the title Add CI builds Add CI builds for TBB and native parallel builds Oct 16, 2019
@facebook-github-bot facebook-github-bot deleted the gh/ilia-cher/50/head branch October 28, 2019 22:13
thiagocrepaldi pushed a commit to thiagocrepaldi/pytorch that referenced this pull request Feb 4, 2020
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged module: ci Related to continuous integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants