Skip to content

Commit

Permalink
Fix pylint failures from cyclic import (#3514)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Tuttle <quic_mtuttle@quicinc.com>
  • Loading branch information
quic-mtuttle authored Nov 20, 2024
1 parent fdca53c commit 9cfa104
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def wrapper(quantized_cls):
# TODO: This unfortunately relies on the **class name** of the module, not the real type
# of the module due to the limitation of v1 implementation.
# Should redefine `aimet_to_to_backend_op_name_map` as `Dict[Type[Module], str]`
from aimet_torch.translation_mapping import aimet_op_to_backend_op_name_map
from aimet_torch.translation_mapping import aimet_op_to_backend_op_name_map # pylint:disable = cyclic-import
backend_op_name = aimet_op_to_backend_op_name_map.get(module_cls, None)
if backend_op_name:
aimet_op_to_backend_op_name_map[quantized_cls] = backend_op_name
Expand Down

0 comments on commit 9cfa104

Please sign in to comment.