Skip to content

Commit 8852517

Browse files
authored
Avoid W0611 pylint warning for openvino.torch import
1 parent a060768 commit 8852517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/accuracy_checker/accuracy_checker/launcher/pytorch_launcher.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def __init__(self, config_entry: dict, *args, **kwargs):
7171
self.is_openvino_backend = config_entry.get('use_openvino_backend')
7272
if self.is_openvino_backend:
7373
try:
74-
import openvino.torch # pylint: disable=C0415
74+
import openvino.torch # pylint: disable=C0415, W0611
7575
except ImportError as import_error:
7676
raise ValueError("torch.compile is supported from OpenVINO 2023.1\n{}".format(
7777
import_error.msg)) from import_error

0 commit comments

Comments
 (0)