-
Notifications
You must be signed in to change notification settings - Fork 30.3k
⚠️ 🔴 Add ministral model #40247
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
base: main
Are you sure you want to change the base?
⚠️ 🔴 Add ministral model #40247
Conversation
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
still have to check the slow tests, but rest is ready @ArthurZucker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
run-slow: ministral |
This comment contains run-slow, running the specified jobs: models: ['models/ministral'] |
run-slow: ministral |
…ormers into model-add-ministral
4096cd7
to
2eed170
Compare
@ArthurZucker tests are ready. One note: after this merges, if i open a pr in mistralai/Ministral-8B-Instruct-2410 to change the architecture to |
…ormers into model-add-ministral
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay!
Regarding BC, we are kinda obliged to break with a proper
run-slow: auto, ministral |
This comment contains run-slow, running the specified jobs: models: ['models/auto', 'models/ministral'] |
Yep we can have that! |
It is breaking: once we change
old versions will not recognize that architecture. Thats why I was worried 😅 |
No but you don't have to change them online IMO |
What I meant by not breaking is that the old mistral does not support sliding non sliding so we are fixing something, the best way IMO is not to update the old model but to have some kind of filter for the models on the hub if possible! |
Adding a layer type attribute will not break older version, and we can check if model type is mistral but it has layer_type -> we map to ministral |
instead of chaging the model type |
great, I get it now! 🙏 will ping you back |
[For maintainers] Suggested jobs to run (before merge) run-slow: auto, ministral, mistral |
@ArthurZucker should be ready now! Let me know if it is the correct place to map mistral -> ministral Also, if the user explicitly instantiates a Mistral class, I added a warning telling them that they might want to change |
Coming from #39799, adding Ministral model to support its interleaved attention.