NVIDIA H100 Tensor Core GPU Architecture White Paper

hardware nv-hopper-h100-whitepaper
gpu-architecturetensor-coreh100hopperfp8transformer-engine

NVIDIA H100 Tensor Core GPU Architecture White Paper #

NVIDIA | 2022-03 | https://resources.nvidia.com/en-us-tensor-core/gtc22-whitepaper-hopper Category: hardware | Tags: gpu-architecture, tensor-core, h100, hopper, transformer-engine, fp8, tma, thread-block-cluster Read: 2026-04-16

Core Contribution #

第四代Tensor Core引入FP8精度和Transformer Engine自动精度管理,配合TMA硬件加速和Thread Block Clusters编程模型,实现LLM训练30x加速。

Summary #

H100基于TSMC 4N定制工艺(非标准N4),die面积814mm²,集成80B晶体管。SXM5版本配备132个SM、16,896个CUDA Cores(128/SM,相比A100的64/SM翻倍)和528个第四代Tensor Core。最核心创新是FP8 Tensor Core——支持E4M3和E5M2两种FP8变体,峰值吞吐达1,978.9 TFLOPS(3,957.8 sparse),相比A100 FP16 TC的312 TFLOPS提升6.3倍。与FP8配套的Transformer Engine是软硬件联合设计——在每一层前向/反向传播中自动选择FP8或FP16精度,通过per-tensor动态缩放因子(dynamic scaling factor)维持训练收敛性,使用户无需手动调整混合精度策略。

数据搬运方面,H100引入TMA (Tensor Memory Accelerator)——一个专用DMA引擎,可直接将多维tensor从global memory搬运到shared memory(或反向),支持任意stride、padding和坐标变换,将原本需要数十条指令的地址计算和数据拷贝压缩为单条TMA指令,大幅降低数据搬运的指令开销和寄存器压力。编程模型上新增Thread Block Clusters层级——允许多个Thread Block跨SM协作,配合Distributed Shared Memory实现SM间直接load/store shared memory内容(无需经过L2),这对GEMM的tile分解和通信-计算overlap至关重要。

互联方面,NVLink 4.0提供18条链路共900GB/s(A100的1.5x)。更革命性的是NVLink Switch System——通过外部NVLink Switch芯片实现最多256个GPU的NVLink域,突破了DGX 8-GPU的NVLink拓扑限制,为大规模模型并行(TP/EP跨节点)铺平道路。

Key Findings #

Key Tables #

Table 1: H100 SXM5 Performance Specs (All Data Types) #

Data TypeTensor CoreTensor Core + SparsityCUDA Core
FP6466.9 TFLOPS33.5 TFLOPS
TF32494.7 TFLOPS989.4 TFLOPS
FP3266.9 TFLOPS
BF16989.4 TFLOPS1,978.9 TFLOPS
FP16989.4 TFLOPS1,978.9 TFLOPS
FP81,978.9 TFLOPS3,957.8 TFLOPS
INT81,978.9 TOPS3,957.8 TOPS

Table 2: H100 vs A100 Comparison #

MetricA100 SXM4 (80GB)H100 SXM5Speedup
ProcessTSMC 7nmTSMC 4N~2 nodes
Die Size826 mm²814 mm²similar
Transistors54.2B80B1.48x
SMs1081321.22x
CUDA Cores/SM641282x
CUDA Cores Total6,91216,8962.44x
Tensor Cores432 (3rd gen)528 (4th gen)1.22x
FP649.7 TF33.5 TF3.45x
FP64 TC19.5 TF66.9 TF3.43x
FP3219.5 TF66.9 TF3.43x
TF32 TC156 TF494.7 TF3.17x
FP16 TC312 TF989.4 TF3.17x
FP8 TC1,978.9 TFnew
Memory80 GB HBM2e80 GB HBM3same cap
Bandwidth2,039 GB/s3,350 GB/s1.64x
L2 Cache40 MB50 MB1.25x
Shared/L1 per SM192 KB256 KB1.33x
NVLink BW600 GB/s900 GB/s1.5x
NVLink Domain8 GPU256 GPU32x
PCIeGen 4Gen 52x
TDP400W700W1.75x
TFLOPS/W (FP16 TC)0.781.411.81x

