Skip to content

Commit

Permalink
remove Conv2d in white list in WOQ adaptor (#1274)
Browse files Browse the repository at this point in the history
(cherry picked from commit 862c36c)
  • Loading branch information
xin3he authored and chensuyue committed Sep 27, 2023
1 parent aff4131 commit 1a6526f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neural_compressor/adaptor/pytorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -4450,7 +4450,7 @@ def __init__(self, framework_specific_info):
assert False, "Unsupported this device {}".format(self.device)
self.query_handler = PyTorchQuery(local_config_file=os.path.join(os.path.dirname(__file__), query_config_file))

self.white_list = [torch.nn.Linear, torch.nn.Conv2d]
self.white_list = [torch.nn.Linear]
# Contains parameters for algorithms such as AWQ, GPTQ, etc.
self.recipes = framework_specific_info["recipes"]
self.optype_statistics = None
Expand Down

0 comments on commit 1a6526f

Please sign in to comment.