UN

Undi95 PsyMedRP v1 20B

UndiGGUF by RichardErkhovUpdated 2024-06-05
Download on Hugging Face
Parameters20B
Context4K
Layers—
Architecturellama
Smallest quant0.2 GB
Quick answer

Undi95 PsyMedRP v1 20B needs about 0.7 GB of memory at Q4_K_M (a 0.2 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 22 quants, from 0.2 GB (Q4_1) to 13.8 GB (Q5_0).

Undi95 PsyMedRP v1 20B is a 20B-parameter Undi model in GGUF format, quantized by RichardErkhov. Its trained context length is 4K tokens. The repository has 22 quant files, from 0.2 GB (Q4_1) to 13.8 GB (Q5_0).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q4_10.2 GB 0.7 GB
Fits Get file →
Q4_K_M0.2 GB 0.7 GB
Fits Get file →
Q4_K0.3 GB 0.8 GB
Fits Get file →
Q8_01.1 GB 1.7 GB
Fits Get file →
Q6_K1.3 GB 1.9 GB
Fits Get file →
Q4_K_S1.6 GB 2.2 GB
Fits Get file →
Q5_11.8 GB 2.4 GB
Fits Get file →
Q5_K_M2.1 GB 2.7 GB
Fits Get file →
IQ4_NL3.8 GB 4.5 GB
Fits Get file →
Q5_K4.1 GB 4.8 GB
Fits Get file →
Q5_K_S7.2 GB 8.1 GB
Too big Get file →
Q2_K7.4 GB 8.4 GB
Too big Get file →
IQ3_XS8.2 GB 9.2 GB
Too big Get file →
IQ3_S8.7 GB 9.7 GB
Too big Get file →
Q3_K_S8.7 GB 9.7 GB
Too big Get file →
IQ3_M9.2 GB 10.2 GB
Too big Get file →
Q4_09.6 GB 10.7 GB
Too big Get file →
Q3_K9.7 GB 10.8 GB
Too big Get file →
Q3_K_M9.7 GB 10.8 GB
Too big Get file →
Q3_K_L10.6 GB 11.8 GB
Too big Get file →
IQ4_XS10.7 GB 11.9 GB
Too big Get file →
Q5_013.8 GB 15.1 GB
Too big Get file →

What GPU do you need for Undi95 PsyMedRP v1 20B?

These figures add the file size, an fp16 KV cache at an 8K context window and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.

  • 4 GB VRAM: the best quant that fits is Q5_K_M (2.1 GB file, about 2.9 GB in use).
  • 6 GB VRAM: the best quant that fits is Q5_K (4.1 GB file, about 5.0 GB in use).
  • 8 GB VRAM: the best quant that fits is Q5_K (4.1 GB file, about 5.0 GB in use).
  • 12 GB VRAM: the best quant that fits is Q3_K (9.7 GB file, about 11.4 GB in use).
  • 16 GB VRAM: the best quant that fits is Q5_0 (13.8 GB file, about 15.9 GB in use).

Which Undi95 PsyMedRP v1 20B quant should you choose?

Q4_K_M is the usual starting point for Undi95 PsyMedRP v1 20B: it balances file size and quality well. Here it is a 0.2 GB file.

The Q8_0 file is 1.1 GB, about 5.4 times the size of Q4_K_M. It keeps the weights closer to the original, which only matters if you have the memory to spare.

If memory is tight, the smallest file is Q4_1 at 0.2 GB, with the quality trade-offs that come with fewer bits. The usual sweet spot between file size and quality, and the quant most people start with.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturellama
Parameters20B
Trained context4,096 tokens

Source

Quantized byRichardErkhov
FamilyUndi
Downloads (HF)8
Last updated2024-06-05

Frequently asked questions about Undi95 PsyMedRP v1 20B

How much VRAM does Undi95 PsyMedRP v1 20B need?

About 0.7 GB at Q4_K_M with an 8K context window. That is the 0.2 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.

Can I run Undi95 PsyMedRP v1 20B on an 8 GB GPU?

Yes, with Q5_K: the 4.1 GB file needs about 5.0 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of Undi95 PsyMedRP v1 20B GGUF?

It depends on the quant: Q4_1 is 0.2 GB, Q4_K_M is 0.2 GB, Q4_K is 0.3 GB, Q8_0 is 1.1 GB, Q6_K is 1.3 GB, Q4_K_S is 1.6 GB and 16 more.

What context length does Undi95 PsyMedRP v1 20B support?

The GGUF header lists a trained context length of 4,096 tokens (4K).

Where can I download Undi95 PsyMedRP v1 20B GGUF?

The files are on Hugging Face in the RichardErkhov/Undi95_-_PsyMedRP-v1-20B-gguf repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

Similar models

Browse all →

More from RichardErkhov

All by RichardErkhov →

More Undi models

All Undi →

Other medium models

All medium models →