Views
No views yet
| Model | Size | Recommended RAM | Description |
|---|---|---|---|
| Qwen3-1.7B-Q3_K_M.gguf | 1.07 GB | 4–6 GB | Smallest practical quantization |
| Qwen3-1.7B-Q4_K_M.gguf | 1.28 GB | 6–8 GB | Recommended for most users |
| Qwen3-1.7B-Q5_K_M.gguf | 1.47 GB | 8–10 GB | Better response quality |
| Qwen3-1.7B-Q6_K.gguf | 1.67 GB | 10–12 GB | High quality |
| Qwen3-1.7B-Q8_0.gguf | 2.17 GB | 12–16 GB | Closest to the original FP16 model |
| Your System | Recommended Model |
|---|---|
| 4–6 GB RAM | Q3_K_M |
| 6–8 GB RAM | ⭐ Q4_K_M |
| 8–10 GB RAM | Q5_K_M |
| 10–12 GB RAM | Q6_K |
| 12 GB+ RAM | Q8_0 |
.gguf file from the Files and versions section of this repository.1llama-cli \
2 -m Qwen3-1.7B-Q4_K_M.gguf \
3 -p "Explain quantum computing in simple words."pip install llama-cpp-python1from llama_cpp import Llama
2
3llm = Llama(
4 model_path="Qwen3-1.7B-Q4_K_M.gguf",
5 n_ctx=4096,
6 n_threads=8,
7 verbose=False,
8)
9
10response = llm.create_chat_completion(
11 messages=[
12 {
13 "role": "user",
14 "content": "Explain quantum computing in simple words."
15 }
16 ],
17 temperature=0.7,
18 max_tokens=256,
19)
20
21print(response["choices"][0]["message"]["content"])FROM ./Qwen3-1.7B-Q4_K_M.ggufollama create qwen3-1.7b-q4 -f Modelfileollama run qwen3-1.7b-q4Note: GGUF models are not compatible with the Hugging Facetransformerslibrary. For Transformers, download the original model from the Qwen repository.
1Original Hugging Face Model (.safetensors)
2 │
3 ▼
4convert_hf_to_gguf.py
5 │
6 ▼
7FP16 GGUF
8 │
9 ▼
10llama-quantize
11 │
12 ▼
13Q3_K_M
14Q4_K_M
15Q5_K_M
16Q6_K
17Q8_0