ModuleNotFoundError: No module named 'transformers_modules.openbmb'

#36
by ruoxining - opened

Hi, I got an error ModuleNotFoundError: No module named 'transformers_modules.openbmb' when loading the model with

    model = AutoModel.from_pretrained(
        'openbmb/MiniCPM-V-2_6', trust_remote_code=True,
        attn_implementation='sdpa', torch_dtype=torch.bfloat16
    )

as instructed by the readme.

This seems to be a recent error because I used to be able to load the model with the current code 2-3 weeks ago.

Can you tell what the problem is and how I can fix it? Thank you!

OpenBMB org

Which transformers version did you use?

Sign up or log in to comment