LL

llm-compiler-13b

LlmGGUF by legraphistaUpdated 2024-06-28
Download on Hugging Face
Parameters13B
Context16K
Layers40
Architecturellama
Smallest quant2.9 GB
Quick answer

llm-compiler-13b needs about 13.2 GB of memory at IQ3_M (a 6.0 GB file) with an 8K context window, so it fits on a 16 GB GPU. This repository has 25 quants, from 2.9 GB (IQ1_S) to 26.0 GB.

13B Llama-based model quantized with IMatrix and common quants

llm-compiler-13b is a 13B parameter Llama architecture model. It is available in multiple GGUF quantizations ranging from IQ1_S to Q8_0. The model supports a 16384 token context window.

Good at

  • Large context generation
  • Fine‑tuned language tasks
  • Efficient inference on GPU

Limits

  • No vision support
  • License is other
  • No mixture of experts

Best for

  • Chatbots with long context
  • Research prototyping
  • Local inference on mid‑range GPUs

Who it’s for. Developers and researchers who need a 13B Llama model with flexible quantization options for local deployment. The model is suitable for those who can manage the memory requirements of the chosen quant.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
IQ1_S2.9 GB 10.1 GB
Too big Get file →
IQ1_M3.1 GB 10.3 GB
Too big Get file →
IQ2_XXS3.5 GB 10.7 GB
Too big Get file →
IQ2_XS3.9 GB 11.1 GB
Too big Get file →
IQ2_S4.2 GB 11.4 GB
Too big Get file →
Q2_K_S4.4 GB 11.6 GB
Too big Get file →
IQ2_M4.5 GB 11.7 GB
Too big Get file →
Q2_K4.9 GB 12.1 GB
Too big Get file →
IQ3_XXS5.0 GB 12.2 GB
Too big Get file →
IQ3_XS5.4 GB 12.6 GB
Too big Get file →
IQ3_S5.7 GB 12.9 GB
Too big Get file →
Q3_K_S5.7 GB 12.9 GB
Too big Get file →
IQ3_M6.0 GB 13.2 GB
Too big Get file →
Q3_K6.3 GB 13.5 GB
Too big Get file →
Q3_K_L6.9 GB 14.1 GB
Too big Get file →
IQ4_XS7.0 GB 14.2 GB
Too big Get file →
IQ4_NL7.4 GB 14.6 GB
Too big Get file →
Q4_K_S7.4 GB 14.6 GB
Too big Get file →
Q4_K7.9 GB 15.1 GB
Too big Get file →
Q5_K_S9.0 GB 16.2 GB
Too big Get file →
Q5_K9.2 GB 16.4 GB
Too big Get file →
Q6_K10.7 GB 17.9 GB
Too big Get file →
Q8_013.8 GB 21.0 GB
Too big Get file →
BF1626.0 GB 33.2 GB
Too big Get file →
—26.0 GB 33.2 GB
Too big Get file →

For 8 GB VRAM, use IQ1_S or IQ1_M (est. 10.1–10.3 GB). For 12 GB VRAM, IQ2_S or Q2_K (est. 11.4–12.1 GB). For 16 GB VRAM, Q3_K or Q4_K (est. 13.5–15.1 GB). Estimates are approximate.

What GPU do you need for llm-compiler-13b?

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: the best quant that fits is IQ2_M (4.5 GB file, about 11.7 GB in use).
  • 16 GB VRAM: the best quant that fits is Q4_K (7.9 GB file, about 15.1 GB in use).
  • 24 GB VRAM: the best quant that fits is Q8_0 (13.8 GB file, about 21.0 GB in use).
  • 32 GB VRAM: the best quant that fits is Q8_0 (13.8 GB file, about 21.0 GB in use).
  • 48 GB VRAM: the best quant that fits is BF16 (26.0 GB file, about 33.2 GB in use).

Which llm-compiler-13b quant should you choose?

IQ3_M (6.0 GB) is the middle option in this repository. A reasonable choice when a 4-bit file will not fit, mostly on larger models. Quality loss is noticeable but often acceptable.

If memory is tight, the smallest file is IQ1_S at 2.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
Parameters13B
Layers40
Trained context16,384 tokens
KV cache (fp16)800 KB per token

Source

Quantized bylegraphista
FamilyLlm
Licenseother
Downloads (HF)888
Last updated2024-06-28

Frequently asked questions about llm-compiler-13b

How much VRAM does llm-compiler-13b need?

About 13.2 GB at IQ3_M with an 8K context window. That is the 6.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 llm-compiler-13b on an 8 GB GPU?

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

What is the file size of llm-compiler-13b GGUF?

It depends on the quant: IQ1_S is 2.9 GB, IQ1_M is 3.1 GB, IQ2_XXS is 3.5 GB, IQ2_XS is 3.9 GB, IQ2_S is 4.2 GB, Q2_K_S is 4.4 GB and 19 more.

What context length does llm-compiler-13b support?

The GGUF header lists a trained context length of 16,384 tokens (16K). The KV cache grows with the context you use: about 6.7 GB at 8K and 13.4 GB at 16K.

Where can I download llm-compiler-13b GGUF?

The files are on Hugging Face in the legraphista/llm-compiler-13b-IMat-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 llm-compiler-13b use?

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

Can I run IQ1_S on 8 GB VRAM?

Yes, IQ1_S requires about 10.1 GB of VRAM at 8k context, which fits on an 8 GB GPU with some headroom.

What is the largest quant I can use on 16 GB VRAM?

Q4_K fits within 15.1 GB, while Q5_K requires 16.4 GB and may exceed the limit.

Does this model support vision tasks?

No, the model has no vision capabilities and is purely text‑based.

Other GGUFs of llm-compiler-13b

Similar models

Browse all →

More from legraphista

All by legraphista →

More Llm models

All Llm →

Other medium models

All medium models →