Skip to content

📉 Add learning_rate argument to _maybe_log_save_evaluate #3206

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 3, 2025

Conversation

qgallouedec
Copy link
Member

@qgallouedec qgallouedec commented Apr 1, 2025

Important

This PR is on release v0.16 branch!

This PR addresses a breaking change introduced in the transformers dev branch: huggingface/transformers#36973. This was fixed in the trl main branch with #3176, but this fix is not part of TRL 0.16, which could cause issues once transformers new release goes live. To prevent this, we will release v0.16.1, which includes a fix.
By releasing this patch ahead of the upcoming transformers release, users will avoid potential bugs caused by the breaking change in transformers dev branch. This ensures that trl remains compatible with the new transformers version as soon as it's released.

This breaking case was reported thanks to this CI: https://github.com/huggingface/trl/actions/workflows/tests_latest.yml

@qgallouedec qgallouedec changed the title Add learning_rate argument to _maybe_log_save_evaluate 📉 Add learning_rate argument to _maybe_log_save_evaluate Apr 1, 2025
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@qgallouedec
Copy link
Member Author

We can safely ignore the failing CI, it's related to the hub timeout, fixed in of #3174

Copy link
Member

@lewtun lewtun left a comment

Choose a reason for hiding this comment

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

LGTM!

@kashif kashif merged commit e792f87 into v0.16-release Apr 3, 2025
2 of 14 checks passed
@kashif kashif deleted the add-lr-to-private-methode-odpo branch April 3, 2025 07:19
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.

4 participants