Skip to content

Conversation

@Abhishek-TAMU
Copy link
Collaborator

@Abhishek-TAMU Abhishek-TAMU commented Dec 6, 2024

Description of the change

Limit trl version to <0.12 due to transformers dependency change in TRL v0.12.2

Related issue number

How to verify the PR

Was the PR tested

  • I have added >=1 unit test(s) for every new method I have added.
  • I have ensured all unit tests pass

@github-actions
Copy link

github-actions bot commented Dec 6, 2024

Thanks for making a pull request! 😃
One of the maintainers will review and advise on the next steps.

@github-actions github-actions bot added the fix label Dec 6, 2024
Copy link
Collaborator

@anhuong anhuong left a comment

Choose a reason for hiding this comment

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

For more detail, since transformers is currently set to <4.46, trl>=0.12 was not being picked up due to trl 0.12.0 and 0.12.1 relying on trl version>4.46. But since trl 0.12.2 was released today the dep limit was changed to rely on transformers<4.47 which allowed us to pick up new trl version. Although Abhishek had tested on previous trl version for the release which is why we are lowering the limit. In addition, we are hitting into error when upgrading trl as seen here

@Abhishek-TAMU let's create an issue for upgrading trl to track this

@anhuong anhuong merged commit 89db915 into foundation-model-stack:main Dec 6, 2024
9 checks passed
@Abhishek-TAMU Abhishek-TAMU deleted the limit_trl_version branch December 9, 2024 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants