GP

gpt sw3 20b

GptGGUF by AI-Sweden-ModelsUpdated 2026-06-24
Download on Hugging Face
Parameters20.7B
Context2K
Layers—
Architecturegpt2
Smallest quant13.3 GB
Quick answer

gpt sw3 20b needs about 15.3 GB of memory at Q4_K_M (a 13.3 GB file) with an 8K context window, so it fits on a 16 GB GPU. This repository has 2 quants, from 13.3 GB (Q4_K_M) to 15.4 GB (Q5_K_M).

gpt sw3 20b is a 20.7B-parameter Gpt model in GGUF format, quantized by AI-Sweden-Models. Its trained context length is 2K tokens. The repository has 2 quant files, from 13.3 GB (Q4_K_M) to 15.4 GB (Q5_K_M).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q4_K_M13.3 GB 14.2 GB
Too big Get file →
Q5_K_M15.4 GB 16.4 GB
Too big Get file →

What GPU do you need for gpt sw3 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: 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: the best quant that fits is Q4_K_M (13.3 GB file, about 15.3 GB in use).
  • 24 GB VRAM: the best quant that fits is Q5_K_M (15.4 GB file, about 17.8 GB in use).

Which gpt sw3 20b quant should you choose?

Q4_K_M is the usual starting point for gpt sw3 20b: it balances file size and quality well. Here it is a 13.3 GB file.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturegpt2
Parameters20.7B
Trained context2,048 tokens

Source

Quantized byAI-Sweden-Models
FamilyGpt
Licenseother
Downloads (HF)0
Last updated2026-06-24

Frequently asked questions about gpt sw3 20b

How much VRAM does gpt sw3 20b need?

About 15.3 GB at Q4_K_M with an 8K context window. That is the 13.3 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 gpt sw3 20b on an 8 GB GPU?

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

What is the file size of gpt sw3 20b GGUF?

It depends on the quant: Q4_K_M is 13.3 GB, Q5_K_M is 15.4 GB.

What context length does gpt sw3 20b support?

The GGUF header lists a trained context length of 2,048 tokens (2K).

Where can I download gpt sw3 20b GGUF?

The files are on Hugging Face in the AI-Sweden-Models/gpt-sw3-20b-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 gpt sw3 20b 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.

Similar models

Browse all →

More from AI-Sweden-Models

All by AI-Sweden-Models →

More Gpt models

All Gpt →

Other medium models

All medium models →