-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Support linear/BN fusion #141352
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
Support linear/BN fusion #141352
Conversation
Current `fuse` function supports conv/BN fusions only. This commit is to support linear/BN fusion as well.
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/141352
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (3 Unrelated Failures)As of commit b110b9c with merge base cf1d95a ( 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. |
|
@pytorchbot merge |
Merge startedYour 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 |
Merge failedReason: 1 mandatory check(s) failed. The first few are: Dig deeper by viewing the failures on hud |
|
@pytorchbot merge |
Merge startedYour 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 |
Merge failedReason: 3 mandatory check(s) failed. The first few are: Dig deeper by viewing the failures on hud |
|
@ezyang Thank you for your review and approval. Would you please command @pytorchbot to merge this PR again? After you commanded @pytorchbot to merge this, there were lint formatting and API guideline errors so I fixed them. Now the CI tests say this PR can be merged normally. The fixes I added are irrelevant to the functionality and just for fixing lint and API guideline errors. |
|
@ezyang Would you please merge this PR? This PR was already approved by you, and I fixed the lint and API guideline problems after your approval. |
|
I created a new PR at #141585. After it is merged, this PR will be closed. |
Current `fuse` function supports conv/BN fusions only. This commit is to support linear/BN fusion as well. Changes to follow the API guidelines are also applied. (This will close the PR #141352 which I created for the same topic and got approval but had lint and API guideline problems.) Pull Request resolved: #141585 Approved by: https://github.com/ezyang
Current `fuse` function supports conv/BN fusions only. This commit is to support linear/BN fusion as well. Changes to follow the API guidelines are also applied. (This will close the PR pytorch#141352 which I created for the same topic and got approval but had lint and API guideline problems.) Pull Request resolved: pytorch#141585 Approved by: https://github.com/ezyang
Current
fusefunction supports conv/BN fusions only. This commit is to support linear/BN fusion as well.cc @ezyang @SherlockNoMad @EikanWang @jgong5 @wenzhe-nrv