mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Fix mapping white list (#30636)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/30636 Currently DeQuantStub is still in whitelist because set union has lower precedence than set difference fix issue: https://github.com/pytorch/pytorch/issues/29646 Test Plan: verified locally that we don't attach qconfig for DeQuantStub Imported from OSS Differential Revision: D18775275 fbshipit-source-id: 8da07e40963555671b3d4326c9291706103f858e
This commit is contained in:
parent
f114c33e69
commit
7023e13fbb
|
|
@ -60,9 +60,9 @@ _INCLUDE_QCONFIG_PROPAGATE_LIST = {
|
|||
}
|
||||
|
||||
DEFAULT_QCONFIG_PROPAGATE_WHITE_LIST = (
|
||||
set(DEFAULT_MODULE_MAPPING.keys()) |
|
||||
set(DEFAULT_QAT_MODULE_MAPPING.keys()) |
|
||||
set(DEFAULT_DYNAMIC_MODULE_MAPPING.keys()) |
|
||||
_INCLUDE_QCONFIG_PROPAGATE_LIST -
|
||||
(set(DEFAULT_MODULE_MAPPING.keys()) |
|
||||
set(DEFAULT_QAT_MODULE_MAPPING.keys()) |
|
||||
set(DEFAULT_DYNAMIC_MODULE_MAPPING.keys()) |
|
||||
_INCLUDE_QCONFIG_PROPAGATE_LIST) -
|
||||
_EXCLUDE_QCONFIG_PROPAGATE_LIST
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user