Skip to content

Commit

Permalink
update the tokenizers version (#1112)
Browse files Browse the repository at this point in the history
* update the tokenizers version

* Update optimum/intel/utils/import_utils.py

Co-authored-by: Ekaterina Aidova <[email protected]>

---------

Co-authored-by: Alexander Kozlov <[email protected]>
Co-authored-by: Ekaterina Aidova <[email protected]>
  • Loading branch information
3 people authored Jan 16, 2025
1 parent a11c6c8 commit feaf027
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions optimum/intel/utils/import_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit feaf027

Please sign in to comment.