Psychotherapy-LLM · text

PsyCoPref-Llama3-8B

Psychotherapy-LLM/PsyCoPref-Llama3-8B

PsyCoPref-Llama3-8B at I1-IQ1_S is exactly 2,019,633,472 bytes (1.88 GiB / 2.02 GB) — an effective 2.012 bits per weight, not the nominal 1. 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
llama
32 layers
Context
131,072
native (config.json)
License
cc-by-nc-4.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
I1-IQ1_S1.88 GiB2,019,633,4722.012mradermacher
I1-IQ1_S1.88 GiB2,019,633,6322.012mradermacher
I1-IQ1_M2.01 GiB2,161,977,6642.154mradermacher
I1-IQ1_M2.01 GiB2,161,977,8242.154mradermacher
I1-IQ2_XXS2.23 GiB2,399,217,9842.390mradermacher
I1-IQ2_XXS2.23 GiB2,399,218,1442.390mradermacher
I1-IQ2_XS2.43 GiB2,605,787,4562.596mradermacher
I1-IQ2_XS2.43 GiB2,605,787,6162.596mradermacher
I1-IQ2_S2.57 GiB2,758,494,5282.748mradermacher
I1-IQ2_S2.57 GiB2,758,494,6882.748mradermacher
I1-IQ2_M2.75 GiB2,948,286,7842.937mradermacher
I1-IQ2_M2.75 GiB2,948,286,9442.937mradermacher
I1-Q2_K_S2.78 GiB2,988,820,8002.978mradermacher
I1-Q2_K_S2.78 GiB2,988,820,9602.978mradermacher
I1-Q2_K2.96 GiB3,179,137,3443.167mradermacher
I1-Q2_K2.96 GiB3,179,137,5043.167mradermacher
I1-IQ3_XXS3.05 GiB3,274,918,2083.263mradermacher
I1-IQ3_XXS3.05 GiB3,274,918,3683.263mradermacher
I1-IQ3_XS3.28 GiB3,518,753,0883.506mradermacher
I1-IQ3_XS3.28 GiB3,518,753,2483.506mradermacher
I1-Q3_K_S3.41 GiB3,664,505,1523.651mradermacher
I1-Q3_K_S3.41 GiB3,664,505,3123.651mradermacher
I1-IQ3_S3.43 GiB3,682,330,9443.668mradermacher
I1-IQ3_S3.43 GiB3,682,331,1043.668mradermacher
I1-IQ3_M3.52 GiB3,784,829,2483.771mradermacher
I1-IQ3_M3.52 GiB3,784,829,4083.771mradermacher
I1-Q3_K_M3.74 GiB4,018,923,8404.004mradermacher
I1-Q3_K_M3.74 GiB4,018,924,0004.004mradermacher
I1-Q3_K_L4.03 GiB4,321,962,3044.306mradermacher
I1-Q3_K_L4.03 GiB4,321,962,4644.306mradermacher
I1-IQ4_XS4.14 GiB4,447,668,5444.431mradermacher
I1-IQ4_XS4.14 GiB4,447,668,7044.431mradermacher
I1-Q4_04.35 GiB4,675,897,6644.658mradermacher
I1-Q4_04.35 GiB4,675,897,8244.658mradermacher
I1-IQ4_NL4.36 GiB4,677,994,8164.660mradermacher
I1-IQ4_NL4.36 GiB4,677,994,9764.660mradermacher
I1-Q4_K_S4.37 GiB4,692,674,8804.675mradermacher
I1-Q4_K_S4.37 GiB4,692,675,0404.675mradermacher
I1-Q4_K_M4.58 GiB4,920,740,1604.902mradermacher
I1-Q4_K_M4.58 GiB4,920,740,3204.902mradermacher

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 I1-IQ1_S at roughly 4.21 GiB. The real file is 1.88 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
128,256
Sliding window
none
SWA period
MLA
no
Experts
Experts per token
use_sliding_window

Questions people ask

How much VRAM does PsyCoPref-Llama3-8B need?
I1-IQ1_S is exactly 2,019,633,472 bytes (1.88 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is PsyCoPref-Llama3-8B'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 PsyCoPref-Llama3-8B 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.