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] Scope support for call_method in QuantizationTracer #50173
Commits on Jan 7, 2021
-
[quant][graphmode][fx] Scope support for call_method in QuantizationT…
…racer Summary: Previously we did not set the qconfig for call_method node correctly since it requires us to know the scope (module path of the module whose forward graph contains the node) of the node. This PR modifies the QuantizationTracer to record the scope information and build a map from call_method Node to module path, which will be used when we construct qconfig_map Test Plan: python test/test_quantization.py TestQuantizeFx.test_qconfig_for_call_method Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
Configuration menu - View commit details
-
Copy full SHA for c35b966 - Browse repository at this point
Copy the full SHA c35b966View commit details -
Update on "[quant][graphmode][fx] Scope support for call_method in Qu…
…antizationTracer" Summary: Previously we did not set the qconfig for call_method node correctly since it requires us to know the scope (module path of the module whose forward graph contains the node) of the node. This PR modifies the QuantizationTracer to record the scope information and build a map from call_method Node to module path, which will be used when we construct qconfig_map Test Plan: python test/test_quantization.py TestQuantizeFx.test_qconfig_for_call_method Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D25818132](https://our.internmc.facebook.com/intern/diff/D25818132) [ghstack-poisoned]
Configuration menu - View commit details
-
Copy full SHA for bf520b5 - Browse repository at this point
Copy the full SHA bf520b5View commit details -
Update on "[quant][graphmode][fx] Scope support for call_method in Qu…
…antizationTracer" Summary: Previously we did not set the qconfig for call_method node correctly since it requires us to know the scope (module path of the module whose forward graph contains the node) of the node. This PR modifies the QuantizationTracer to record the scope information and build a map from call_method Node to module path, which will be used when we construct qconfig_map Test Plan: python test/test_quantization.py TestQuantizeFx.test_qconfig_for_call_method Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D25818132](https://our.internmc.facebook.com/intern/diff/D25818132) [ghstack-poisoned]
Configuration menu - View commit details
-
Copy full SHA for a6ac7a2 - Browse repository at this point
Copy the full SHA a6ac7a2View commit details -
Update on "[quant][graphmode][fx] Scope support for call_method in Qu…
…antizationTracer" Summary: Previously we did not set the qconfig for call_method node correctly since it requires us to know the scope (module path of the module whose forward graph contains the node) of the node. This PR modifies the QuantizationTracer to record the scope information and build a map from call_method Node to module path, which will be used when we construct qconfig_map Test Plan: python test/test_quantization.py TestQuantizeFx.test_qconfig_for_call_method Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D25818132](https://our.internmc.facebook.com/intern/diff/D25818132) [ghstack-poisoned]
Configuration menu - View commit details
-
Copy full SHA for c16325c - Browse repository at this point
Copy the full SHA c16325cView commit details -
Update on "[quant][graphmode][fx] Scope support for call_method in Qu…
…antizationTracer" Summary: Previously we did not set the qconfig for call_method node correctly since it requires us to know the scope (module path of the module whose forward graph contains the node) of the node. This PR modifies the QuantizationTracer to record the scope information and build a map from call_method Node to module path, which will be used when we construct qconfig_map Test Plan: python test/test_quantization.py TestQuantizeFx.test_qconfig_for_call_method Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D25818132](https://our.internmc.facebook.com/intern/diff/D25818132) [ghstack-poisoned]
Configuration menu - View commit details
-
Copy full SHA for 835ae21 - Browse repository at this point
Copy the full SHA 835ae21View commit details -
Update on "[quant][graphmode][fx] Scope support for call_method in Qu…
…antizationTracer" Summary: Previously we did not set the qconfig for call_method node correctly since it requires us to know the scope (module path and type of the module whose forward graph contains the node) of the node. This PR modifies the QuantizationTracer to record the scope information and build a map from call_method Node to (module_path, module_type), which will be used when we construct qconfig_map Test Plan: python test/test_quantization.py TestQuantizeFx.test_qconfig_for_call_method Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D25818132](https://our.internmc.facebook.com/intern/diff/D25818132) [ghstack-poisoned]
Configuration menu - View commit details
-
Copy full SHA for 46d4585 - Browse repository at this point
Copy the full SHA 46d4585View commit details
Commits on Jan 9, 2021
-
Update on "[quant][graphmode][fx] Scope support for call_method in Qu…
…antizationTracer" Summary: Previously we did not set the qconfig for call_method node correctly since it requires us to know the scope (module path and type of the module whose forward graph contains the node) of the node. This PR modifies the QuantizationTracer to record the scope information and build a map from call_method Node to (module_path, module_type), which will be used when we construct qconfig_map Test Plan: python test/test_quantization.py TestQuantizeFx.test_qconfig_for_call_method Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D25818132](https://our.internmc.facebook.com/intern/diff/D25818132) [ghstack-poisoned]
Configuration menu - View commit details
-
Copy full SHA for de3d47a - Browse repository at this point
Copy the full SHA de3d47aView commit details -
Update on "[quant][graphmode][fx] Scope support for call_method in Qu…
…antizationTracer" Summary: Previously we did not set the qconfig for call_method node correctly since it requires us to know the scope (module path and type of the module whose forward graph contains the node) of the node. This PR modifies the QuantizationTracer to record the scope information and build a map from call_method Node to (module_path, module_type), which will be used when we construct qconfig_map Test Plan: python test/test_quantization.py TestQuantizeFx.test_qconfig_for_call_method Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D25818132](https://our.internmc.facebook.com/intern/diff/D25818132) [ghstack-poisoned]
Configuration menu - View commit details
-
Copy full SHA for 3e9560f - Browse repository at this point
Copy the full SHA 3e9560fView commit details