From 330a1f0b2f315fa1f6f5f5aec7a0bc59c9c502a9 Mon Sep 17 00:00:00 2001 From: Andrei Kochin Date: Wed, 15 Jan 2025 23:58:02 +0400 Subject: [PATCH] update the tokenizers version --- optimum/intel/utils/import_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/optimum/intel/utils/import_utils.py b/optimum/intel/utils/import_utils.py index 6fa6c590b5..a4dff9e65b 100644 --- a/optimum/intel/utils/import_utils.py +++ b/optimum/intel/utils/import_utils.py @@ -397,6 +397,7 @@ def is_openvino_tokenizers_version(operation: str, version: str): except importlib_metadata.PackageNotFoundError: pass + tokenizers_version = tokenizers_version[:len("2025.0.0.0")] return compare_versions(parse(tokenizers_version), operation, version)