Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

AttributeError: 'MPLUGOwl2Config' object has no attribute 'mlp_bias' #243

Open
senp98 opened this issue Jan 15, 2025 · 2 comments
Open

AttributeError: 'MPLUGOwl2Config' object has no attribute 'mlp_bias' #243

senp98 opened this issue Jan 15, 2025 · 2 comments

Comments

@senp98
Copy link

senp98 commented Jan 15, 2025

Thank you for your excellent work!
I met this problem when I ran the test using the metric qalign_8bit. I think this is due to the conflict between this work and the newest transformers package. Is this version of transformers not supported yet? You may try to reproduce this bug by installing the transformers=4.46.3.

@chaofengc
Copy link
Owner

Yes, qalign depends on MPLUGOwl2 and needs specific transformer version transformers==4.37.2 as in requirements.txt

@JaneWu423
Copy link

If you need newer version of transformers, maybe try to fix following this reply from QAlign issues, this works for me with transformers==4.45.0.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants