Skip to content

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

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

sys-openvino-cia9b45d01b0d9
diff --git a/src/bindings/python/src/openvino/_pyopenvino/properties/intel_gpu/hint.pyi b/src/bindings/python/src/openvino/_pyopenvino/properties/intel_gpu/hint.pyi
index 716d1c34057..61f6d97c3e5 100644
--- a/src/bindings/python/src/openvino/_pyopenvino/properties/intel_gpu/hint.pyi
+++ b/src/bindings/python/src/openvino/_pyopenvino/properties/intel_gpu/hint.pyi
@@ -6,7 +6,7 @@ import typing
"""
openvino.properties.intel_gpu.hint submodule that simulates ov::intel_gpu::hint
"""
-__all__: list[str] = ['ThrottleLevel', 'available_device_mem', 'enable_lora_operation', 'host_task_priority', 'queue_priority', 'queue_throttle']
+__all__: list[str] = ['ThrottleLevel', 'available_device_mem', 'enable_large_allocations', 'enable_lora_operation', 'host_task_priority', 'queue_priority', 'queue_throttle']
class ThrottleLevel:
"""
openvino.properties.intel_gpu.hint.ThrottleLevel that simulates ov::intel_gpu::hint::ThrottleLevel
@@ -22,6 +22,12 @@ def available_device_mem() -> str:
def available_device_mem(arg0: typing.SupportsInt) -> tuple[str, openvino._pyopenvino.OVAny]:
...
@typing.overload
+def enable_large_allocations() -> str:
+ ...
+def enable_large_allocations(arg0: bool) -> tuple[str, openvino._pyopenvino.OVAny]:
+ ...
def enable_lora_operation() -> str:
...
@typing.overload
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 cdb819d7a8a..5be077833b4 100644
--- a/src/bindings/python/src/openvino/_pyopenvino/properties/intel_npu.pyi
+++ b/src/bindings/python/src/openvino/_pyopenvino/properties/intel_npu.pyi
@@ -5,7 +5,7 @@ import typing
"""
openvino.properties.intel_npu submodule that simulates ov::intel_npu
"""
-__all__: list[str] = ['CompilerType', 'bypass_umd_caching', 'compilation_mode_params', 'compiler_dynamic_quantization', 'compiler_type', 'compiler_version', 'defer_weights_load', 'device_alloc_mem_size', 'device_total_mem_size', 'disable_idle_memory_prunning', 'driver_version', 'max_tiles', 'platform', 'qdq_optimization', 'qdq_optimization_aggressive', 'run_inferences_sequentially', 'tiles', 'turbo']
+__all__: list[str] = ['CompilerType', 'bypass_umd_caching', 'compilation_mode_params', 'compiler_dynamic_quantization', 'compiler_type', 'compiler_version', 'defer_weights_load', 'device_alloc_mem_size', 'device_total_mem_size', 'disable_idle_memory_prunning', 'driver_version', 'enable_strides_for', 'max_tiles', 'platform', 'qdq_optimization', 'qdq_optimization_aggressive', 'run_inferences_sequentially', 'tiles', 'turbo']
class CompilerType:
"""
Members:
@@ -13,10 +13,13 @@ class CompilerType:
DRIVER
PLUGIN
+
+ PREFER_PLUGIN
"""
DRIVER: typing.ClassVar[CompilerType] # value = <CompilerType.DRIVER: 1>
PLUGIN: typing.ClassVar[CompilerType] # value = <CompilerType.PLUGIN: 0>
- __members__: typing.ClassVar[dict[str, CompilerType]] # value = {'DRIVER': <CompilerType.DRIVER: 1>, 'PLUGIN': <CompilerType.PLUGIN: 0>}
+ PREFER_PLUGIN: typing.ClassVar[CompilerType] # value = <CompilerType.PREFER_PLUGIN: 2>
+ __members__: typing.ClassVar[dict[str, CompilerType]] # value = {'DRIVER': <CompilerType.DRIVER: 1>, 'PLUGIN': <CompilerType.PLUGIN: 0>, 'PREFER_PLUGIN': <CompilerType.PREFER_PLUGIN: 2>}
def __eq__(self, other: typing.Any) -> bool:
...
def __ge__(self, other: typing.Any) -> bool:
@@ -96,6 +99,12 @@ def disable_idle_memory_prunning(arg0: bool) -> tuple[str, openvino._pyopenvino.
def driver_version() -> str:
...
@typing.overload
+def enable_strides_for() -> str:
+ ...
+def enable_strides_for(arg0: str) -> tuple[str, openvino._pyopenvino.OVAny]:
+ ...
def max_tiles() -> str:
...
@typing.overload