Skip to content

[inductor] enable fx graph cache on torchbench - #128239

Closed
masnesral wants to merge 2 commits into
gh/masnesral/75/basefrom
gh/masnesral/75/head
Closed

masnesral wants to merge 2 commits into
gh/masnesral/75/basefrom
gh/masnesral/75/head

Conversation

@masnesral

@masnesral masnesral commented Jun 7, 2024 •

Copy link
Copy Markdown
Contributor

Stack from ghstack (oldest at bottom):

Summary: We've already enabled for timm and huggingface, but we had failures saving cache entries for moco. It looks like #128052 has fixed that issue, so we can enable for torchbench.

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang

Summary: We've already enabled for timm and huggingface, but we had failures saving cache entries for moco. It looks like #128052 has fixed that issue, so we can enable for torchbench.

[ghstack-poisoned]
@pytorch-bot

pytorch-bot Bot commented Jun 7, 2024 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/128239

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (2 Unrelated Failures)

As of commit abb48b2 with merge base 15ab636 (image):

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

masnesral added a commit that referenced this pull request Jun 7, 2024
Summary: We've already enabled for timm and huggingface, but we had failures saving cache entries for moco. It looks like #128052 has fixed that issue, so we can enable for torchbench.

ghstack-source-id: 1417089
Pull Request resolved: #128239
@masnesral
masnesral requested a review from oulgen June 10, 2024 17:34
@masnesral
masnesral marked this pull request as ready for review June 10, 2024 17:34
@masnesral masnesral added ciflow/trunk Trigger trunk jobs on your pull request topic: not user facing topic category labels Jun 10, 2024
@masnesral

Copy link
Copy Markdown
Contributor Author

@pytorchbot merge

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@huydhn

huydhn commented Jun 11, 2024

Copy link
Copy Markdown
Contributor

@pytorchbot revert -m 'Sorry for reverting your change but it seems to surface a bunch of inductor failures in trunk https://hud.pytorch.org/pytorch/pytorch/commit/734e8f6ad7e7f0fa0341fb658f1f986225173f5f' -c weird

The error is, so maybe a landrace?

2024-06-11T01:38:22.4791538Z torch._dynamo.exc.BackendCompilerFailed: backend='inductor' raised:
2024-06-11T01:38:22.4792308Z NameError: name 'FloatTrueDiv' is not defined

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

@pytorchbot successfully started a revert job. Check the current status here.
Questions? Feedback? Please reach out to the PyTorch DevX Team

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

@masnesral your PR has been successfully reverted.

facebook-github-bot pushed a commit to pytorch/benchmark that referenced this pull request Jun 11, 2024
Summary:
We've already enabled for timm and huggingface, but we had failures saving cache entries for moco. It looks like pytorch/pytorch#128052 has fixed that issue, so we can enable for torchbench.

X-link: pytorch/pytorch#128239
Approved by: https://github.com/oulgen

Reviewed By: clee2000

Differential Revision: D58394057

Pulled By: masnesral

fbshipit-source-id: 58a226babdcd04a3bb14118e7a555558c56bc9ef
facebook-github-bot pushed a commit to pytorch/benchmark that referenced this pull request Jun 12, 2024
Summary:
This reverts commit 734e8f6ad7e7f0fa0341fb658f1f986225173f5f.

Reverted pytorch/pytorch#128239 on behalf of https://github.com/huydhn due to Sorry for reverting your change but it seems to surface a bunch of inductor failures in trunk https://hud.pytorch.org/pytorch/pytorch/commit/734e8f6ad7e7f0fa0341fb658f1f986225173f5f ([comment](pytorch/pytorch#128239 (comment)))

Reviewed By: clee2000

Differential Revision: D58444069

fbshipit-source-id: 031136895b2a19ce20ae3c5c74ec43d925acb218
Summary: We've already enabled for timm and huggingface, but we had failures saving cache entries for moco. It looks like #128052 has fixed that issue, so we can enable for torchbench.

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang

[ghstack-poisoned]
masnesral added a commit that referenced this pull request Jun 12, 2024
Summary: We've already enabled for timm and huggingface, but we had failures saving cache entries for moco. It looks like #128052 has fixed that issue, so we can enable for torchbench.

ghstack-source-id: 4c4e9c9
Pull Request resolved: #128239
@masnesral

Copy link
Copy Markdown
Contributor Author

@huydhn the last issue you needed to revert was real, but I don't understand why I didn't get any test failures on the PR before merging. I wonder if I did something wrong. I've fixed the underlying bug and rebased past that commit; now I'm ready to try to land this again. Do you know if there's anything special I need to do to run "all" the tests that exercise torchbench?

@huydhn

huydhn commented Jun 12, 2024

Copy link
Copy Markdown
Contributor

@pytorchbot merge

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@huydhn

huydhn commented Jun 12, 2024

Copy link
Copy Markdown
Contributor

Thank you for the fix. I don't think you missed anything with both ciflow/inductor and ciflow/trunk and no force merge. However, trunk failures could still occur in the event of a landrace with another change (#126905). So, fixing the race, rebase, and reland the PR is the correct way to address it.

facebook-github-bot pushed a commit to pytorch/benchmark that referenced this pull request Jun 13, 2024
Summary:
We've already enabled for timm and huggingface, but we had failures saving cache entries for moco. It looks like pytorch/pytorch#128052 has fixed that issue, so we can enable for torchbench.

X-link: pytorch/pytorch#128239
Approved by: https://github.com/oulgen

Reviewed By: clee2000

Differential Revision: D58501160

Pulled By: masnesral

fbshipit-source-id: b7ceeecbf632671059a07e17851d4301c79945ec
TharinduRusira pushed a commit to TharinduRusira/pytorch that referenced this pull request Jun 14, 2024
Summary: We've already enabled for timm and huggingface, but we had failures saving cache entries for moco. It looks like pytorch#128052 has fixed that issue, so we can enable for torchbench.

Pull Request resolved: pytorch#128239
Approved by: https://github.com/oulgen
TharinduRusira pushed a commit to TharinduRusira/pytorch that referenced this pull request Jun 14, 2024
Summary: We've already enabled for timm and huggingface, but we had failures saving cache entries for moco. It looks like pytorch#128052 has fixed that issue, so we can enable for torchbench.

Pull Request resolved: pytorch#128239
Approved by: https://github.com/oulgen
ignaciobartol pushed a commit to ignaciobartol/pytorch that referenced this pull request Jun 14, 2024
Summary: We've already enabled for timm and huggingface, but we had failures saving cache entries for moco. It looks like pytorch#128052 has fixed that issue, so we can enable for torchbench.

Pull Request resolved: pytorch#128239
Approved by: https://github.com/oulgen
@github-actions
github-actions Bot deleted the gh/masnesral/75/head branch July 13, 2024 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants