PA

Yi pass 40B

PassGGUF by mradermacherUpdated 2024-09-15
Download on Hugging Face
Parameters40B
Context4K
Layers70
Architecturellama
Smallest quant14.9 GB
Quick answer

Yi pass 40B needs about 26.8 GB of memory at Q4_K_M (a 24.0 GB file) with an 8K context window, so it fits on a 32 GB GPU. This repository has 14 quants, from 14.9 GB (Q2_K) to 42.5 GB (Q8_0).

Yi pass 40B is a 40B-parameter Pass model in GGUF format, quantized by mradermacher. Its trained context length is 4K tokens. The repository has 14 quant files, from 14.9 GB (Q2_K) to 42.5 GB (Q8_0).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q2_K14.9 GB 16.5 GB
Too big Get file →
IQ3_XS16.5 GB 18.2 GB
Too big Get file →
Q3_K_S17.4 GB 19.0 GB
Too big Get file →
IQ3_S17.4 GB 19.1 GB
Too big Get file →
IQ3_M18.1 GB 19.7 GB
Too big Get file →
Q3_K_M19.3 GB 21.0 GB
Too big Get file →
Q3_K_L21.1 GB 22.7 GB
Too big Get file →
IQ4_XS21.6 GB 23.3 GB
Too big Get file →
Q4_K_S22.8 GB 24.4 GB
Too big Get file →
Q4_K_M24.0 GB 25.6 GB
Too big Get file →
Q5_K_S27.5 GB 29.2 GB
Too big Get file →
Q5_K_M28.2 GB 29.9 GB
Too big Get file →
Q6_K32.8 GB 34.5 GB
Too big Get file →
Q8_042.5 GB 44.1 GB
Too big Get file →

What GPU do you need for Yi pass 40B?

These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) 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: no quant fits at an 8K context.
  • 6 GB VRAM: no quant fits at an 8K context.
  • 8 GB VRAM: no quant fits at an 8K context.
  • 12 GB VRAM: no quant fits at an 8K context.
  • 16 GB VRAM: no quant fits at an 8K context.
  • 24 GB VRAM: the best quant that fits is Q3_K_L (21.1 GB file, about 23.9 GB in use).
  • 32 GB VRAM: the best quant that fits is Q5_K_M (28.2 GB file, about 31.1 GB in use).
  • 48 GB VRAM: the best quant that fits is Q8_0 (42.5 GB file, about 45.3 GB in use).

Which Yi pass 40B quant should you choose?

Q4_K_M is the usual starting point for Yi pass 40B: it balances file size and quality well. Here it is a 24.0 GB file.

The Q8_0 file is 42.5 GB, about 1.8 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 Q2_K at 14.9 GB, with the quality trade-offs that come with fewer bits. Use it only when memory is very tight. Expect a clear drop in quality, which is usually worse on small models and easier to live with on large ones.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturellama
Parameters40B
Layers70
Trained context4,096 tokens
KV cache (fp16)280 KB per token

Source

Quantized bymradermacher
FamilyPass
Licenseapache-2.0
Downloads (HF)145
Last updated2024-09-15

Frequently asked questions about Yi pass 40B

How much VRAM does Yi pass 40B need?

About 26.8 GB at Q4_K_M with an 8K context window. That is the 24.0 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 Yi pass 40B on an 8 GB GPU?

Not at an 8K context. The smallest file needs about 17.7 GB, so you would need a larger GPU or CPU offloading.

What is the file size of Yi pass 40B GGUF?

It depends on the quant: Q2_K is 14.9 GB, IQ3_XS is 16.5 GB, Q3_K_S is 17.4 GB, IQ3_S is 17.4 GB, IQ3_M is 18.1 GB, Q3_K_M is 19.3 GB and 8 more.

What context length does Yi pass 40B support?

The GGUF header lists a trained context length of 4,096 tokens (4K). The KV cache grows with the context you use: about 2.3 GB at 8K and 1.2 GB at 4K.

Where can I download Yi pass 40B GGUF?

The files are on Hugging Face in the mradermacher/Yi-pass-40B-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does Yi pass 40B use?

Hugging Face lists the license as apache-2.0. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Similar models

Browse all →

More from mradermacher

All by mradermacher →

More Pass models

All Pass →

Other large models

All large models →