Skip to content

upgrade transformers to 4.57.5#3358

Merged
winglian merged 5 commits into
mainfrom
transformers-4575
Jan 16, 2026
Merged

upgrade transformers to 4.57.5#3358
winglian merged 5 commits into
mainfrom
transformers-4575

Conversation

@winglian

@winglian winglian commented Jan 14, 2026

Copy link
Copy Markdown
Collaborator

Description

Motivation and Context

How has this been tested?

AI Usage Disclaimer

Screenshots (if appropriate)

Types of changes

Social Handles (Optional)

Summary by CodeRabbit

  • Chores
    • Updated the transformers library dependency to version 4.57.5

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai

coderabbitai Bot commented Jan 14, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

📝 Walkthrough

Walkthrough

The transformers library dependency in requirements.txt was updated from version 4.57.1 to 4.57.5, representing a patch-level version bump. No other dependencies were modified.

Changes

Cohort / File(s) Summary
Dependency Version Update
requirements.txt
Updated transformers from 4.57.1 to 4.57.5

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Suggested reviewers

  • NanoCode012
  • SalmanMohammadi
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title 'upgrade transformers to 4.57.5' accurately and concisely describes the main change in the changeset, which is a version bump of the transformers dependency.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@requirements.txt`:
- Line 16: The requirements entry pins a non-existent PyPI release
"transformers==4.57.5"; update the requirements.txt line that currently reads
"transformers==4.57.5" to "transformers==4.57.3" so pip install -r
requirements.txt uses the valid PyPI release.
📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between d282f32 and da1807a.

📒 Files selected for processing (1)
  • requirements.txt
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (7)
  • GitHub Check: PyTest (3.11, 2.8.0)
  • GitHub Check: PyTest (3.11, 2.9.0)
  • GitHub Check: PyTest (3.11, 2.9.1)
  • GitHub Check: PyTest from Source Dist (3.11, 2.8.0)
  • GitHub Check: PyTest from Source Dist (3.11, 2.9.1)
  • GitHub Check: PyTest from Source Dist (3.11, 2.9.0)
  • GitHub Check: test-axolotl-multigpu (128, 12.8.1, 3.11, 2.9.1, fbgemm-gpu, 2, true)

✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.

Comment thread requirements.txt
peft>=0.18.0
tokenizers>=0.22.1
transformers==4.57.1
transformers==4.57.5

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check if transformers 4.57.5 exists on PyPI
echo "=== Checking PyPI for transformers versions ==="
pip index versions transformers 2>&1 | grep -E "Available versions:" -A 30

echo ""
echo "=== Attempting to download transformers 4.57.5 (without installing) ==="
pip download --no-deps transformers==4.57.5 -d /tmp/test_download 2>&1

echo ""
echo "=== Checking if download was successful ==="
ls -la /tmp/test_download/ 2>&1 || echo "Download directory not found or is empty"

Repository: axolotl-ai-cloud/axolotl

Length of output: 154


🌐 Web query:

transformers 4.57.5 site:pypi.org

💡 Result:

I couldn't find a PyPI release for transformers version 4.57.5. The latest transformers release listed on PyPI in my search is 4.57.3. [1]

Sources:
[1] transformers on PyPI (release files and history).


🌐 Web query:

transformers package versions pypi 4.57.4 4.57.5

💡 Result:

As of Jan 14, 2026: PyPI does not have transformers 4.57.4 or 4.57.5 — the latest 4.x release listed on PyPI is 4.57.3. [1][3] Conda-forge does show a 4.57.5 build (package channel), so 4.57.5 exists there but not on PyPI. [2]

Sources:

  • PyPI transformers project (release listing). [1]
  • conda-forge transformers files (shows 4.57.5). [2]
  • Hugging Face / transformers GitHub releases (notes latest 4.x / v5 RC context). [3]

Replace transformers==4.57.5 with transformers==4.57.3.

Version 4.57.5 does not exist on PyPI (the default package repository for pip). The latest 4.57.x version available on PyPI is 4.57.3. Installing this will fail when running pip install -r requirements.txt.

While 4.57.5 does exist on conda-forge, requirements.txt should use versions available on PyPI.

🤖 Prompt for AI Agents
In `@requirements.txt` at line 16, The requirements entry pins a non-existent PyPI
release "transformers==4.57.5"; update the requirements.txt line that currently
reads "transformers==4.57.5" to "transformers==4.57.3" so pip install -r
requirements.txt uses the valid PyPI release.

@codecov

codecov Bot commented Jan 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@winglian winglian closed this Jan 16, 2026
@winglian winglian reopened this Jan 16, 2026
@winglian winglian merged commit 8f25124 into main Jan 16, 2026
15 of 22 checks passed
@winglian winglian deleted the transformers-4575 branch January 16, 2026 16:17
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