pytorch
7767f47e - [JIT] Remove warning in conv-add-relu fusion (#72441)

Commit
2 years ago
[JIT] Remove warning in conv-add-relu fusion (#72441) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/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)
Author
Committer
Parents
Loading