Skip to content

fix: relax tokenizers version constraint#514

Open
nightcityblade wants to merge 1 commit into
collabora:mainfrom
nightcityblade:fix/issue-508-tokenizers
Open

fix: relax tokenizers version constraint#514
nightcityblade wants to merge 1 commit into
collabora:mainfrom
nightcityblade:fix/issue-508-tokenizers

Conversation

@nightcityblade

Copy link
Copy Markdown

Summary

Relax the tokenizers dependency from a single pinned version to a bounded range that supports both the current Transformers 4.46 stack and newer Transformers releases through 4.57.

Fixes #508

List of files changed and why

  • setup.py - allow tokenizers>=0.20.3,<0.23 instead of only 0.20.3.
  • requirements/server.txt - keep server requirements aligned with package metadata.

How Has This Been Tested?

  • python3 -m py_compile setup.py
  • /tmp/whisperlive-venv/bin/python -m pip install --dry-run 'transformers==4.57.1' 'tokenizers>=0.20.3,<0.23'\n- /tmp/whisperlive-venv/bin/python -m pip install --dry-run 'transformers==4.46.3' 'tokenizers>=0.20.3,<0.23'\n

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Plans to update tokenizers and transformers version pins?

1 participant