From bf8be26253fec1682093cafd7f62edf084409d6b Mon Sep 17 00:00:00 2001 From: Alina Kladieva Date: Wed, 11 Dec 2024 18:07:08 +0100 Subject: [PATCH] Workaround for sample failure with OV built by VS2022 (#28021) ### Details: When OV is built with VS2022 and imported after datasets module, ov.Core() call fails with access violation error. ### Tickets: - CVS-158167 Signed-off-by: Alina Kladieva --- samples/python/benchmark/bert_benchmark/bert_benchmark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/python/benchmark/bert_benchmark/bert_benchmark.py b/samples/python/benchmark/bert_benchmark/bert_benchmark.py index f81eac29387182..11055d7a70b163 100755 --- a/samples/python/benchmark/bert_benchmark/bert_benchmark.py +++ b/samples/python/benchmark/bert_benchmark/bert_benchmark.py @@ -9,8 +9,8 @@ import tempfile from time import perf_counter -import datasets import openvino as ov +import datasets from openvino.runtime import get_version from transformers import AutoTokenizer from transformers.onnx import export