Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix mobilenetv2 inductor freezing fail_accuracy (#145296)
Summary: Issue: pytorch/pytorch#144891 inductor freezing effectively enables inductor conv-batchnorm fusion. This fusion increases the accuracy error. More context about this: pytorch/pytorch#120545 For Timm models that are run through benchmarks/dynamo/timm_models.py with TimsRunner the tolerance was increased here: https://github.com/pytorch/pytorch/blob/main/benchmarks/dynamo/timm_models.py#L367 If to comment out conv-batchnorm fusion as Elias suggested in Context issue, the accuracy is back. => Increasing tolerace for mobilenetv2 to the same value via introducing the special configuration for tolerance for freezing only X-link: pytorch/pytorch#145296 Approved by: https://github.com/eellison, https://github.com/zou3519 Reviewed By: izaitsevfb Differential Revision: D68509876 fbshipit-source-id: f748156d78541fe33da63bf5b9cb6a3bd4045294
- Loading branch information