For running a 7B Q4 model via Ollama without a GPU, focusing on "fastest or lightest," the Mistral 7B base model (or fine-tunes built on it) is overwhelmingly the best choice.
The Fastest/Lightest 7B Q4 Model for CPU:
1. Base Model: mistral:7b
2. Runner-Up / For Better Quality (but still fast): Fine-tuned Mistral Models
If you want slightly better conversational quality while retaining the Mistral base's speed, consider these:
What to Expect on your CPU (16GB RAM):
- Load Time: Models should load relatively quickly (seconds to tens of seconds) into RAM.
- Token Generation Speed: You can expect anywhere from 2 to 5+ tokens per second, depending on your specific CPU (cores, clock speed, cache), system activity, and the exact quantization of the model. This is generally quite usable for interactive chat.
- RAM Usage: Around 4.5-6 GB for the model itself, plus Ollama's overhead and your OS. You'll be well within your 16 GB RAM limit.
Key Considerations:
- CPU Cores: More CPU cores (and threads) will generally lead to better performance, as Ollama leverages multi-threading effectively.
- Other Apps: Close any unnecessary applications to free up RAM and CPU cycles.
- Quantization: While
q4_K_M is often the default or recommended balance, you can explore other q4 variants if you manually pull a specific tag (e.g., ollama run mistral:7b-q4_K_S for slightly smaller, potentially slightly faster, but sometimes negligibly lower quality).
In summary: Start with ollama run mistral. It offers the best combination of speed, lightness, and quality for CPU-only inference on 7B models.