ER

ERNIE 4.5 300B A47B PT

ErnieGGUF by lmstudio-communityUpdated 2025-07-18
Download on Hugging Face
Parameters299B
Context128K
Layers54
Architectureernie4_5-moe
Smallest quant141.8 GB
Quick answer

ERNIE 4.5 300B A47B PT needs about 184.1 GB of memory at Q4_K_M (a 181.8 GB file) with an 8K context window, which is more than a 48 GB GPU holds. This repository has 4 quants, from 141.8 GB (Q3_K_L) to 318.3 GB (Q8_0). Longer context needs more: at 32K tokens the KV cache alone adds about 7.2 GB.

ERNIE 4.5 300B A47B PT is a 299B-parameter Ernie model in GGUF format, quantized by lmstudio-community. Its trained context length is 128K tokens. The repository has 4 quant files, from 141.8 GB (Q3_K_L) to 318.3 GB (Q8_0).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q3_K_L141.8 GB (4 parts) 144.1 GB
Too big Get file →
Q4_K_M181.8 GB (5 parts) 184.1 GB
Too big Get file →
Q6_K245.9 GB (7 parts) 248.2 GB
Too big Get file →
Q8_0318.3 GB (9 parts) 320.6 GB
Too big Get file →

What GPU do you need for ERNIE 4.5 300B A47B PT?

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: no quant fits at an 8K context.
  • 32 GB VRAM: no quant fits at an 8K context.
  • 48 GB VRAM: no quant fits at an 8K context.

Which ERNIE 4.5 300B A47B PT quant should you choose?

Q4_K_M is the usual starting point for ERNIE 4.5 300B A47B PT: it balances file size and quality well. Here it is a 181.8 GB file.

The Q8_0 file is 318.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 Q3_K_L at 141.8 GB, with the quality trade-offs that come with fewer bits. A reasonable choice when a 4-bit file will not fit, mostly on larger models. Quality loss is noticeable but often acceptable.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architectureernie4_5-moe
Parameters299B (approximate, mixture of experts)
Active parameters47B
Layers54
Trained context131,072 tokens
KV cache (fp16)216 KB per token

Source

Quantized bylmstudio-community
FamilyErnie
Licenseapache-2.0
Downloads (HF)60
Last updated2025-07-18

Frequently asked questions about ERNIE 4.5 300B A47B PT

How much VRAM does ERNIE 4.5 300B A47B PT need?

About 184.1 GB at Q4_K_M with an 8K context window. That is the 181.8 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 ERNIE 4.5 300B A47B PT on an 8 GB GPU?

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

What is the file size of ERNIE 4.5 300B A47B PT GGUF?

It depends on the quant: Q3_K_L is 141.8 GB, Q4_K_M is 181.8 GB, Q6_K is 245.9 GB, Q8_0 is 318.3 GB.

What context length does ERNIE 4.5 300B A47B PT support?

The GGUF header lists a trained context length of 131,072 tokens (128K). The KV cache grows with the context you use: about 1.8 GB at 8K and 7.2 GB at 32K.

Where can I download ERNIE 4.5 300B A47B PT GGUF?

The files are on Hugging Face in the lmstudio-community/ERNIE-4.5-300B-A47B-PT-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 ERNIE 4.5 300B A47B PT 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 lmstudio-community

All by lmstudio-community →

More Ernie models

All Ernie →

Other large models

All large models →