Table 3: H100 PCIe vs SXM5 #

MetricH100 PCIeH100 SXM5
SMs114132
CUDA Cores14,59216,896
Tensor Cores456528
FP8 TC1,513 TF1,979 TF
Memory80 GB HBM2e80 GB HBM3
Bandwidth2,039 GB/s3,350 GB/s
NVLink600 GB/s900 GB/s
TDP350W700W

Limitations #

Infrastructure Impact #


Deep Analysis (hardware) #

1. Architecture Overview & Naming #

Full GH100 die: 8 GPCs, 72 TPCs (9/GPC), 2 SMs/TPC = 144 SMs, 576 4th-gen Tensor Cores, 18,432 FP32 CUDA Cores (128/SM)。Memory: 6 HBM3/HBM2e stacks, 12 × 512-bit controllers, 60 MB L2 Cache。H100 SXM5产品: 132 SMs (91.7%), 528 TCs, 16,896 CUDA Cores; 5 HBM3 stacks, 10 controllers, 50 MB L2, 80 GB HBM3 @ 3.35 TB/s。H100 PCIe: 114 SMs, 456 TCs, 14,592 CUDA Cores; 80 GB HBM2e @ 2.04 TB/s, 350W。

Figure 1: GH100 Full GPU Block Diagram #

Figure 1

解读: GH100全芯片架构图展示完整8 GPC布局,每GPC包含9个TPC(vs GA100的8个),共72 TPC × 2 SM/TPC = 144 SMs。与GA100相比,GH100在接近的die面积(814 vs 826 mm²)和更先进工艺(4N vs 7nm)下多塞了16个SM(144 vs 128)和47%更多晶体管(80B vs 54.2B)。图中可见GPC围绕中央L2 Cache(full die 60MB)排列,两侧为HBM3 memory controller和NVLink 4.0接口(18条链路)。相比GA100的每GPC 8 TPC,GH100每GPC多1个TPC——这是TSMC 4N密度优势在SM count上的直接体现。H100 SXM5禁用12个SM(144→132)用于良率。

2. Generational Delta (H100 Hopper vs A100 Ampere) #

2a. 新增单元 (Added) #

New Unit / FeatureDescriptionWhy it matters for AI
FP8 Tensor Core (E4M3/E5M2)8-bit浮点TC,两种变体:E4M3(精度优先)、E5M2(范围优先)Training可用FP8达FP16精度,2x FP16吞吐 → 1,978.9 TFLOPS
Transformer EngineHW+SW联合设计,逐层动态FP8/FP16切换 + per-tensor scaling自动化FP8混合精度训练,无需手动调参
TMA (Tensor Memory Accelerator)专用DMA引擎,单指令搬运多维tensor(1D-5D) Global↔Shared减少50+条地址计算/拷贝指令,释放RF和warp scheduler
Thread Block Clusters编程模型新层级:多Thread Block跨SM协作更大协作粒度→更优tile分解和通信-计算overlap
Distributed Shared Memory (DSMEM)SM间直接load/store对方shared memory (bypass L2)低延迟SM间通信,split-K GEMM和Attention关键
DPX Instructions动态规划加速(Smith-Waterman, Floyd-Warshall)基因组学/路由优化7x加速
NVLink Switch System外部NVLink Switch芯片,最多256 GPU NVLink域TP/EP跨节点扩展不走InfiniBand
Secure MIGMIG实例运行在TEE中 + 显存/通信加密金融/医疗多租户安全部署
WGMMA InstructionsWarp-group(4 warps/128 threads)协作矩阵运算更大MMA shape → TC utilization提升
Asynchronous Transaction Barrier原子数据搬运+同步精细的compute-copy-sync overlap

2b. 删除/移除 (Removed) #

Removed Unit / FeatureReasonImpact
INT4 Tensor CoreFP8覆盖INT4使用场景且精度更好FP8取代INT4作为最低精度格式
Binary Tensor Core无实际AI workload使用无影响

2c. 增强/升级 (Enhanced) #

Enhanced UnitA100 (Ampere)H100 (Hopper)ImprovementHow Measured
Tensor Core Gen3rd gen4th gen2x MMA/SM clock-for-clockPer-SM per-type
CUDA Cores/SM641282xDual FP32 datapath restored
FP64 Units/SM32642xHalf-rate FP64
SM Count1081321.22xProduct-level
Boost Clock (TC)1,410 MHz1,830 MHz1.30xDerived from TC specs
L2 Cache40 MB50 MB1.25xTotal
L1/SMEM per SM192 KB256 KB (max 228KB SMEM)1.33x
HBM GenerationHBM2eHBM3 (first GPU)New standard
HBM Bandwidth2,039 GB/s3,350 GB/s1.64xPeak
NVLink12 links, 600 GB/s18 links, 900 GB/s1.5xBidirectional
NVSwitchv2 (36 ports)v3 (64 ports, 3.2 TB/s, in-network AllReduce)1.78x ports
NVLink Domain8 GPU256 GPU32xNVLink Switch System
PCIeGen 4Gen 52x BW
TDP400W700W1.75x

2d. 架构级变更 #

3. Compute Unit Deep Dive #

3a. SM Structure #

Figure 2: GH100 Streaming Multiprocessor (SM) #

Figure 2

解读: GH100 SM内部架构展示4个Sub-partition的对称布局。vs GA100的关键差异:(1) 每Sub-partition有32个FP32 CUDA Core(16 FP32-dedicated + 16 FP32/INT32,而非A100的16 FP32 + 16 INT32-only)——H100的INT32通路也可执行FP32;(2) 4th-gen Tensor Core体积更大、吞吐翻倍;(3) L1/Shared从192→256 KB;(4) 新增TMA单元。Register File保持256 KB/SM。新增DSMEM路径允许跨SM直接访问shared memory。

SM完整配置:

ComponentPer Sub-PartitionPer SMvs A100
FP32-dedicated Cores1664same
FP32/INT32 Dual Cores1664NEW (was INT32-only in A100)
Total FP32 Cores321282x (64→128)
FP64 Units16642x (32→64)
4th Gen Tensor Core14same count, 2x throughput
Warp Scheduler14same
Dispatch Unit14same
LD/ST Units832same
SFU416same
Register File64 KB256 KBsame
L1/Shared Memory256 KB (max 228 KB SMEM)1.33x
Max Warps1664same
Max Threads5122,048same
TMA Unit1 (SM-level, shared)NEW

3b. Fourth-Generation Tensor Core Specifications #

Figure 3: FP8 Tensor Core — 6x Throughput vs A100 #

Figure 3

解读: H100 FP8 TC vs A100 FP16 TC的6.3x吞吐分解图。四个因子级联相乘:\( 1.22\times \)(SM数 108→132) \( \times\ 2\times \)(TC throughput翻倍) \( \times\ 2\times \)(FP8半宽) \( \times\ 1.30\times \)(时钟 1.41→1.83 GHz) \( \approx 6.3\times \)。这张图是理解H100计算能力来源的关键——6x非单一突破,而是四个正交因素的复合效应。注意1.30x clock factor不是max boost(~1.98 GHz)而是TC-heavy workload的sustainable boost(1.83 GHz)。

Data TypeInputAccumulatorFMA/TC/clkFLOPS/TC/clkWGMMA Shape
FP8 (E4M3/E5M2)8-bitFP32/FP161,0242,048m64n256k32
FP16FP16FP32/FP165121,024m64n256k16
BF16BF16FP325121,024m64n256k16
TF32TF32 (from FP32)FP32256512m64n256k8
FP64FP64FP643264m16n8k8 (warp-level)
INT8INT8INT321,0242,048m64n256k32

每种数据类型per-TC吞吐均为A100的精确2x。TC内部256-bit数据通路宽度固定——operand宽度减半时K维度翻倍(FP16 K=16 → FP8 K=32),吞吐翻倍。

WGMMA (Warp Group MMA): H100新指令。4 warps (128 threads)协作执行大矩阵运算(m64nNk{K}),WGMMA可直接从Shared Memory读取一个operand(bypass RF),减少RF bandwidth pressure和instruction overhead。

FP8数据格式:

4. Peak Performance Derivation #

基准参数 (H100 SXM5):

重要发现: H100首次出现TC specs和CUDA specs使用不同有效boost clock。原因: 4th-gen TC功耗密度远高于CUDA ALU——528个TC全力运行FP16/FP8 MMA时功耗逼近700W TDP极限,GPU降频至~1,830 MHz;CUDA-only workload功耗较低,可boost至~1,980 MHz。

4a. FP32 / FP64 CUDA Core Derivation (at ~1,980 MHz) #

\[

\text{FP32 Peak} = 132 \times 128 \times 2 \times 1.98\ \text{GHz} = 66{,}940\ \text{GFLOPS} \approx 66.9\ \text{TFLOPS}\ \checkmark

\]

\[

\text{FP64 Peak} = 132 \times 64 \times 2 \times 1.98\ \text{GHz} = 33{,}470\ \text{GFLOPS} \approx 33.5\ \text{TFLOPS}\ \checkmark

\]

\[

\text{FP16 CUDA} = 132 \times 128 \times 2 \times 2 \times 1.98 = 133{,}881\ \text{GFLOPS} \approx 133.8\ \text{TFLOPS}\ \checkmark \quad (2{:}1\ \text{packing})

\]

4b. 逐数据类型 Tensor Core 推导 (at 1,830 MHz) #

FP16 / BF16 Tensor Core:

ParameterValueSource
SMs132Whitepaper
TCs per SM4Whitepaper Fig 7
FLOPS per TC per cycle1,0242x A100's 512 (whitepaper: "2x MMA rate per SM")
FLOPS per SM per cycle4,0964 × 1,024
TC Boost Clock1.830 GHzDerived: 989,400 / (132 × 4,096) = 1.830
Peak FP16 TC132 × 4,096 × 1.830 = 989,429 ≈ 989.4 TFLOPS✓ matches official

FP8 Tensor Core:

ParameterValueSource
FLOPS per TC per cycle2,0482x FP16 (FP8 operand half-width)
Peak FP8 TC132 × 4 × 2,048 × 1.830 = 1,978,858 ≈ 1,978.9 TFLOPS

TF32 Tensor Core:

ParameterValueSource
FLOPS per TC per cycle512Half FP16 (TF32 is 19-bit)
Peak TF32 TC132 × 4 × 512 × 1.830 = 494,714 ≈ 494.7 TFLOPS

INT8 Tensor Core:

ParameterValueSource
Ops per TC per cycle2,048Same as FP8
Peak INT8 TC132 × 4 × 2,048 × 1.830 = 1,978,858 ≈ 1,978.9 TOPS

FP64 Tensor Core (at ~1,980 MHz — lower power density):

ParameterValueSource
FLOPS per TC per cycle642x A100's 32
Peak FP64 TC132 × 4 × 64 × 1.980 = 66,940 ≈ 66.9 TFLOPS

所有推导与官方spec完全吻合。Clock分化验证: FP16/TF32/FP8/INT8 TC consistent at 1,830 MHz; FP32/FP64 CUDA and FP64 TC consistent at 1,980 MHz; ratio \( 1{,}980/1{,}830 = 1.082 \) (8.2% higher boost for lighter workloads)。

6x Improvement分解 (H100 FP8 TC vs A100 FP16 TC):

\[

\frac{\text{H100 FP8}}{\text{A100 FP16}} = \frac{1{,}978.9}{312} = 6.34\times

\]

\[

= \frac{132}{108} \times \frac{2048}{512} \times \frac{1.830}{1.410} = 1.222 \times 4.0 \times 1.298 = 6.34\times\ \checkmark

\]

其中 \( 4.0\times = 2\times\ (\text{TC throughput/TC}) \times 2\times\ (\text{FP8 vs FP16}) \)

Figure 9: H100 vs A100 Comparison Table #

Figure 9

解读: 官方H100 vs A100全面对比表。关键数据: FP8 TC 6.3x(sparse达12.7x)、FP16 TC 3.2x、FP64 TC 3.4x、HBM BW 1.64x、NVLink 1.5x、NVLink Domain 32x(8→256 GPU)。TDP从400W到700W(+75%)——性能/功耗比FP16 TC为 \( 3.2/1.75 = 1.83\times \) 改善。

4c. Sparsity Multiplier #

H100保留A100的2:4 Structured Sparsity,所有TC数据类型(含FP8)吞吐翻倍: FP8 Sparse = 3,957.8 TFLOPS, FP16 Sparse = 1,978.9 TFLOPS。条件与A100相同(权重需2:4结构化剪枝)。

4d. 与A100对比 #

MetricA100 (Ampere)H100 (Hopper)RatioSource of Improvement
FP16 TC312 TFLOPS989.4 TFLOPS3.17x1.22x SMs × 2x TC/SM × 1.30x clock
FP8 TC1,978.9 TFLOPS6.3x vs FP16New type: 2x FP16 × 3.17x
TF32 TC156 TFLOPS494.7 TFLOPS3.17xSame decomposition as FP16
FP64 TC19.5 TFLOPS66.9 TFLOPS3.43x1.22x SMs × 2x TC/SM × 1.40x clock
FP32 CUDA19.5 TFLOPS66.9 TFLOPS3.43x1.22x SMs × 2x cores/SM × 1.40x clock
INT8 TC624 TOPS1,978.9 TOPS3.17xSame as FP16

5. Memory Subsystem #

5a. HBM3 Specifications #

ParameterH100 SXM5H100 PCIe
Memory TypeHBM3 (first GPU with HBM3)HBM2e
Capacity80 GB80 GB
HBM Stacks55
Memory Controllers10 × 512-bit10 × 512-bit
Bus Width5,120 bits5,120 bits
Peak Bandwidth3,350 GB/s (3.35 TB/s)2,039 GB/s

带宽推导 (SXM5 HBM3):

HBM3 data rate: \( \sim 5.6\ \text{Gbps/pin} \) (vs HBM2e \( \sim 3.2\ \text{Gbps} \))

\[

\text{BW} = \frac{5 \times 1{,}024 \times 5.24}{8} \approx 3{,}350\ \text{GB/s}\ \checkmark

\]

H200升级: 141 GB HBM3e @ 4.8 TB/s (容量1.76x, 带宽1.43x vs H100 SXM5)。

5b. Cache Hierarchy #

LevelSizeBandwidth (est.)Latency (est.)Notes
Register File256 KB/SM (33.8 MB total)~26 TB/s per SM0-1 cycleSame as A100
L1 / Shared Memory256 KB/SM (33.8 MB total)~26 TB/s per SM~20-28 cyclesMax 228 KB SMEM; 1.33x A100
L2 Cache50 MB~6.5 TB/s (est.)~200 cycles1.25x A100; MIG-partitioned
HBM380 GB3.35 TB/s~400+ cyclesFirst HBM3 GPU

TMA对cache层次的影响: TMA将tensor搬运从"指令流+RF+SMEM"路径变为"DMA engine直写SMEM"路径。传统方式: warp threads各自计算地址→RF发出load→数据到RF→store到SMEM(50+条指令)。TMA方式: 单条TMA指令→DMA engine直接搬整个tile(异步)。释放的warp scheduler和RF资源分配给compute。

5c. 算力-带宽比 (Ops:Byte Ratio) #

MetricValue
FP16 TC Peak989.4 TFLOPS
FP8 TC Peak1,978.9 TFLOPS
HBM3 Bandwidth3.35 TB/s
FP16 Ops:Byte\( 989.4 / 3.35 = 295 \)
FP8 Ops:Byte\( 1{,}978.9 / 3.35 = 591 \)
TF32 TC Ops:Byte\( 494.7 / 3.35 = 148 \)
FP64 TC Ops:Byte\( 66.9 / 3.35 = 20.0 \)

Compute-Bound阈值 (FP16 GEMM, square M=N=K=n):

\[

\text{AI} = \frac{n}{3} \quad (\text{FP16 elements, 2 bytes each})

\]

\[

\text{Compute-bound:}\ \frac{n}{3} \geq 295 \implies n \geq 885 \implies n \geq 1{,}024

\]

关键insight: H100的Ops:Byte(295 FP16, 591 FP8)比A100(153)几乎翻倍——compute增长(3.2x)远快于bandwidth增长(1.64x)。Attention/LayerNorm/Activation等elementwise操作更加memory-bound → Flash Attention和kernel fusion在H100上极端重要。TMA + DSMEM正是为缓解这一矛盾而设计。

6. Interconnect & I/O #

6a. Chip-to-Chip Interconnect #

LinkPer-Link BW (bidir)Total BW (bidir)LinksProtocol
NVLink 4.050 GB/s900 GB/s18Proprietary, PAM4 50 Gbps/lane
PCIe Gen 5 x16128 GB/s128 GB/s1PCIe 5.0 (2x Gen 4)

NVLink 4.0 vs 3.0: 信号速率不变(50 Gbps/lane)但链路数12→18 → 总带宽600→900 GB/s(1.5x)。新增in-network AllReduce(SHARP): NVSwitch内直接完成reduction,对集合通信effective带宽可达3x raw带宽。

6b. Scale-Up Topology #

DGX H100: 8× H100 SXM5 + 4× NVSwitch 3.0

Figure 8: DGX SuperPOD Comparison #

Figure 8

解读: DGX A100 vs DGX H100 32-node/256-GPU SuperPOD对比。H100 SuperPOD通过NVLink Switch System将256个GPU连接在统一NVLink域——这是革命性变化。A100 SuperPOD跨节点必须走InfiniBand(200 Gbps),NVLink仅限节点内8 GPU。H100 SuperPOD中256 GPU可通过NVLink Switch实现全NVLink带宽跨节点通信(每GPU 900 GB/s)。SuperPOD FP8算力: 256 × 1,978.9 = ~507 PFLOPS = 0.5 ExaFLOP FP8 (1 ExaFLOP sparse)。

NVLink Switch System (全新):

6c. Scale-Out Interface #

7. Power, Thermal & Efficiency #

ParameterValue
TDP (SXM5)700W
TDP (PCIe)350W
CoolingLiquid cooling recommended for SXM5
ProcessTSMC 4N custom

7a. 能效代际对比 #

MetricA100 SXM4 (400W)H100 SXM5 (700W)Improvement
FP16 TC TFLOPS/W\( 312/400 = 0.780 \)\( 989.4/700 = 1.413 \)1.81x
FP8 TC TFLOPS/W\( 1978.9/700 = 2.827 \)
FP16 Sparse TFLOPS/W\( 624/400 = 1.560 \)\( 1978.9/700 = 2.827 \)1.81x
FP32 CUDA TFLOPS/W\( 19.5/400 = 0.049 \)\( 66.9/700 = 0.096 \)1.96x
FP64 TC TFLOPS/W\( 19.5/400 = 0.049 \)\( 66.9/700 = 0.096 \)1.96x

H100能效提升~1.8x(FP16 TC)来自: 4N工艺(~1.5x能效改善) + TC微架构优化(30% operand delivery功耗下降)。TDP增长75%(400→700W)但性能增长217%(312→989.4 TF) → 净能效 \( 1.81\times \)。700W TDP使SXM5液冷几乎必需(DGX H100标配液冷)。

8. Software & ISA Impact #

8a. ISA Changes (Compute Capability 9.0) #

新增指令:

Figure 5: TMA Architecture #

Figure 5

解读: TMA工作原理。TMA Copy Descriptor包含tensor的base address、shape、stride、padding信息(设置一次)。TMA指令接收descriptor + coordinate(tile起始坐标)→硬件自动计算所有元素物理地址→批量异步搬运到Shared Memory。与A100的LDGSTS(每线程独立计算地址+逐向量拷贝)对比,TMA一次搬整个multi-dimensional tile(1D-5D)且硬件处理boundary padding(越界填零)。TMA还支持Shared→Global(store_async)和Cluster内DSMEM间搬运。

Figure 6: Thread Block Clusters #

Figure 6

解读: Thread Block Cluster编程模型。左: 传统CUDA(A100) Grid包含独立Thread Blocks,跨Block通信只能通过Global Memory/L2。右: H100 Grid可包含Clusters,每Cluster内多Block调度在相邻SM上,通过DSMEM直接通信(bypass L2)。图中展示Cluster内Block间数据交换路径——通过SM间专用网络(GPC内)而非L2 crossbar。对split-K GEMM至关重要: 不同Block计算同一output tile的部分结果,通过DSMEM直接累加。

8b. 编译器与软件栈 #

Figure 7: Transformer Engine Conceptual Operation #

Figure 7

解读: Transformer Engine工作流程。每层Transformer的Linear/Attention中: (1) 输入FP16/BF16经量化→FP8(E4M3 for forward, E5M2 for backward),使用per-tensor FP32 scaling factor; (2) FP8 Tensor Core执行矩阵运算,FP32累加器保持精度; (3) 输出反量化回FP16/BF16。Delayed scaling策略: 基于前几iteration的amax统计量预测当前最优scale。Master weights和optimizer states始终FP32。

8c. 编程模型变化 #

9. AI Workload Impact Analysis #

9a. GEMM (矩阵乘法) #

9b. Attention #

9c. MoE (Mixture of Experts) #

9d. Training vs Inference #

10. Competitive Positioning — H100 vs AMD MI250X / MI300X #

MetricH100 SXM5 (2022)MI250X (2021)MI300X (2023)
ProcessTSMC 4NTSMC N6TSMC N5/N6
Die/Package814 mm² (mono)2× 228 mm² (MCM)8 XCDs + 4 IODs (chiplet)
Transistors80B58B153B
CUs/SMs132 SMs220 CUs304 CUs
FP16 Matrix989.4 TFLOPS383 TFLOPS1,307.4 TFLOPS
FP8 Matrix1,978.9 TFLOPS2,614.9 TFLOPS
FP64 Matrix66.9 TFLOPS95.7 TFLOPS163.4 TFLOPS
Memory80 GB HBM3128 GB HBM2e192 GB HBM3
Bandwidth3.35 TB/s3.28 TB/s5.3 TB/s
InterconnectNVLink 900 GB/sIF 800 GB/sIF 896 GB/s
TDP700W500W750W
Sparsity2:4 StructuredNoNo
Transformer EngineYes (FP8 auto)NoNo
TMA / DSMEMYesNoNo
SW EcosystemCUDA (dominant)ROCmROCm (maturing)

竞品分析:

11. Comprehensive Spec Sheet #

