Qwen2.5-Coder 7B: how much RAM do you need?
Qwen2.5-Coder 7B: butuh RAM berapa?
About 4.3 GB for the weights at 4-bit, and about 5.7 GB in total with an 8K context (7.0 GB at 32K). Numbers are estimates.
Sekitar 4.3 GB untuk bobot pada 4-bit, dan sekitar 5.7 GB total dengan konteks 8K (7.0 GB pada 32K). Angkanya perkiraan.
Specs
Spesifikasi
| Parameters | Parameter | 7.6B |
|---|---|---|
| Layers / KV heads | Layer / kepala KV | 28 / 4 |
| Native context | Konteks asli | 32K tokens |
| License | Apache 2.0 |
Memory by context length
Memori menurut panjang konteks
| Context | Konteks | KV cache | Q4 | Q8 | FP16 |
|---|---|---|---|---|---|
| 4K | 0.2 GB | 5.5 GB | 8.8 GB | 15 GB | |
| 8K | 0.4 GB | 5.7 GB | 9.0 GB | 16 GB | |
| 16K | 0.9 GB | 6.1 GB | 9.4 GB | 16 GB | |
| 32K | 1.8 GB | 7.0 GB | 10 GB | 17 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-01-12 (model files), page built from the model's configdicek 2025-01-12 (berkas model), halaman dibuat dari konfigurasi model