cvlab-columbia / viper

Code for the paper "ViperGPT: Visual Inference via Python Execution for Reasoning"
Other
1.63k stars 117 forks source link

BLIP-2 Accelerate ImportError #42

Closed Ziruiwang409 closed 5 months ago

Ziruiwang409 commented 6 months ago

Thanks for the great work and the latest update on eval script. When I was trying to run the model, I meet the following problem when loading BLIP-2 model: image

I m wondering how to solve this problem, thanks!

surisdi commented 5 months ago

Have you tried installing accelerate using pip install accelerate ?

Ziruiwang409 commented 5 months ago

Yes, it's the version difference that causes the issue. Thanks