Skip to content

Welcome v5 #40822

@LysandreJik

Description

@LysandreJik

In this issue we share our plan for the upcoming version 5 of transformers. We've talked about version 5 for years and it's finally around the corner! We'll release a blog post announcing the focus of this release shortly, and wanted to share what we believe the process will look like over the coming weeks.

  • Soon, a new branch named v4 will be created on the repository. It is from this branch that all v4-related updates will take place. Going forward, main will act as the version 5 branch.
  • For the next few weeks, every PR except breaking changes or significant refactors will be merged in both main and v4.
  • In a few weeks, we release what will likely be one of the last minor v4 releases (v4.57.0)
  • A few weeks later, we will release v5. We will aim to limit, as much as possible, the breaking changes within that release; but expect a migration guide as well as some specific breaking changes enabling much more versatile, performant, and cleaner code going forward.
  • Over the next few months, we'll continue patching the v4 branch and will release patch updates.

The v5 on pypi will be preceded by RC releases that we will share in this issue. Please subscribe to this issue to be updated, and let us know if you have thoughts about the outlined process above.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions