How do i get the Multimodal Imaga analysis capabilities of the new Mistral 3.1 Small model running locally on my M1 Mac ?
Running it in Ollama looses its vision capabilities
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Running the multimodal image analysis capabilities of the Mistral Small 3.1 model locally on your M1 Mac can be challenging, especially since tools like Ollama may not fully support these features. Here's a step-by-step guide to help you set up the model with its vision capabilities:
1. Install Ollama:
Ollama simplifies running large language models locally. To install it:
Follow the on-screen instructions to complete the installation.
2. Download Mistral Small 3.1 Model Weights:
After installing Ollama, open your terminal and execute:
bash
ollama pull cnjack/mistral-samll-3.1
This command downloads the model weights to your local storage. Note that the file size is substantial (over 50GB), so the download may take some time. (apidog.com)
3. Load the Model into Ollama:
Once the download is complete, load the model into memory by running:
bash
ollama run cnjack/mistral-samll-3.1:24b-it-q4_K_S
The first initialization may take a few minutes, but subsequent runs will be faster. (apidog.com)
4. Verify Multimodal Capabilities:
To ensure the model's vision capabilities are active, test it with an image input. If the model doesn't process images as expected, it may indicate that Ollama doesn't fully support the multimodal features of Mistral Small 3.1.
Alternative Approach:
If Ollama doesn't support the vision capabilities, consider using the llama.cpp framework, which offers more flexibility:
Convert the Model to GGML Format:
Use the convert-lora-to-ggml.py script from the llama.cpp repository to convert your model: