Open yafangwang9 opened 2 months ago
Did you build mistral-inference from source or pip install ? Can you do pip freeze to find the details
Thank you for reply🥰
Hi~ I'm following the official instructions to install Mistral_inference via pip, and here are the results from pip freeze. I am running the installation on a cloud service provider in China.
kiwisolver==1.3.2 lightgbm==2.3.1 Markdown==3.3.6 MarkupSafe==2.1.0 matplotlib==3.5.1 matplotlib-inline==0.1.3 mistune==0.8.4 mmcv-full==1.4.8 mmdet==2.23.0 msgpack==1.0.3 multidict==6.0.2 nbclassic==0.3.7
Bhargav Yagnik @.***> 于2024年7月24日周三 00:19写道:
Did you build mistral-inference from source or pip install ? Can you do pip freeze to find the details
— Reply to this email directly, view it on GitHub https://github.com/mistralai/mistral-inference/issues/202#issuecomment-2245676507, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWDJHN42TC3PTGTYXBTISOTZNZ673AVCNFSM6AAAAABLJ3MJTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBVGY3TMNJQG4 . You are receiving this because you authored the thread.Message ID: @.***>
You can try to install mistral-inference again in this Cloud env.
Try - pip install mistral-inference
in the environment.
Check which -a pip
to see where its being installed might be that its being installed somewhere else.
Hi~ I have investigated the issue, and the version of Mistral-inference that I installed using pip is lower than required, while version 1.3.0 is needed. THanks very much
Bhargav Yagnik @.***> 于2024年7月24日周三 11:39写道:
You can try to install mistral-inference again in this Cloud env. Try - pip install mistral-inference in the environment. Check which -a pip to see where its being installed might be that its being installed somewhere else.
— Reply to this email directly, view it on GitHub https://github.com/mistralai/mistral-inference/issues/202#issuecomment-2246801153, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWDJHN64HUP2NCEWNBHNTK3ZN4OYNAVCNFSM6AAAAABLJ3MJTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBWHAYDCMJVGM . You are receiving this because you authored the thread.Message ID: @.***>
I met the same issue and I found that it requires peotry
to properly install mistral-inference
. I verified this on 3 different servers: if you install peotry
first and then pip install mistral-inference
, it works perfectly.
Since the mistral_inference/
was put under src/
folder, you just need to append the path to system path by using
import sys
sys.path.append('$YOUR_REPO_DIR/src/')
Python -VV
Pip Freeze
Reproduction Steps
I use Mistral_inference for mistral-nemo ,got this issue
Expected Behavior
https://huggingface.co/mistralai/Mistral-Nemo-Instruct-2407
Additional Context
No response
Suggested Solutions
No response