-
Notifications
You must be signed in to change notification settings - Fork 27.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to find the earliest version of transformers that has a certain model? #35097
Comments
Hi @ZihaoZheng98, This is a great question, and it’s a common concern when integrating new models into an existing codebase with older dependencies. Here's how you might approach this: Solution
Advice
If desired, I can help draft a proposal for adding a utility to automate identifying the minimum version of transformers required for a given model. This feature could potentially benefit many users with similar needs. Let me know if you would like further assistance. Best, |
Thanks! Very helpful. |
Hi @ZihaoZheng98, I am glad you found the suggestions helpful. To expand on this idea, I’d like to tag @Rocketknight1 to gather his thoughts on whether a utility for automating compatibility checks could align with the project’s vision. This feature might streamline workflows for developers handling legacy systems and could bring value to the community. I would love to hear any thoughts or feedback. |
I thought I replied to this yesterday, but apparently not! We're unlikely to add this - the reason is that the earliest version that supports a model is more likely to contain bugs or small issues in that model's code, and so we don't really want to encourage users to use it. Instead, we just recommend that users stay current with the latest versions of |
Thank you for clarifying. I completely understand the focus on encouraging users to stay current with the latest stable versions. It's great to see how the project prioritizes stability and performance. I appreciate the opportunity to engage in this discussion and learn from the team's approach. |
Feature request
Is there a way to find the earliest version of transformers that has a certain model? For example, I want to use CLIP into my project, but the existing transformers version is old, I want to upgrade transformers to a lowest version that can use CLIP, so that other parts of my code do not change.
Motivation
There are situations where I need to use a new model in the existing codebase. But when updating transformers, there could be some parts of the code out of date, and need to be modified.
Your contribution
I don't know, but I will try to help.
The text was updated successfully, but these errors were encountered: