LL

Llama 30b

LlamaGGUF by mradermacherUpdated 2024-09-13
Download on Hugging Face
Parameters32.5B
Context2K
Layers60
Architecturellama
Smallest quant7.1 GB
Quick answer

Llama 30b needs about 33.2 GB of memory at Q4_K_M (a 19.6 GB file) with an 8K context window, so it fits on a 48 GB GPU. This repository has 21 quants, from 7.1 GB (IQ1_S) to 26.7 GB (Q6_K).

Llama 30b SuperCOT quantized model for local inference

Llama 30b SuperCOT is a 32.5 billion‑parameter model quantized for local use. It supports 2048‑token context and is available in multiple GGUF quantizations. The model is compatible with llama.cpp and Oobabooga modules.

Good at

  • Large context handling
  • High‑quality text generation
  • Fine‑tuned LoRA compatibility

Limits

  • No vision support
  • License not specified
  • Requires 8 k context for memory estimates

Best for

  • Chatbot development
  • Content generation
  • Research prototyping

Who it’s for. Developers and researchers needing a large language model that can run locally. The model works with llama.cpp and Oobabooga for easy deployment.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
IQ1_S7.1 GB 10.9 GB
Too big Get file →
IQ1_M7.7 GB 11.5 GB
Too big Get file →
IQ2_XXS8.7 GB 12.5 GB
Too big Get file →
IQ2_XS9.6 GB 13.4 GB
Too big Get file →
IQ2_S10.4 GB 14.2 GB
Too big Get file →
IQ2_M11.2 GB 15.0 GB
Too big Get file →
Q2_K12.0 GB 15.8 GB
Too big Get file →
IQ3_XXS12.3 GB 16.1 GB
Too big Get file →
IQ3_XS13.3 GB 17.1 GB
Too big Get file →
IQ3_S14.1 GB 17.8 GB
Too big Get file →
Q3_K_S14.1 GB 17.8 GB
Too big Get file →
IQ3_M14.9 GB 18.7 GB
Too big Get file →
Q3_K_M15.8 GB 19.5 GB
Too big Get file →
Q3_K_L17.3 GB 21.1 GB
Too big Get file →
IQ4_XS17.3 GB 21.1 GB
Too big Get file →
Q4_018.4 GB 22.2 GB
Too big Get file →
Q4_K_S18.5 GB 22.3 GB
Too big Get file →
Q4_K_M19.6 GB 23.4 GB
Too big Get file →
Q5_K_S22.4 GB 26.2 GB
Too big Get file →
Q5_K_M23.0 GB 26.8 GB
Too big Get file →
Q6_K26.7 GB 30.5 GB
Too big Get file →

For 8 GB VRAM use IQ1_S (7.12 GB file, 20.7 GB memory). For 12 GB VRAM use Q4_K_S (18.48 GB file, 32.1 GB memory). For 16 GB VRAM use Q5_K_S (22.4 GB file, 36 GB memory). Estimates are approximate.

What GPU do you need for Llama 30b?

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 IQ2_S (10.4 GB file, about 24.0 GB in use).
  • 32 GB VRAM: the best quant that fits is Q4_0 (18.4 GB file, about 32.0 GB in use).
  • 48 GB VRAM: the best quant that fits is Q6_K (26.7 GB file, about 40.3 GB in use).

Which Llama 30b quant should you choose?

Q4_K_M is the usual starting point for Llama 30b: it balances file size and quality well. Here it is a 19.6 GB file.

If memory is tight, the smallest file is IQ1_S at 7.1 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
Parameters32.5B
Layers60
Trained context2,048 tokens
KV cache (fp16)1560 KB per token

Source

Quantized bymradermacher
FamilyLlama
Downloads (HF)2,511
Last updated2024-09-13

Frequently asked questions about Llama 30b

How much VRAM does Llama 30b need?

About 33.2 GB at Q4_K_M with an 8K context window. That is the 19.6 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 Llama 30b on an 8 GB GPU?

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

What is the file size of Llama 30b GGUF?

It depends on the quant: IQ1_S is 7.1 GB, IQ1_M is 7.7 GB, IQ2_XXS is 8.7 GB, IQ2_XS is 9.6 GB, IQ2_S is 10.4 GB, IQ2_M is 11.2 GB and 15 more.

What context length does Llama 30b support?

The GGUF header lists a trained context length of 2,048 tokens (2K). The KV cache grows with the context you use: about 13.1 GB at 8K and 3.3 GB at 2K.

Where can I download Llama 30b GGUF?

The files are on Hugging Face in the mradermacher/llama-30b-supercot-i1-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

Can I run this model on 8 GB VRAM?

Use the IQ1_S quantization; it requires about 20.7 GB memory at 8 k context, so it will not fit on 8 GB VRAM.

Does this model support vision tasks?

No, the model has no vision capabilities.

What context length does it support?

It supports a 2048‑token context length.

Other GGUFs of llama-30b-supercot

Similar models

Browse all →

More from mradermacher

All by mradermacher →

More Llama models

All Llama →

Other medium models

All medium models →