-
Notifications
You must be signed in to change notification settings - Fork 875
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
[BUG: ImportError: cannot import name 'Transformer' from 'mistral_inference.model' (/usr/local/lib/python3.10/dist-packages/mistral_inference/model.py) #206
Comments
Hi! We updated the packages few weeks ago to support Mamba, and since we renamed it to: |
following 3 instructions !git clone https://github.com/mistralai/mistral-inference.git |
It's also on the page here |
Thank you, just fixed it! |
can't 'from mistral_inference.transformer import Transformer' as well; |
Could you share your error? Since the previous errors were about |
I have solved the problem by building a new python environment with Py 3.11. FYI, The error will still occur when ignoring the version of these dependencies. Pip installation is successful but the package can't work at all. I hope I made it clear. |
It's also being used here: https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1 |
Thank you! Have fixed it! ❤️ |
Python -VV
Pip Freeze
Reproduction Steps
Expected Behavior
i have a proplem when im importing mistral_inference when i finedtuned the mistral model based on this official repo but when im try to do an inferance using the mistral_inference it gives me this error
Additional Context
No response
Suggested Solutions
No response
The text was updated successfully, but these errors were encountered: