We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModuleNotFoundError: No module named 'configuration_mplugowl3'
The text was updated successfully, but these errors were encountered:
Can simply use transformers to load config and model, the package is downloaded within the model.
Sorry, something went wrong.
Does this code span work for you?
import torch from transformers import AutoConfig, AutoModel model_path = 'mPLUG/mPLUG-Owl3-7B-240728' config = AutoConfig.from_pretrained(model_path, trust_remote_code=True) print(config) # model = mPLUGOwl3Model(config).cuda().half() model = AutoModel.from_pretrained(model_path, attn_implementation='sdpa', torch_dtype=torch.half, trust_remote_code=True) model.eval().cuda()
No branches or pull requests
ModuleNotFoundError: No module named 'configuration_mplugowl3'
The text was updated successfully, but these errors were encountered: