Qwen3 8B: how much RAM do you need?
Qwen3 8B: butuh RAM berapa?
About 4.6 GB for the weights at 4-bit, and about 6.7 GB in total with an 8K context (10 GB at 32K). Numbers are estimates.
Sekitar 4.6 GB untuk bobot pada 4-bit, dan sekitar 6.7 GB total dengan konteks 8K (10 GB pada 32K). Angkanya perkiraan.
Specs
Spesifikasi
| Parameters | Parameter | 8.2B |
|---|---|---|
| Layers / KV heads | Layer / kepala KV | 36 / 8 |
| Native context | Konteks asli | 40K tokens |
| License | Apache 2.0 |
Memory by context length
Memori menurut panjang konteks
| Context | Konteks | KV cache | Q4 | Q8 | FP16 |
|---|---|---|---|---|---|
| 4K | 0.6 GB | 6.1 GB | 9.7 GB | 17 GB | |
| 8K | 1.1 GB | 6.7 GB | 10 GB | 17 GB | |
| 16K | 2.2 GB | 7.8 GB | 11 GB | 19 GB | |
| 32K | 4.5 GB | 10 GB | 14 GB | 21 GB |
Totals include the weights, the KV cache and about 1 GB of runtime overhead. The KV cache column shows the memory the context adds. Real use varies with the app and settings.
Total mencakup bobot, KV cache, dan sekitar 1 GB beban runtime. Kolom KV cache menunjukkan memori tambahan dari konteks. Pemakaian nyata bergantung pada aplikasi dan pengaturan.
Good to know
Perlu diketahui
- Text only: it cannot read images. Use a vision model for that.
- Hanya teks: tidak bisa membaca gambar. Pakai model vision untuk itu.
Source: Hugging Face model card · checked 2025-07-26 (model files), page built from the model's configdicek 2025-07-26 (berkas model), halaman dibuat dari konfigurasi model