salesforce / BLIP

PyTorch code for BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generation
BSD 3-Clause "New" or "Revised" License
4.86k stars 648 forks source link

update to a more recent version of transformers dependency #114

Closed jorahn closed 2 years ago

jorahn commented 2 years ago

currently blip depends on transformers==4.15.0, which is from december 2021. making blip incompatible to run in the same venv as any current transformers-related project. updating to become compatible with 4.2x would be great.

LiJunnan1992 commented 2 years ago

Thanks for your comments. Our new LAVIS library supports BLIP with transformers<4.22.0: https://github.com/salesforce/LAVIS/blob/main/requirements-dev.txt

jorahn commented 2 years ago

thank you, i'll give it a try