You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
@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.
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.
Activity
[-]GLiNER version[/-][+]transformers version[/+]Ingvarstep commentedon Apr 30, 2026
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.
davidmezzetti commentedon May 14, 2026
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.
Ingvarstep commentedon May 18, 2026
@davidmezzetti, we understand this and are working to set up more active release cycles.
davidmezzetti commentedon May 19, 2026
@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.
davidmezzetti commentedon Jun 11, 2026
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.