Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[Py OV] Remove deprecated openvino.runtime part 2 (#33106)

Alicja Miloszewska59f523dba78b
diff --git a/src/bindings/python/src/openvino/__init__.py b/src/bindings/python/src/openvino/__init__.py
index e5a4866f15a..ee4229a1612 100644
--- a/src/bindings/python/src/openvino/__init__.py
+++ b/src/bindings/python/src/openvino/__init__.py
@@ -60,8 +60,6 @@ from openvino._ov_api import InferRequest
from openvino._ov_api import AsyncInferQueue
# Import all public modules
-from openvino.package_utils import LazyLoader
-runtime = LazyLoader("openvino.runtime")
from openvino import frontend as frontend
from openvino import helpers as helpers
from openvino import experimental as experimental
diff --git a/src/bindings/python/src/openvino/runtime/__init__.py b/src/bindings/python/src/openvino/runtime/__init__.py
deleted file mode 100644
index 23dfa5ad676..00000000000
--- a/src/bindings/python/src/openvino/runtime/__init__.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright (C) 2018-2025 Intel Corporation
-# SPDX-License-Identifier: Apache-2.0
-
-"""openvino module namespace, exposing factory functions for all ops and other classes."""
-# noqa: F401
-
-import warnings
-warnings.filterwarnings("once", category=DeprecationWarning, module="openvino.runtime")
-warnings.warn(
- "The `openvino.runtime` module is deprecated and will be removed in the 2026.0 release. "
- "Please replace `openvino.runtime` with `openvino`.",
- DeprecationWarning,
- stacklevel=1
-)
-
-from openvino import CompiledModel
diff --git a/tools/benchmark_tool/openvino/__init__.py b/tools/benchmark_tool/openvino/__init__.py
index e5a4866f15a..ee4229a1612 100644
--- a/tools/benchmark_tool/openvino/__init__.py
+++ b/tools/benchmark_tool/openvino/__init__.py
@@ -60,8 +60,6 @@ from openvino._ov_api import InferRequest
from openvino._ov_api import AsyncInferQueue
# Import all public modules
-from openvino.package_utils import LazyLoader
-runtime = LazyLoader("openvino.runtime")
from openvino import frontend as frontend
from openvino import helpers as helpers
from openvino import experimental as experimental
diff --git a/tools/ovc/openvino/__init__.py b/tools/ovc/openvino/__init__.py
index e5a4866f15a..ee4229a1612 100644
--- a/tools/ovc/openvino/__init__.py
+++ b/tools/ovc/openvino/__init__.py
@@ -60,8 +60,6 @@ from openvino._ov_api import InferRequest
from openvino._ov_api import AsyncInferQueue
# Import all public modules
-from openvino.package_utils import LazyLoader
-runtime = LazyLoader("openvino.runtime")
from openvino import frontend as frontend
from openvino import helpers as helpers
from openvino import experimental as experimental