Skip to content

Conversation

@lhoestq
Copy link
Member

@lhoestq lhoestq commented Jul 24, 2025

I did my best to guess the dependencies, lmk if it sounds good to you !

Btw for trl I require trl @ git+https://github.com/huggingface/trl.git but for releases it would be nice to require trl==VERSION, and then set the git URL back when setting the dev version VERSION.dev0

transformers has a utils/release.py file to do this automatically, that I updated to account for uv scripts in huggingface/transformers#39635

cc @lewtun @qgallouedec

@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.

# /// script
# dependencies = [
# "trl @ git+https://github.com/huggingface/trl.git",
# "Pillow>=9.4.0",
Copy link
Member Author

Choose a reason for hiding this comment

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

fyi this is the minimum version to support EXIF metadata

@qgallouedec qgallouedec merged commit a043fd7 into huggingface:main Jul 25, 2025
9 of 10 checks passed
shirinyamani pushed a commit that referenced this pull request Jul 28, 2025
marcandrelarochelle pushed a commit to marcandrelarochelle/trl that referenced this pull request Jul 29, 2025
LuisVasquezBSC pushed a commit to langtech-bsc/trl that referenced this pull request Aug 28, 2025
LuisVasquezBSC pushed a commit to langtech-bsc/trl that referenced this pull request Aug 28, 2025
SamY724 pushed a commit to SamY724/trl that referenced this pull request Sep 6, 2025
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.

3 participants