-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[JIT] Remove warning in conv-add-relu fusion #72441
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
Previousl, if no implementation of conv-add-relu fusion was provided, a warning would be shown. This includes in CPU-only builds, where fusion isn't expected to occur (it's a gpu-only fusion, and only available in GPU builds of pytorch). In CPU-only builds the warning was confusing. This removes the warning; in the case that the user wants the fusion to occur, they probably already have a pytorch build with gpu support. [ghstack-poisoned]
CI Flow Status⚛️ CI FlowRuleset - Version:
|
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit 6157037 (more details on the Dr. CI page): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
Previousl, if no implementation of conv-add-relu fusion was provided, a warning would be shown. This includes in CPU-only builds, where fusion isn't expected to occur (it's a gpu-only fusion, and only available in GPU builds of pytorch). In CPU-only builds the warning was confusing. This removes the warning; in the case that the user wants the fusion to occur, they probably already have a pytorch build with gpu support. ghstack-source-id: aa771ae Pull Request resolved: #72441
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.
sorry probably should have commented on this initially.. or at least used TORCH_WARN_ONCE
Previousl, if no implementation of conv-add-relu fusion was provided, a warning would be shown. This includes in CPU-only builds, where fusion isn't expected to occur (it's a gpu-only fusion, and only available in GPU builds of pytorch). In CPU-only builds the warning was confusing. This removes the warning; in the case that the user wants the fusion to occur, they probably already have a pytorch build with gpu support. [ghstack-poisoned]
Previousl, if no implementation of conv-add-relu fusion was provided, a warning would be shown. This includes in CPU-only builds, where fusion isn't expected to occur (it's a gpu-only fusion, and only available in GPU builds of pytorch). In CPU-only builds the warning was confusing. This removes the warning; in the case that the user wants the fusion to occur, they probably already have a pytorch build with gpu support. ghstack-source-id: 7233682 Pull Request resolved: #72441
@davidberard98 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Previousl, if no implementation of conv-add-relu fusion was provided, a warning would be shown. This includes in CPU-only builds, where fusion isn't expected to occur (it's a gpu-only fusion, and only available in GPU builds of pytorch). In CPU-only builds the warning was confusing. This removes the warning; in the case that the user wants the fusion to occur, they probably already have a pytorch build with gpu support. Differential Revision: [D34046350](https://our.internmc.facebook.com/intern/diff/D34046350) [ghstack-poisoned]
Previousl, if no implementation of conv-add-relu fusion was provided, a warning would be shown. This includes in CPU-only builds, where fusion isn't expected to occur (it's a gpu-only fusion, and only available in GPU builds of pytorch). In CPU-only builds the warning was confusing. This removes the warning; in the case that the user wants the fusion to occur, they probably already have a pytorch build with gpu support. ghstack-source-id: 4905c5f Pull Request resolved: #72441
@davidberard98 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Previousl, if no implementation of conv-add-relu fusion was provided, a warning would be shown. This includes in CPU-only builds, where fusion isn't expected to occur (it's a gpu-only fusion, and only available in GPU builds of pytorch). In CPU-only builds the warning was confusing. This removes the warning; in the case that the user wants the fusion to occur, they probably already have a pytorch build with gpu support. Differential Revision: [D34046350](https://our.internmc.facebook.com/intern/diff/D34046350) [ghstack-poisoned]
Previousl, if no implementation of conv-add-relu fusion was provided, a warning would be shown. This includes in CPU-only builds, where fusion isn't expected to occur (it's a gpu-only fusion, and only available in GPU builds of pytorch). In CPU-only builds the warning was confusing. This removes the warning; in the case that the user wants the fusion to occur, they probably already have a pytorch build with gpu support. ghstack-source-id: 97836af Pull Request resolved: #72441
@davidberard98 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Summary: Pull Request resolved: #72441 Previousl, if no implementation of conv-add-relu fusion was provided, a warning would be shown. This includes in CPU-only builds, where fusion isn't expected to occur (it's a gpu-only fusion, and only available in GPU builds of pytorch). In CPU-only builds the warning was confusing. This removes the warning; in the case that the user wants the fusion to occur, they probably already have a pytorch build with gpu support. Test Plan: Imported from OSS Reviewed By: mruberry Differential Revision: D34046350 Pulled By: davidberard98 fbshipit-source-id: d6a939ada81468025b40ec0a2af67517e4357c1a
Hey @davidberard98. |
Summary: Pull Request resolved: pytorch/pytorch#72441 Previousl, if no implementation of conv-add-relu fusion was provided, a warning would be shown. This includes in CPU-only builds, where fusion isn't expected to occur (it's a gpu-only fusion, and only available in GPU builds of pytorch). In CPU-only builds the warning was confusing. This removes the warning; in the case that the user wants the fusion to occur, they probably already have a pytorch build with gpu support. Test Plan: Imported from OSS Reviewed By: mruberry Differential Revision: D34046350 Pulled By: davidberard98 fbshipit-source-id: d6a939ada81468025b40ec0a2af67517e4357c1a (cherry picked from commit 21b3dfaf71742b5eb0b632d38cc00a0c226f9c8d)
Summary: Pull Request resolved: pytorch/pytorch#72441 Previousl, if no implementation of conv-add-relu fusion was provided, a warning would be shown. This includes in CPU-only builds, where fusion isn't expected to occur (it's a gpu-only fusion, and only available in GPU builds of pytorch). In CPU-only builds the warning was confusing. This removes the warning; in the case that the user wants the fusion to occur, they probably already have a pytorch build with gpu support. Test Plan: Imported from OSS Reviewed By: mruberry Differential Revision: D34046350 Pulled By: davidberard98 fbshipit-source-id: d6a939ada81468025b40ec0a2af67517e4357c1a (cherry picked from commit 21b3dfaf71742b5eb0b632d38cc00a0c226f9c8d)
Summary: Pull Request resolved: pytorch/pytorch#72441 Previousl, if no implementation of conv-add-relu fusion was provided, a warning would be shown. This includes in CPU-only builds, where fusion isn't expected to occur (it's a gpu-only fusion, and only available in GPU builds of pytorch). In CPU-only builds the warning was confusing. This removes the warning; in the case that the user wants the fusion to occur, they probably already have a pytorch build with gpu support. Test Plan: Imported from OSS Reviewed By: mruberry Differential Revision: D34046350 Pulled By: davidberard98 fbshipit-source-id: d6a939ada81468025b40ec0a2af67517e4357c1a (cherry picked from commit 21b3dfaf71742b5eb0b632d38cc00a0c226f9c8d)
Summary: Pull Request resolved: pytorch/pytorch#72441 Previousl, if no implementation of conv-add-relu fusion was provided, a warning would be shown. This includes in CPU-only builds, where fusion isn't expected to occur (it's a gpu-only fusion, and only available in GPU builds of pytorch). In CPU-only builds the warning was confusing. This removes the warning; in the case that the user wants the fusion to occur, they probably already have a pytorch build with gpu support. Test Plan: Imported from OSS Reviewed By: mruberry Differential Revision: D34046350 Pulled By: davidberard98 fbshipit-source-id: d6a939ada81468025b40ec0a2af67517e4357c1a (cherry picked from commit 21b3dfaf71742b5eb0b632d38cc00a0c226f9c8d)
Summary: Pull Request resolved: pytorch/pytorch#72441 Previousl, if no implementation of conv-add-relu fusion was provided, a warning would be shown. This includes in CPU-only builds, where fusion isn't expected to occur (it's a gpu-only fusion, and only available in GPU builds of pytorch). In CPU-only builds the warning was confusing. This removes the warning; in the case that the user wants the fusion to occur, they probably already have a pytorch build with gpu support. Test Plan: Imported from OSS Reviewed By: mruberry Differential Revision: D34046350 Pulled By: davidberard98 fbshipit-source-id: d6a939ada81468025b40ec0a2af67517e4357c1a (cherry picked from commit 21b3dfaf71742b5eb0b632d38cc00a0c226f9c8d)
Summary: Pull Request resolved: pytorch/pytorch#72441 Previousl, if no implementation of conv-add-relu fusion was provided, a warning would be shown. This includes in CPU-only builds, where fusion isn't expected to occur (it's a gpu-only fusion, and only available in GPU builds of pytorch). In CPU-only builds the warning was confusing. This removes the warning; in the case that the user wants the fusion to occur, they probably already have a pytorch build with gpu support. Test Plan: Imported from OSS Reviewed By: mruberry Differential Revision: D34046350 Pulled By: davidberard98 fbshipit-source-id: d6a939ada81468025b40ec0a2af67517e4357c1a (cherry picked from commit 21b3dfaf71742b5eb0b632d38cc00a0c226f9c8d)
Summary: Pull Request resolved: pytorch/pytorch#72441 Previousl, if no implementation of conv-add-relu fusion was provided, a warning would be shown. This includes in CPU-only builds, where fusion isn't expected to occur (it's a gpu-only fusion, and only available in GPU builds of pytorch). In CPU-only builds the warning was confusing. This removes the warning; in the case that the user wants the fusion to occur, they probably already have a pytorch build with gpu support. Test Plan: Imported from OSS Reviewed By: mruberry Differential Revision: D34046350 Pulled By: davidberard98 fbshipit-source-id: d6a939ada81468025b40ec0a2af67517e4357c1a (cherry picked from commit 21b3dfaf71742b5eb0b632d38cc00a0c226f9c8d)
Summary: Pull Request resolved: pytorch/pytorch#72441 Previousl, if no implementation of conv-add-relu fusion was provided, a warning would be shown. This includes in CPU-only builds, where fusion isn't expected to occur (it's a gpu-only fusion, and only available in GPU builds of pytorch). In CPU-only builds the warning was confusing. This removes the warning; in the case that the user wants the fusion to occur, they probably already have a pytorch build with gpu support. Test Plan: Imported from OSS Reviewed By: mruberry Differential Revision: D34046350 Pulled By: davidberard98 fbshipit-source-id: d6a939ada81468025b40ec0a2af67517e4357c1a (cherry picked from commit 21b3dfaf71742b5eb0b632d38cc00a0c226f9c8d)
Summary: Pull Request resolved: pytorch/pytorch#72441 Previousl, if no implementation of conv-add-relu fusion was provided, a warning would be shown. This includes in CPU-only builds, where fusion isn't expected to occur (it's a gpu-only fusion, and only available in GPU builds of pytorch). In CPU-only builds the warning was confusing. This removes the warning; in the case that the user wants the fusion to occur, they probably already have a pytorch build with gpu support. Test Plan: Imported from OSS Reviewed By: mruberry Differential Revision: D34046350 Pulled By: davidberard98 fbshipit-source-id: d6a939ada81468025b40ec0a2af67517e4357c1a (cherry picked from commit 21b3dfaf71742b5eb0b632d38cc00a0c226f9c8d)
Summary: Pull Request resolved: pytorch/pytorch#72441 Previousl, if no implementation of conv-add-relu fusion was provided, a warning would be shown. This includes in CPU-only builds, where fusion isn't expected to occur (it's a gpu-only fusion, and only available in GPU builds of pytorch). In CPU-only builds the warning was confusing. This removes the warning; in the case that the user wants the fusion to occur, they probably already have a pytorch build with gpu support. Test Plan: Imported from OSS Reviewed By: mruberry Differential Revision: D34046350 Pulled By: davidberard98 fbshipit-source-id: d6a939ada81468025b40ec0a2af67517e4357c1a (cherry picked from commit 21b3dfaf71742b5eb0b632d38cc00a0c226f9c8d)
Summary: Pull Request resolved: pytorch/pytorch#72441 Previousl, if no implementation of conv-add-relu fusion was provided, a warning would be shown. This includes in CPU-only builds, where fusion isn't expected to occur (it's a gpu-only fusion, and only available in GPU builds of pytorch). In CPU-only builds the warning was confusing. This removes the warning; in the case that the user wants the fusion to occur, they probably already have a pytorch build with gpu support. Test Plan: Imported from OSS Reviewed By: mruberry Differential Revision: D34046350 Pulled By: davidberard98 fbshipit-source-id: d6a939ada81468025b40ec0a2af67517e4357c1a (cherry picked from commit 21b3dfaf71742b5eb0b632d38cc00a0c226f9c8d)
Summary: Pull Request resolved: pytorch/pytorch#72441 Previousl, if no implementation of conv-add-relu fusion was provided, a warning would be shown. This includes in CPU-only builds, where fusion isn't expected to occur (it's a gpu-only fusion, and only available in GPU builds of pytorch). In CPU-only builds the warning was confusing. This removes the warning; in the case that the user wants the fusion to occur, they probably already have a pytorch build with gpu support. Test Plan: Imported from OSS Reviewed By: mruberry Differential Revision: D34046350 Pulled By: davidberard98 fbshipit-source-id: d6a939ada81468025b40ec0a2af67517e4357c1a (cherry picked from commit 21b3dfaf71742b5eb0b632d38cc00a0c226f9c8d)
Summary: Pull Request resolved: pytorch/pytorch#72441 Previousl, if no implementation of conv-add-relu fusion was provided, a warning would be shown. This includes in CPU-only builds, where fusion isn't expected to occur (it's a gpu-only fusion, and only available in GPU builds of pytorch). In CPU-only builds the warning was confusing. This removes the warning; in the case that the user wants the fusion to occur, they probably already have a pytorch build with gpu support. Test Plan: Imported from OSS Reviewed By: mruberry Differential Revision: D34046350 Pulled By: davidberard98 fbshipit-source-id: d6a939ada81468025b40ec0a2af67517e4357c1a (cherry picked from commit 21b3dfaf71742b5eb0b632d38cc00a0c226f9c8d)
Summary: Pull Request resolved: pytorch/pytorch#72441 Previousl, if no implementation of conv-add-relu fusion was provided, a warning would be shown. This includes in CPU-only builds, where fusion isn't expected to occur (it's a gpu-only fusion, and only available in GPU builds of pytorch). In CPU-only builds the warning was confusing. This removes the warning; in the case that the user wants the fusion to occur, they probably already have a pytorch build with gpu support. Test Plan: Imported from OSS Reviewed By: mruberry Differential Revision: D34046350 Pulled By: davidberard98 fbshipit-source-id: d6a939ada81468025b40ec0a2af67517e4357c1a (cherry picked from commit 21b3dfaf71742b5eb0b632d38cc00a0c226f9c8d)
Summary: Pull Request resolved: pytorch/pytorch#72441 Previousl, if no implementation of conv-add-relu fusion was provided, a warning would be shown. This includes in CPU-only builds, where fusion isn't expected to occur (it's a gpu-only fusion, and only available in GPU builds of pytorch). In CPU-only builds the warning was confusing. This removes the warning; in the case that the user wants the fusion to occur, they probably already have a pytorch build with gpu support. Test Plan: Imported from OSS Reviewed By: mruberry Differential Revision: D34046350 Pulled By: davidberard98 fbshipit-source-id: d6a939ada81468025b40ec0a2af67517e4357c1a (cherry picked from commit 21b3dfaf71742b5eb0b632d38cc00a0c226f9c8d)
Summary: Pull Request resolved: pytorch/pytorch#72441 Previousl, if no implementation of conv-add-relu fusion was provided, a warning would be shown. This includes in CPU-only builds, where fusion isn't expected to occur (it's a gpu-only fusion, and only available in GPU builds of pytorch). In CPU-only builds the warning was confusing. This removes the warning; in the case that the user wants the fusion to occur, they probably already have a pytorch build with gpu support. Test Plan: Imported from OSS Reviewed By: mruberry Differential Revision: D34046350 Pulled By: davidberard98 fbshipit-source-id: d6a939ada81468025b40ec0a2af67517e4357c1a (cherry picked from commit 21b3dfaf71742b5eb0b632d38cc00a0c226f9c8d)
Stack from ghstack:
Previousl, if no implementation of conv-add-relu fusion was provided, a warning would be shown. This includes in CPU-only builds, where fusion isn't expected to occur (it's a gpu-only fusion, and only available in GPU builds of pytorch). In CPU-only builds the warning was confusing.
This removes the warning; in the case that the user wants the fusion to occur, they probably already have a pytorch build with gpu support.
Differential Revision: D34046350