Skip to content

transformers version #353

Open
Open

Description

@jordanwoo-scale

Hello @Ingvarstep!

May I ask why the repo is pinned specifically to max v5.2 of transformers?

Would it be possible to bump this to the latest (v5.6+)?

Thanks!

Activity

  1. changed the title [-]GLiNER version[/-] [+]transformers version[/+] on Apr 24, 2026
  2. Ingvarstep commented on Apr 30, 2026

    @Ingvarstep
    Collaborator

    Hello @jordanwoo-scale, it was pinned because Transformers v5 is under active development, and I expected some API changes. More recently, I tested the latest version of Transformers (v5.7), and everything works fine, so you can already use the new version.

  3. davidmezzetti commented on May 14, 2026

    @davidmezzetti

    Preventing the upgrade of transformers has a lot of negative downstream impacts on projects that use a lot of different libraries and include this. I'd recommend not having this pattern unless the library is going to have an active release cycle. It's more disruptive than helpful in my opinion.

  4. Ingvarstep commented on May 18, 2026

    @Ingvarstep
    Collaborator

    @davidmezzetti, we understand this and are working to set up more active release cycles.

  5. davidmezzetti commented on May 19, 2026

    @davidmezzetti

    @Ingvarstep Understood. But just keep in mind this library can be used in a complex system with many deps. Unless there is a really good reason, it shouldn't block the upgrade path of transformers. The user can decide to lock their own project to a version if they so choose.

  6. davidmezzetti commented on Jun 11, 2026

    @davidmezzetti

    FYI - I created a fork to work around this issue for now: https://github.com/neuml/gliner

    Ideally, at some point, a release will remove the version cap and I'll switch back. But this is preventing my upgrade path for txtai, so I have no choice.

  7. added
    question
    on Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    question

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions