[quant] Update qbatch_norm name to qbatch_norm2d#36494
[quant] Update qbatch_norm name to qbatch_norm2d#36494supriyar wants to merge 4 commits intogh/supriyar/82/basefrom
Conversation
Summary: Make name consistent with op. Since we have batch_norm2d and batch_norm3d ops Test Plan: python test/quantization/test_quantized.py test_batch_norm2d Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
💊 Build failures summary and remediationsAs of commit 3a593cf (more details on the Dr. CI page): ✅ None of the build failures appear to be your fault 💚
🚧 1 upstream failure:These were probably caused by upstream breakages:
This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions on the GitHub issue tracker. This comment has been revised 16 times. |
Summary: Make name consistent with op. Since we have batch_norm2d and batch_norm3d ops Test Plan: python test/quantization/test_quantized.py test_batch_norm2d Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
|
|
||
| static auto registry = torch::RegisterOperators().op( | ||
| "quantized::batch_norm(Tensor qx, " | ||
| "quantized::batch_norm2d(Tensor qx, " |
There was a problem hiding this comment.
do you need to keep quantized::batch_norm for BC?
There was a problem hiding this comment.
I don't think so. The aten::quantized_batch_norm is still preserving bc.
cc @lly-zero-one for new op signature.
There was a problem hiding this comment.
Can you also change the convert script?
There was a problem hiding this comment.
NVM, I think I just need to update the model.
Summary: Make name consistent with op. Since we have batch_norm2d and batch_norm3d ops Test Plan: python test/quantization/test_quantized.py test_batch_norm2d Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
Summary: Make name consistent with op. Since we have batch_norm2d and batch_norm3d ops Test Plan: python test/quantization/test_quantized.py test_batch_norm2d Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D21008831](https://our.internmc.facebook.com/intern/diff/D21008831) [ghstack-poisoned]
|
This pull request has been merged in 4ebb127. |
Summary: Make name consistent with op. Since we have batch_norm2d and batch_norm3d ops Test Plan: python test/quantization/test_quantized.py test_batch_norm2d Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: 3ff0bf7 Pull Request resolved: pytorch/pytorch#36494
Summary: Pull Request resolved: pytorch#36494 Make name consistent with op. Since we have batch_norm2d and batch_norm3d ops Test Plan: python test/quantization/test_quantized.py test_batch_norm2d Imported from OSS Differential Revision: D21008831 fbshipit-source-id: f81ca71a331d5620fd6a3f6175020a30f2e2566b
Stack from ghstack:
Summary:
Make name consistent with op. Since we have batch_norm2d and batch_norm3d ops
Test Plan:
python test/quantization/test_quantized.py test_batch_norm2d
Reviewers:
Subscribers:
Tasks:
Tags:
Differential Revision: D21008831