From 1fccaad9ce37aa2365956d52a776c99dfe7ddddb Mon Sep 17 00:00:00 2001 From: xufang Date: Thu, 9 Jan 2025 10:11:24 +0800 Subject: [PATCH] fix error --- src/python/openvino_genai/py_openvino_genai.pyi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/python/openvino_genai/py_openvino_genai.pyi b/src/python/openvino_genai/py_openvino_genai.pyi index 1e1886d01f..cc706895c2 100644 --- a/src/python/openvino_genai/py_openvino_genai.pyi +++ b/src/python/openvino_genai/py_openvino_genai.pyi @@ -2263,6 +2263,9 @@ class ImageGenerationPerfMetrics: :param get_inference_total_duration: Returns all inference duration including encoder, decoder and transformer/unet inference. :type get_inference_total_duration: float + :param get_generate_duration: Returns generate duration in millionseconds. + :type get_generate_duration: float + :param raw_metrics: A structure of RawImageGenerationPerfMetrics type that holds raw metrics. :type raw_metrics: RawImageGenerationPerfMetrics """ @@ -2290,4 +2293,8 @@ class ImageGenerationPerfMetrics: def get_iteration_duration(self) -> MeanStdPair: ... def get_inference_total_duration(self) -> float: + ... + def get_load_time(self) -> float: + ... + def get_generate_duration(self) -> float: ... \ No newline at end of file