XG

Salesforce xgen small 9B instruct r

XgenGGUF by ArtusDevUpdated 2025-05-26
Download on Hugging Face
Parameters10.7B
Context256K
Layers45
Architecturellama
Smallest quant2.7 GB
Quick answer

Salesforce xgen small 9B instruct r needs about 8.5 GB of memory at Q4_K_M (a 6.5 GB file) with an 8K context window, so it fits on a 12 GB GPU. This repository has 19 quants, from 2.7 GB (IQ1_M) to 11.3 GB (Q8_0). Longer context needs more: at 32K tokens the KV cache alone adds about 6.0 GB.

Salesforce xgen small 9B instruct r is a 10.7B-parameter Xgen model in GGUF format, quantized by ArtusDev. Its trained context length is 256K tokens. The repository has 19 quant files, from 2.7 GB (IQ1_M) to 11.3 GB (Q8_0).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
IQ1_M2.7 GB 4.7 GB
Fits Get file →
IQ2_XXS3.0 GB 5.0 GB
Fits Get file →
IQ2_XS3.3 GB 5.3 GB
Fits Get file →
IQ2_S3.5 GB 5.5 GB
Fits Get file →
IQ2_M3.8 GB 5.8 GB
Fits Get file →
Q2_K4.1 GB 6.1 GB
Fits Get file →
IQ3_XXS4.2 GB 6.3 GB
Fits Get file →
IQ3_XS4.5 GB 6.6 GB
Fits Get file →
Q3_K_S4.7 GB 6.8 GB
Fits Get file →
IQ3_M4.9 GB 6.9 GB
Fits Get file →
Q3_K_M5.2 GB 7.2 GB
Tight Get file →
Q3_K_L5.7 GB 7.7 GB
Tight Get file →
IQ4_XS5.8 GB 7.8 GB
Tight Get file →
Q4_K_S6.1 GB 8.2 GB
Too big Get file →
Q4_K_M6.5 GB 8.5 GB
Too big Get file →
Q5_K_S7.4 GB 9.4 GB
Too big Get file →
Q5_K_M7.6 GB 9.6 GB
Too big Get file →
Q6_K8.7 GB 10.8 GB
Too big Get file →
Q8_011.3 GB 13.3 GB
Too big Get file →

What GPU do you need for Salesforce xgen small 9B instruct r?

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: the best quant that fits is IQ2_M (3.8 GB file, about 5.8 GB in use).
  • 8 GB VRAM: the best quant that fits is IQ4_XS (5.8 GB file, about 7.8 GB in use).
  • 12 GB VRAM: the best quant that fits is Q6_K (8.7 GB file, about 10.8 GB in use).
  • 16 GB VRAM: the best quant that fits is Q8_0 (11.3 GB file, about 13.3 GB in use).

Which Salesforce xgen small 9B instruct r quant should you choose?

Q4_K_M is the usual starting point for Salesforce xgen small 9B instruct r: it balances file size and quality well. Here it is a 6.5 GB file.

The Q8_0 file is 11.3 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 IQ1_M at 2.7 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
Parameters10.7B
Layers45
Trained context262,144 tokens
KV cache (fp16)180 KB per token

Source

Quantized byArtusDev
FamilyXgen
Downloads (HF)229
Last updated2025-05-26

Frequently asked questions about Salesforce xgen small 9B instruct r

How much VRAM does Salesforce xgen small 9B instruct r need?

About 8.5 GB at Q4_K_M with an 8K context window. That is the 6.5 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 Salesforce xgen small 9B instruct r on an 8 GB GPU?

Yes, with IQ4_XS: the 5.8 GB file needs about 7.8 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of Salesforce xgen small 9B instruct r GGUF?

It depends on the quant: IQ1_M is 2.7 GB, IQ2_XXS is 3.0 GB, IQ2_XS is 3.3 GB, IQ2_S is 3.5 GB, IQ2_M is 3.8 GB, Q2_K is 4.1 GB and 13 more.

What context length does Salesforce xgen small 9B instruct r support?

The GGUF header lists a trained context length of 262,144 tokens (256K). The KV cache grows with the context you use: about 1.5 GB at 8K and 6.0 GB at 32K.

Where can I download Salesforce xgen small 9B instruct r GGUF?

The files are on Hugging Face in the ArtusDev/Salesforce_xgen-small-9B-instruct-r-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 Salesforce xgen small 9B instruct r use?

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

Other GGUFs of xgen-small-9B-instruct-r

Similar models

Browse all →

More from ArtusDev

All by ArtusDev →

More Xgen models

All Xgen →

Other medium models

All medium models →