This article was originally published on runaihome.com
qwen2.5vl:32b Fails to Load CLIP Model After Previously Working
This error occurs when Ollama's cached model files become corrupted or when version incompatibilities exist between Ollama and the model. The CLIP (Contrastive Language-Image Pre-Training) model is embedded within qwen2.5vl and fails to initialize, preventing the entire model from starting.
Fix 1: Update Ollama
Outdated Ollama versions may lack compatibility with newer model files. Run the following to update:
Windows:
ollama update
macOS/Linux:
ollama update
If automatic updates are disabled, download the latest release from https://github.com/ollama/ollama/releases and reinstall.
After updating, attempt to run the model again:
ollama run qwen2.5vl:32b
Fix 2: Remove and Re-Pull the Model
Corrupted model blobs prevent the CLIP component from loading correctly. Delete the existing model and pull a fresh copy:
ollama rm qwen2.5vl:32b
ollama pull qwen2.5vl:32b
Verify the model files are intact after pulling by running:
ollama list
Confirm the model appears with the correct size and modification date.
Fix 3: Clear Ollama's Model Cache
If Fix 2 does not resolve the issue, the shared blob cache may contain corrupted data. Clear the entire model cache:
Windows:
rmdir /s /q %USERPROFILE%\.ollama\models
macOS:
rm -rf ~/.ollama/models
Linux:
rm -rf ~/.ollama/models
After clearing, pull the model again:
ollama pull qwen2.5vl:32b
Alternatively, stop the Ollama service before clearing:
bash
ollama
Top comments (0)