-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
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
[FIXED] 'MistralConfig' is not defined
#1528
Comments
Got the same error, but downgrading transformer to 4.47.1 worked. |
Apologies on the delay - working on a fix as we speak! |
Just to add in -- another confirm that downgrading transformers to 4.47.1 works. |
Yes downgrading is the best solution for now - apologies it's more complicated than I expected :( I expect the solution to be in Unsloth by tomorrow - apologies on the delay! |
@ArnoBen @InshaManowar @vivirox It should be fixed now - apologies on the wait! Please update Unsloth for local machines via: pip install --upgrade --force-reinstall --no-cache-dir --no-deps unsloth unsloth_zoo |
'MistralConfig' is not defined
Amazing, I confirm it works on my end. Thank you very much ! |
Greetings,
I've been trying to run the Mistral_v0.3_(7B)-Conversational notebook on my own server.
I followed the notebook cells and was hit with
NameError: name 'MistralConfig' is not defined
, from this file:unsloth/models/mistral.py
, Line 310even though
from transformers import MistralConfig
works fine.Since it's running fine on Colab's server, I checked the package versions and noticed that Colab had
transformers==4.47.1
whereas I was running4.48.0
.Downgrading to
4.47.1
fixed the issue but this will currently break when simply pip-installing unsloth calling the method with a Mistral model.The text was updated successfully, but these errors were encountered: