Skip to content

Commit feaf027

Browse files
andrei-kochinAlexKoff88eaidova
authored
update the tokenizers version (#1112)
* update the tokenizers version * Update optimum/intel/utils/import_utils.py Co-authored-by: Ekaterina Aidova <ekaterina.aidova@intel.com> --------- Co-authored-by: Alexander Kozlov <alexander.kozlov@intel.com> Co-authored-by: Ekaterina Aidova <ekaterina.aidova@intel.com>
1 parent a11c6c8 commit feaf027

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

optimum/intel/utils/import_utils.py

+1
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@ def is_openvino_tokenizers_version(operation: str, version: str):
397397
except importlib_metadata.PackageNotFoundError:
398398
pass
399399

400+
tokenizers_version = tokenizers_version[: len("2025.0.0.0")]
400401
return compare_versions(parse(tokenizers_version), operation, version)
401402

402403

0 commit comments

Comments
 (0)