- 
                Notifications
    
You must be signed in to change notification settings  - Fork 31k
 
Modernize CLIP modeling code #41546
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
Modernize CLIP modeling code #41546
Conversation
| 
           The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.  | 
    
| 
           cc @zucchini-nlp if you want to take a look!  | 
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing, happy to see the models being standardized 🚀 Let's run slow tests with CLIP and LLaVA-CLIP before merging, just to be sure :)
| 
           run-slow: clip, metaclip_2  | 
    
| 
           This comment contains run-slow, running the specified jobs: models: ['models/clip', 'models/metaclip_2']  | 
    
| 
           run-slow: clip, metaclip_2  | 
    
| 
           [For maintainers] Suggested jobs to run (before merge) run-slow: clip, metaclip_2  | 
    
| 
           This comment contains run-slow, running the specified jobs: models: ['models/clip', 'models/metaclip_2']  | 
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nine ty
* stranded * update modular * modularities * update * fx broken * fx stillb roken * update * missed this * fix metaclip
* stranded * update modular * modularities * update * fx broken * fx stillb roken * update * missed this * fix metaclip
What does this PR do?
As per title. Adds the nice recent modeling utils to CLIP. Was motivated to be able to use it in the looong-standing #33962 .