Skip to content

Commit

Permalink
Update optimum/intel/utils/import_utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ekaterina Aidova <[email protected]>
  • Loading branch information
AlexKoff88 and eaidova authored Jan 16, 2025
1 parent 330a1f0 commit 1cbe8a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimum/intel/utils/import_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit 1cbe8a4

Please sign in to comment.