Qwen2.5 0.5B
494M parameters · 32k context · Apache License 2.0 · released 2024-09-16
chat
In short
The cheapest hardware in Canada that runs Qwen2.5 0.5B fully in memory at 128k context is the NVIDIA GeForce RTX 3060 12GB, $563 at Amazon, at about 104 tok/s (estimated).
Updated . Speeds are estimates; how they are worked out.
Cheapest way to run it in Canada today
NVIDIA GeForce RTX 3060 12GB, used at eBay
Runs Qwen2.5 0.5B at Q8_0 fully in memory at 128k context, about 104 tok/sest.
$499
In stock, checked
What to run it on in Canada
Fully in memory at 128k context, priced at retailers today.
Cheapest
NVIDIA GeForce RTX 3060 12GB104tok/sest.Q8_0
$563
Best value
NVIDIA GeForce RTX 3080 10GB220tok/sest.Q8_0
$860
Fastest
NVIDIA GeForce RTX 5090519tok/sest.Q8_0
$12,300
Mac
Mac mini M4 16GB36tok/sest.Q8_0
$1,000
All hardware that runs it
Everything we price, best value first. Two cards split the model by layers.
Memory needed
Weights, KV cache and runtime buffers at each context length (KV cache at fp16).
| Quant | File | @8k | @32k |
|---|---|---|---|
| Q4_K_Mgguf | 0.4 GB | 1.2 GB | 1.6 GB |
| Q5_K_Mgguf | 0.4 GB | 1.2 GB | 1.7 GB |
| Q6_Kgguf | 0.5 GB | 1.3 GB | 1.7 GB |
| Q8_0gguf | 0.5 GB | 1.3 GB | 1.8 GB |
Run it
Copy a command for the runtime you use.
- Q4_K_M
- Ollama
ollama run hf.co/bartowski/Qwen2.5-0.5B-Instruct-GGUF:Q4_K_M - LM Studio
lms get bartowski/Qwen2.5-0.5B-Instruct-GGUF@q4_k_m - llama.cpp
llama-server -hf bartowski/Qwen2.5-0.5B-Instruct-GGUF:Q4_K_M
- Ollama
- Q5_K_M
- Ollama
ollama run hf.co/bartowski/Qwen2.5-0.5B-Instruct-GGUF:Q5_K_M - LM Studio
lms get bartowski/Qwen2.5-0.5B-Instruct-GGUF@q5_k_m - llama.cpp
llama-server -hf bartowski/Qwen2.5-0.5B-Instruct-GGUF:Q5_K_M
- Ollama
- Q6_K
- Ollama
ollama run hf.co/bartowski/Qwen2.5-0.5B-Instruct-GGUF:Q6_K - LM Studio
lms get bartowski/Qwen2.5-0.5B-Instruct-GGUF@q6_k - llama.cpp
llama-server -hf bartowski/Qwen2.5-0.5B-Instruct-GGUF:Q6_K
- Ollama
- Q8_0
- Ollama
ollama run hf.co/bartowski/Qwen2.5-0.5B-Instruct-GGUF:Q8_0 - LM Studio
lms get bartowski/Qwen2.5-0.5B-Instruct-GGUF@q8_0 - llama.cpp
llama-server -hf bartowski/Qwen2.5-0.5B-Instruct-GGUF:Q8_0
- Ollama
Notes
The card says the full context is 32,768 tokens and generation is up to 8192 tokens. Needs transformers 4.37.0 or later, because older versions raise KeyError: 'qwen2'.
Questions
- What is the best GPU for running Qwen2.5 0.5B locally?
- The cheapest hardware in Canada that runs Qwen2.5 0.5B fully in memory at 128k context is the NVIDIA GeForce RTX 3060 12GB, $563 at Amazon, at about 104 tok/s (estimated). The best value is the NVIDIA GeForce RTX 3080 10GB (about 220 tok/s for $860). The fastest we price is the NVIDIA GeForce RTX 5090, at about 519 tok/s.
- What is the cheapest way to run Qwen2.5 0.5B in Canada today?
- The NVIDIA GeForce RTX 3060 12GB, $499 used at eBay, in stock: it runs Qwen2.5 0.5B at Q8_0 fully in memory at 128k context, at about 104 tok/s (estimated).
- Can I run Qwen2.5 0.5B on a 16 GB GPU?
- Yes: at Q8_0 it fits fully in 16 GB at 128k context. On the NVIDIA GeForce RTX 5080 it runs at about 278 tok/s (estimated).
- Can I run Qwen2.5 0.5B on a 24 GB GPU?
- Yes: at Q8_0 it fits fully in 24 GB at 128k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 292 tok/s (estimated).
- How do I run Qwen2.5 0.5B locally?
- With Ollama: ollama run hf.co/bartowski/Qwen2.5-0.5B-Instruct-GGUF:Q4_K_M (the Q4_K_M build). LM Studio and llama.cpp commands are on this page.
- What licence is Qwen2.5 0.5B released under?
- Apache License 2.0, which allows commercial use.