diff --git a/optimum/intel/utils/import_utils.py b/optimum/intel/utils/import_utils.py index a4dff9e65..519c59add 100644 --- a/optimum/intel/utils/import_utils.py +++ b/optimum/intel/utils/import_utils.py @@ -397,7 +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")] + tokenizers_version = tokenizers_version[: len("2025.0.0.0")] return compare_versions(parse(tokenizers_version), operation, version)