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
[quant][graphmode][fx] Add warning for unsupported case #45714
Conversation
Summary: Hit the problem when writing a test like following: ``` class M(...): def forward(self, x): x = x.some_op() return x ``` we need to know the scope of `x` to figure out the qconfig for `x` Test Plan: Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
Summary: Hit the problem when writing a test like following: ``` class M(...): def forward(self, x): x = x.some_op() return x ``` we need to know the scope of `x` to figure out the qconfig for `x` Test Plan: Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
Summary: Hit the problem when writing a test like following: ``` class M(...): def forward(self, x): x = x.some_op() return x ``` we need to know the scope of `x` to figure out the qconfig for `x` Test Plan: Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: 20bb60fa4a8a016a5558ad0c3d6b828a5d607ccf Pull Request resolved: #45714
Summary: Hit the problem when writing a test like following: ``` class M(...): def forward(self, x): x = x.some_op() return x ``` we need to know the scope of `x` to figure out the qconfig for `x` Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D24069959](https://our.internmc.facebook.com/intern/diff/D24069959) [ghstack-poisoned]
Summary: Hit the problem when writing a test like following: ``` class M(...): def forward(self, x): x = x.some_op() return x ``` we need to know the scope of `x` to figure out the qconfig for `x` Test Plan: Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: 3d3fe552470707374782ba89272d7d4473d1df13 Pull Request resolved: #45714
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.
Is there something like warn_once
or torch.warn
for filtering?
Codecov Report
@@ Coverage Diff @@
## gh/jerryzh168/451/base #45714 +/- ##
==========================================================
- Coverage 68.33% 68.33% -0.01%
==========================================================
Files 410 410
Lines 52992 52997 +5
==========================================================
+ Hits 36210 36213 +3
- Misses 16782 16784 +2
Continue to review full report at Codecov.
|
Summary: Hit the problem when writing a test like following: ``` class M(...): def forward(self, x): x = x.some_op() return x ``` we need to know the scope of `x` to figure out the qconfig for `x` Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D24069959](https://our.internmc.facebook.com/intern/diff/D24069959) [ghstack-poisoned]
Summary: Hit the problem when writing a test like following: ``` class M(...): def forward(self, x): x = x.some_op() return x ``` we need to know the scope of `x` to figure out the qconfig for `x` Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D24069959](https://our.internmc.facebook.com/intern/diff/D24069959) [ghstack-poisoned]
This pull request has been merged in 14997f2. |
Stack from ghstack:
Summary:
Hit the problem when writing a test like following:
we need to know the scope of
x
to figure out the qconfig forx
Test Plan:
Reviewers:
Subscribers:
Tasks:
Tags:
Differential Revision: D24069959