# What does this PR do?

When investigating an issue reported [here](https://github.com/salesforce/LAVIS/issues/418), I've reran and improved BLIP-2's conversion script (based on InstructBLIP).

It's important to compare apples-to-apples, so I had to fork the LAVIS repo and make sure the original model is also run in float32.
[BLIP-2] Improve conversion script. # What does this PR do?

When investigating an issue reported [here](https://github.com/salesforce/LAVIS/issues/418), I've reran and improved BLIP-2's conversion script (based on InstructBLIP).

It's important to compare apples-to-apples, so I had to fork the LAVIS repo and make sure the original model is also run in float32.