Skip to content

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

[PyOV] Update Python API stub files (#33713)

sys-openvino-ci1f59705460f5
diff --git a/src/bindings/python/src/openvino/_pyopenvino/properties/intel_npu.pyi b/src/bindings/python/src/openvino/_pyopenvino/properties/intel_npu.pyi
index 954a488a8f8..eb0306a5608 100644
--- a/src/bindings/python/src/openvino/_pyopenvino/properties/intel_npu.pyi
+++ b/src/bindings/python/src/openvino/_pyopenvino/properties/intel_npu.pyi
@@ -5,52 +5,7 @@ import typing
"""
openvino.properties.intel_npu submodule that simulates ov::intel_npu
"""
-__all__: list[str] = ['bypass_umd_caching', 'compilation_mode_params', 'compiler_dynamic_quantization', 'compiler_version', 'defer_weights_load', 'device_alloc_mem_size', 'device_total_mem_size', 'driver_version', 'max_tiles', 'qdq_optimization', 'qdq_optimization_aggressive', 'run_inferences_sequentially', 'tiles', 'turbo', 'platform', 'CompilerType', 'compiler_type']
-class CompilerType:
- """
- Members:
-
- PLUGIN
-
- DRIVER
- """
- PLUGIN: typing.ClassVar[CompilerType] # value = <CompilerType.PLUGIN: 0>
- DRIVER: typing.ClassVar[CompilerType] # value = <CompilerType.DRIVER: 1>
- __members__: typing.ClassVar[dict[str, CompilerType]] # value = {'PLUGIN': <CompilerType.PLUGIN: 0>, 'DRIVER': <CompilerType.DRIVER: 1>}
- def __eq__(self, other: typing.Any) -> bool:
- ...
- def __ge__(self, other: typing.Any) -> bool:
- ...
- def __getstate__(self) -> int:
- ...
- def __gt__(self, other: typing.Any) -> bool:
- ...
- def __hash__(self) -> int:
- ...
- def __index__(self) -> int:
- ...
- def __init__(self, value: typing.SupportsInt) -> None:
- ...
- def __int__(self) -> int:
- ...
- def __le__(self, other: typing.Any) -> bool:
- ...
- def __lt__(self, other: typing.Any) -> bool:
- ...
- def __ne__(self, other: typing.Any) -> bool:
- ...
- def __repr__(self) -> str:
- ...
- def __setstate__(self, state: typing.SupportsInt) -> None:
- ...
- def __str__(self) -> str:
- ...
- @property
- def name(self) -> str:
- ...
- @property
- def value(self) -> int:
- ...
+__all__: list[str] = ['bypass_umd_caching', 'compilation_mode_params', 'compiler_dynamic_quantization', 'compiler_version', 'defer_weights_load', 'device_alloc_mem_size', 'device_total_mem_size', 'disable_idle_memory_prunning', 'driver_version', 'max_tiles', 'qdq_optimization', 'qdq_optimization_aggressive', 'run_inferences_sequentially', 'tiles', 'turbo']
@typing.overload
def bypass_umd_caching() -> str:
...
@@ -81,6 +36,12 @@ def device_alloc_mem_size() -> str:
...
def device_total_mem_size() -> str:
...
+def disable_idle_memory_prunning() -> str:
+ ...
+def disable_idle_memory_prunning(arg0: bool) -> tuple[str, openvino._pyopenvino.OVAny]:
+ ...
def driver_version() -> str:
...
@typing.overload
@@ -119,12 +80,3 @@ def turbo() -> str:
@typing.overload
def turbo(arg0: bool) -> tuple[str, openvino._pyopenvino.OVAny]:
...
-def platform() -> str:
- ...
-def platform(arg0: str) -> tuple[str, openvino._pyopenvino.OVAny]:
- ...
-def compiler_type(arg0: CompilerType) -> tuple[str, openvino._pyopenvino.OVAny]:
- ...