ApX logoApX logo

Hunyuan Large

Active Parameters

389B

Context Length

28K

Modality

Text

Architecture

Mixture of Experts

KV Cache Rate

960 KB/tok

License

Tencent Hunyuan Community License

Release Date

5 Nov 2024

Knowledge Cutoff

Sep 2024

API Pricing (per 1M)

Self-hosted only

Hardware Sizing

Precision

Context

Workload Memory: 831.43 GB

FP16 · 8K context

Base Weights: 821.43 GB

KV Cache: 7.50 GB

Runtime & Graphs: 2.50 GB

Minimum Required Hardware

8x NVIDIA H200 141GB

831.4 / 1015.2 GB usable · TP 8

Determine requirements for datacenter hardware:

Upgrade to Pro

Architecture Diagram

Input TokensToken EmbeddingPosition: AbsoluteHidden: 4.1k · Context: 28Kx 60 layersLayerNormPre-AttentionMulti-Head Attention64Q / 64KV headsHead dim: 64+LayerNormPre-FFNSparse MoE FFN (2/32 experts)GELU+Final LayerNormOutput Logits

Evaluation Benchmarks

Rank

#158

BenchmarkScoreRank

General Text

Text Arena

1326

146

Rankings

Overall Rank

#158

Coding Rank

-

About Hunyuan Large

Hunyuan-DiT is Tencent's large-scale Mixture-of-Experts diffusion transformer engineered for high-fidelity text-to-image synthesis up to 4096x4096 resolution. It features bilingual CLIP and T5 encoders for fine-grained prompt comprehension and multi-turn editing.

Technical Specifications

Attention

Attention Structure

Multi-Head Attention

Attention Heads

64

Key-Value Heads

64

Position Embedding

Absolute Position Embedding

Normalization

Layer Normalization

Activation Function

GELU

Dimensions

Hidden Dimension Size

4,096

Number of Layers

60

Mixture of Experts

Total Expert Parameters

52.0B

Number of Experts

32

Active Experts

2