CategoryParameterH100 SXM5
ArchitectureArchitecture NameNVIDIA Hopper
GPU Code NameGH100
Process NodeTSMC 4N (custom)
Die Size814 mm²
Transistors80 billion
PackagingMonolithic die
ComputeGPCs8
TPCs66
SMs132
CUDA Cores (FP32)16,896 (128/SM)
FP64 Units8,448 (64/SM)
Tensor Cores528 (4/SM, 4th gen)
TC Boost Clock1,830 MHz
CUDA Max Boost~1,980 MHz
TC PerformanceFP8 TC1,978.9 TFLOPS (3,957.8 sparse)
FP16 TC989.4 TFLOPS (1,978.9 sparse)
BF16 TC989.4 TFLOPS (1,978.9 sparse)
TF32 TC494.7 TFLOPS (989.4 sparse)
FP64 TC66.9 TFLOPS
INT8 TC1,978.9 TOPS (3,957.8 sparse)
CUDA PerformanceFP6433.5 TFLOPS
FP3266.9 TFLOPS
FP16133.8 TFLOPS
BF16133.8 TFLOPS
MemoryHBM TypeHBM3
Capacity80 GB
Stacks5
Controllers10 × 512-bit
Bandwidth3,350 GB/s
L2 Cache50 MB
L1/SMEM per SM256 KB (max 228 KB SMEM)
Register File per SM256 KB
InterconnectNVLink Version4.0
NVLink Links18
NVLink BW (bidir)900 GB/s
NVLink Domain (Switch)256 GPU
NVSwitchv3 (64 ports, 3.2 TB/s)
PCIeGen 5 x16 (128 GB/s)
PowerTDP (SXM5)700W
TDP (PCIe)350W
FP16 TC TFLOPS/W1.413
FP8 TC TFLOPS/W2.827
FeaturesTransformer EngineYes (FP8/FP16 auto)
TMAYes (1D-5D tensor)
Thread Block ClustersYes
Distributed Shared MemoryYes
MIGUp to 7 Instances + Secure MIG
Sparsity2:4 Structured
DPX InstructionsYes
Compute Capability9.0

12. Infrastructure Impact #

LayerImpact
AlgorithmFP8 Transformer Engine改变训练精度策略——从"手动AMP FP16/BF16"到"自动FP8/FP16切换";per-tensor delayed scaling成为数值精度新研究方向;催生FP8-aware量化训练算法和MXFP8标准研究
KernelTMA彻底改变data staging范式: 从"warp threads计算地址+load+store"到"单指令DMA搬运整tile";WGMMA从SMEM直接读operand(bypass RF)→减少RF bandwidth pressure;Cluster+DSMEM使跨SM reduction成为可能(Flash Attention v3, split-K GEMM)。CUTLASS 3.x全面重写以利用新ISA
Frameworktransformer_engine库成为PyTorch/JAX的FP8训练标准接口;TensorRT-LLM利用FP8路径优化LLM推理;DeepSpeed/Megatron适配Transformer Engine;PyTorch 2.0+通过torch.float8_e4m3fn原生支持FP8 dtype
LLMFP8使LLM训练compute降2x(vs FP16)→GPT-3级模型训练时间减半;80GB显存仍是瓶颈(Llama-70B FP16需140GB→2卡)→催生H200(141GB);NVLink Switch使TP可跨节点→更大模型并行策略更灵活
AgentFP8推理(1978.9 TFLOPS)+Flash Attention→实时推理延迟大幅降低;Secure MIG允许多推理agent安全共享GPU;vLLM/TensorRT-LLM的PagedAttention+FP8 kernel首先在H100达生产级
ClusterDGX H100+NVLink Switch System定义新一代AI超算: 256-GPU NVLink域→节点间TP/EP成为可能;单SuperPOD达0.5 ExaFLOP FP8;NVSwitch 3.0 in-network AllReduce减少SM参与collective开销;700W TDP推动数据中心液冷标准化