Versus / Qwen2.5-Coder 7B

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

ParametersParameter7.6B
Layers / KV headsLayer / kepala KV28 / 4
Native contextKonteks asli32K tokens
LicenseApache 2.0

Memory by context length

Memori menurut panjang konteks

ContextKonteksKV cacheQ4Q8FP16
4K0.2 GB5.5 GB8.8 GB15 GB
8K0.4 GB5.7 GB9.0 GB16 GB
16K0.9 GB6.1 GB9.4 GB16 GB
32K1.8 GB7.0 GB10 GB17 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.
Try it with your own memory in the calculator →Coba dengan memorimu sendiri di kalkulator →

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