Skip to content

update transformers and vllm dependencies for transformers v5#62

Merged
bghira merged 1 commit into
mainfrom
chore/transformers-v5
Apr 26, 2026
Merged

update transformers and vllm dependencies for transformers v5#62
bghira merged 1 commit into
mainfrom
chore/transformers-v5

Conversation

@bghira

@bghira bghira commented Apr 26, 2026

Copy link
Copy Markdown
Owner

This pull request updates dependencies and adjusts model loading logic to ensure compatibility with newer versions of core libraries. The most significant changes are the updates to the vllm and transformers packages, and a small refactor to model loading in the caption worker.

Dependency updates:

  • Updated the vllm dependency to require version >=0.19.0,<0.20.0 and added a new requirement for transformers version >=5.0.0,<6.0.0 in pyproject.toml to ensure compatibility with the latest APIs.

Model loading logic:

  • In src/caption_flow/workers/caption.py, removed the use_fast=True parameter from AutoTokenizer.from_pretrained and added trust_remote_code=True to both tokenizer and processor loading, ensuring both use trusted remote code and aligning with updated library requirements.

@codecov

codecov Bot commented Apr 26, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/caption_flow/workers/caption.py 0.00% 1 Missing ⚠️
Files with missing lines Coverage Δ
src/caption_flow/workers/caption.py 61.91% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bghira bghira merged commit 5f3ddfd into main Apr 26, 2026
3 of 4 checks passed
@bghira bghira deleted the chore/transformers-v5 branch April 26, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant