Skip to content

Commit 9eca2a9

Browse files
digantdesaifacebook-github-bot
authored andcommitted
Make linter happy by removing unused imports (#412)
Summary: Pull Request resolved: #412 As title Reviewed By: mergennachin, JacobSzwejbka Differential Revision: D49429540 fbshipit-source-id: 4755555093708067f209f03fa69c02f3d996ac0a
1 parent 96a8405 commit 9eca2a9

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

backends/xnnpack/operators/node_visitor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
)
3737

3838
from executorch.backends.xnnpack.utils.xnnpack_constants import XNN_INVALID_VALUE_ID
39-
from executorch.exir.dialects._ops import ops as exir_ops
4039
from torch.export import ExportedProgram
4140

4241
XNN_TYPE_MAP = {

exir/delegate.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@
2424
ProxyTorchDispatchMode,
2525
track_tensor_tree,
2626
)
27-
from torch.utils._python_dispatch import (
28-
_get_current_dispatch_mode,
29-
_pop_mode_temporarily,
30-
)
27+
from torch.utils._python_dispatch import _get_current_dispatch_mode
3128
from torch.utils._pytree import tree_flatten
3229

3330

0 commit comments

Comments
 (0)