mlfoundations / open_flamingo

An open-source framework for training large multimodal models.
MIT License
3.74k stars 284 forks source link

I'm having some problems initializing the open-Flamingo model #268

Closed JohnneyQin closed 1 year ago

JohnneyQin commented 1 year ago

You say this: We also support pretrained language models from the transformers package, such as MPT, RedPajama, LLaMA, OPT, GPT-Neo, GPT-J, and Pythia models. However, in my server, models other than the OPT class model have various errors, such as 'GPTNeoXForCausalLM' object has no attribute 'transformer'. How to solve this problem? I also found a gap between the open-flamingo packages I downloaded in my local windows environment and Ubuntu environment. How can I solve this problem?

JohnneyQin commented 1 year ago

this is my environment in Ubuntu: torch 1.9.0+cu102 torchaudio 0.9.0 torchvision 0.10.0+cu102 transformers 4.24.0 open-clip-torch 2.20.0 open-flamingo 0.0.2