ERNIE-4.5-21B-A3B-PT
Support summary
ERNIE-4.5-21B-A3B-PT is a checkpoint published by Baidu, built on the Ernie4_5_MoeForCausalLM architecture. The newest indexed releases vLLM 0.28.0 and SGLang 0.5.19 both document support.
vLLM documents support in 20 of 20 indexed releases, from 0.17.0 to 0.28.0. SGLang documents support in 13 of 13 indexed releases, from 0.5.10 to 0.5.19.
- Documented quantization
- BF16
- Documented features
- Speculative decoding
- Configured context
- 131,072 tokens
- License
- apache-2.0
Hardware, quantization and features count only statements about this checkpoint; engine-wide capabilities are listed with each release.
Hugging Face model card
- Publisher
- Baidu
- Task
- text generation
- License
- apache-2.0
- Library
- transformers
- Architecture
- Ernie4_5_MoeForCausalLM
- Weight tensor elements
- 21.9B
- Tensor types
- F32, BF16
- Configured context
- 131,072 tokens
- Languages
- en, zh
- Weight access
- Public
- Repository created
- 2025-06-28
Model notes and sources
- vLLM v0.28.0 · docs/models/supported_models.md · 20 indexed revisions, v0.17.0 to v0.28.0
- SGLang v0.5.19 · docs/docs/supported-models/generative_models.mdx · 3 indexed revisions, v0.5.17 to v0.5.19
- SGLang v0.5.16 · docs_new/docs/supported-models/generative_models.mdx · 8 indexed revisions, v0.5.11 to v0.5.16
- SGLang v0.5.15.post1 · docs/supported_models/text_generation/generative_models.md · 9 indexed revisions, v0.5.10 to v0.5.15.post1
- baidu/ERNIE-4.5-21B-A3B-PT · publisher model card
- baidu/ERNIE-4.5-21B-A3B-PT · Hugging Face metadata
- baidu/ERNIE-4.5-21B-A3B-PT · publisher configuration
- vllm · models/baidu/ERNIE-4.5-21B-A3B-PT.yaml
- sglang · docs/src/snippets/autoregressive/ernie-45-deployment.jsx
- sglang · docs/cookbook/autoregressive/Ernie/Ernie4.5.mdx
- vllm · Ernie/Ernie4.5.md
- Reviewed
Engine support
3 engines
| Engine | Release | Checkpoint support | Evidence scope | Last known supported |
|---|---|---|---|---|
| vLLM | 0.28.0Newest indexed | Checkpoint evidenceSource: vLLM v0.28.0 · docs/models/supported_models.mdReviewed | 0.28.0This release | |
Features, dependencies and evidence for vLLM 0.28.0 | ||||
| SGLang | 0.5.19Newest indexed | Checkpoint evidenceSource: SGLang v0.5.19 · docs/docs/supported-models/generative_models.mdxReviewed | 0.5.19This release | |
Features, dependencies and evidence for SGLang 0.5.19 | ||||
| TensorRT-LLM | 1.2.1Newest indexed | No matching evidence curated | No supported release indexed | |
Features, dependencies and evidence for TensorRT-LLM 1.2.1 | ||||
Recipes and cookbooks
Plan a deployment of ERNIE-4.5-21B-A3B-PT
Pin checkpoint baidu/ERNIE-4.5-21B-A3B-PT at revision 87db95487941cb39592ee0abca3b9155a6d19c5c on a documented release (vLLM and SGLang). Verify quantized kernels, chat templates, and parser flags on your target GPU before production rollout.
- Indexed weights store F32, BF16 tensors; confirm your GPU architecture and engine build support this format natively.
- Configured maximum context is 131,072 tokens; cap
--max-model-len(or SGLang’s--context-length) to the longest prompt your workload actually serves so KV blocks stay available for concurrency. - Estimate weight and KV-cache memory for ERNIE-4.5-21B-A3B-PT, leaving headroom for runtime activations and CUDA graphs, then benchmark TTFT, TPOT, and throughput on representative traffic.