Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions backends/openvino/partitioner.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# except in compliance with the License. See the license file found in the
# LICENSE file in the root directory of this source tree.

# mypy: disable-error-code=import-not-found

from typing import Callable, final, List, Optional, Tuple

import torch
Expand Down
2 changes: 2 additions & 0 deletions backends/openvino/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# except in compliance with the License. See the license file found in the
# LICENSE file in the root directory of this source tree.

# mypy: disable-error-code=import-not-found

from typing import final, List

from executorch.exir.backend.backend_details import (
Expand Down
2 changes: 2 additions & 0 deletions backends/openvino/quantizer/quantizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# except in compliance with the License. See the license file found in the
# LICENSE file in the root directory of this source tree.

# mypy: disable-error-code=import-not-found

from collections import defaultdict
from enum import Enum
from typing import Any, Callable, DefaultDict, Dict, List, Optional, Tuple, Type
Expand Down
2 changes: 1 addition & 1 deletion backends/openvino/tests/test_runner.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import argparse
import unittest

import nncf.torch # type: ignore[import-untyped]
import nncf.torch # type: ignore[import-untyped,import-not-found]


class OpenvinoTestSuite(unittest.TestSuite):
Expand Down
2 changes: 1 addition & 1 deletion examples/openvino/aot_optimize_and_infer.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# except in compliance with the License. See the license file found in the
# LICENSE file in the root directory of this source tree.

# mypy: disable-error-code=import-untyped
# mypy: disable-error-code="import-untyped,import-not-found"

import argparse
import time
Expand Down
Loading