Baidu·Ernie4_5ForCausalLM

ERNIE 4.5 0.3B PT — Hardware Requirements & GPU Compatibility

Chat

ERNIE 4.5 0.3B PT is a 361M-parameter open language model from Baidu. It supports a context window of up to 131,072 tokens. At BF16 it needs about 1.04 GB of VRAM — see which GPUs and Macs can run it below.

30.0K downloads 111 likes131K context

Specifications

Publisher
Baidu
Parameters
361M
Architecture
Ernie4_5ForCausalLM
Context Length
131,072 tokens
Vocabulary Size
103,424
Release Date
2025-08-29
License
Apache 2.0

Get Started

How Much VRAM Does ERNIE 4.5 0.3B PT Need?

Select a quantization to see compatible GPUs below.

QuantizationBitsVRAM
BF1616.001.0 GB

Which GPUs Can Run ERNIE 4.5 0.3B PT?

BF16 · 1.0 GB

ERNIE 4.5 0.3B PT (BF16) requires 1.0 GB of VRAM to load the model weights. For comfortable inference with headroom for KV cache and system overhead, 2+ GB is recommended. Using the full 131K context window can add up to 1.2 GB, bringing total usage to 2.2 GB. 35 GPUs can run it, including NVIDIA GeForce RTX 5090, NVIDIA GeForce RTX 3090 Ti.

Which Devices Can Run ERNIE 4.5 0.3B PT?

BF16 · 1.0 GB

33 devices with unified memory can run ERNIE 4.5 0.3B PT, including NVIDIA DGX H100, NVIDIA DGX A100 640GB.

Related Models

Frequently Asked Questions

How much VRAM does ERNIE 4.5 0.3B PT need?

ERNIE 4.5 0.3B PT requires 1.0 GB of VRAM at BF16. Full 131K context adds up to 1.2 GB (2.2 GB total).

VRAM = Weights + KV Cache + Overhead

Weights = 361M × 16 bits ÷ 8 = 0.7 GB

KV Cache + Overhead 0.3 GB (at 2K context + ~0.3 GB framework)

KV Cache + Overhead 1.5 GB (at full 131K context)

VRAM usage by quantization

1.0 GB
2.2 GB

Learn more about VRAM estimation →

Can I run ERNIE 4.5 0.3B PT on a Mac?

ERNIE 4.5 0.3B PT requires at least 1.0 GB at BF16, which exceeds the unified memory of most consumer Macs. You would need a Mac Studio or Mac Pro with a high-memory configuration.

Can I run ERNIE 4.5 0.3B PT locally?

Yes — ERNIE 4.5 0.3B PT can run locally on consumer hardware. At BF16 quantization it needs 1.0 GB of VRAM. Popular tools include Ollama, LM Studio, and llama.cpp.

How fast is ERNIE 4.5 0.3B PT?

At BF16, ERNIE 4.5 0.3B PT can reach ~2803 tok/s on AMD Instinct MI300X. On NVIDIA GeForce RTX 4090: ~630 tok/s. Speed depends mainly on GPU memory bandwidth. Real-world results typically within ±20%.

tok/s = (bandwidth GB/s ÷ model GB) × efficiency

Example: AMD Instinct MI300X5300 ÷ 1.0 × 0.55 = ~2803 tok/s

Estimated speed at BF16 (1.0 GB)

~2803 tok/s
~630 tok/s
~2095 tok/s
~1733 tok/s

Real-world results typically within ±20%. Speed depends on batch size, quantization kernel, and software stack.

Learn more about tok/s estimation →

What's the download size of ERNIE 4.5 0.3B PT?

At BF16, the download is about 0.72 GB.

Which GPUs can run ERNIE 4.5 0.3B PT?

35 consumer GPUs can run ERNIE 4.5 0.3B PT at BF16 (1.0 GB). Top options include AMD Radeon RX 6700 XT, AMD Radeon RX 6800, AMD Radeon RX 6800 XT. 35 GPUs have plenty of headroom for comfortable inference.

Which devices can run ERNIE 4.5 0.3B PT?

33 devices with unified memory can run ERNIE 4.5 0.3B PT at BF16 (1.0 GB), including Mac Mini M4 (16 GB), Mac Mini M4 (32 GB), Mac Mini M4 Pro (24 GB), Mac Mini M4 Pro (48 GB). Apple Silicon Macs use unified memory shared between CPU and GPU, making them well-suited for local LLM inference.