matrixportalx · text

Aya-Medikal-V2

matrixportalx/Aya-Medikal-V2

Aya-Medikal-V2 at Q4_K_M is exactly 5,056,975,456 bytes (4.71 GiB / 5.06 GB) — an effective 5.039 bits per weight, not the nominal 4. Its KV cache at 32K is 4.00 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
8.0B
Architecture
command-r
32 layers
Context
8,192
native (config.json)
License
cc-by-nc-4.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S2.06 GiB2,209,502,0162.202mradermacher
I1-IQ1_M2.19 GiB2,351,846,2082.344mradermacher
I1-IQ2_XXS2.41 GiB2,589,086,5282.580mradermacher
I1-IQ2_XS2.60 GiB2,795,656,0002.786mradermacher
I1-IQ2_S2.70 GiB2,895,008,5762.885mradermacher
I1-IQ2_M2.87 GiB3,084,800,8323.074mradermacher
I1-Q2_K_S3.03 GiB3,248,182,0803.237mradermacher
I1-IQ3_XXS3.18 GiB3,411,432,2563.400mradermacher
Q2_K3.20 GiB3,438,498,4003.426mradermacher
I1-Q2_K3.20 GiB3,438,498,6243.426mradermacher
I1-IQ3_XS3.47 GiB3,724,759,8723.712mradermacher
Q3_K_S3.60 GiB3,870,511,7123.857mradermacher
I1-Q3_K_S3.60 GiB3,870,511,9363.857mradermacher
I1-IQ3_S3.62 GiB3,888,337,7283.875mradermacher
I1-IQ3_M3.72 GiB3,990,836,0323.977mradermacher
Q3_K_M3.93 GiB4,224,930,4004.210mradermacher
I1-Q3_K_M3.93 GiB4,224,930,6244.210mradermacher
Q3_K_L4.22 GiB4,527,968,8644.512mradermacher
I1-Q3_K_L4.22 GiB4,527,969,0884.512mradermacher
I1-IQ4_XS4.28 GiB4,600,320,8324.584mradermacher
IQ4_XS4.32 GiB4,637,020,7684.621mradermacher
I1-Q4_04.48 GiB4,812,133,1844.795mradermacher
I1-IQ4_NL4.48 GiB4,814,230,3364.797mradermacher
Q4_K_S4.50 GiB4,828,910,1764.812mradermacher
I1-Q4_K_S4.50 GiB4,828,910,4004.812mradermacher
Q4_K_M4.71 GiB5,056,975,4565.039mradermacher
I1-Q4_K_M4.71 GiB5,056,975,6805.039mradermacher
I1-Q4_14.87 GiB5,233,660,7365.215mradermacher
Q5_K_S5.28 GiB5,669,868,1285.650mradermacher
I1-Q5_K_S5.28 GiB5,669,868,3525.650mradermacher
Q5_K_M5.40 GiB5,803,561,5685.783mradermacher
I1-Q5_K_M5.40 GiB5,803,561,7925.783mradermacher
Q6_K6.14 GiB6,596,809,3126.574mradermacher
I1-Q6_K6.14 GiB6,596,809,5366.574mradermacher
Q8_07.95 GiB8,541,065,8248.511mradermacher
F1614.96 GiB16,067,220,06416.011mradermacher

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.50 GiB0.50 GiB32 / 0 / 0
8,1921.00 GiB1.00 GiB32 / 0 / 0
16,3842.00 GiB2.00 GiB32 / 0 / 0
32,7684.00 GiB4.00 GiB32 / 0 / 0
65,5368.00 GiB8.00 GiB32 / 0 / 0
131,07216.00 GiB16.00 GiB32 / 0 / 0

Compare with

same modality, comparable size

Will it run on your card?

full quant x context sweep

Why other calculators give a different number

A parameters × bits ÷ 8 estimate puts Q4_K_M at roughly 4.21 GiB. The real file is 4.71 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
32
Attention heads
32
KV heads
8
Head dim
128
Hidden size
4096
Vocab
256,000
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does Aya-Medikal-V2 need?
Q4_K_M is exactly 5,056,975,456 bytes (4.71 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Aya-Medikal-V2's KV cache?
4.00 GiB at 32K context with an f16 cache, computed per layer. Quantizing the cache to q8_0 roughly halves it, which is often the difference between a context length fitting and not.
Which quantization of Aya-Medikal-V2 should I use?
Q4_K_M is the usual default. Pick the largest quantization that fits your card at the context you actually need — the table above gives exact sizes for every one published.