Chips
GPUs, HBM & the Memory Wall

Layer 2 — The silicon that powers AI

agent37.club

Where We Are in the Stack

Layer 5: Applicationsagents, tools, MCP
Layer 4: Modelstraining, inference, attention
Layer 3: Hyperscalersdata centers, networking
Layer 2: Chips ← YOU ARE HEREGPUs, HBM, fabs
Layer 1: Energy / Materialspower, copper, supply chains

Everything above depends on what gets fabricated in silicon.

The GPU Revolution

Why GPUs beat CPUs for AI

CPU

  • 4–128 cores, each very powerful
  • Optimized for sequential tasks
  • Great at branching, control flow
  • Like a few expert chefs

GPU

  • 10,000+ cores, each simpler
  • Optimized for parallel math
  • Great at doing the same op on massive data
  • Like 10,000 line cooks

AI training = massive matrix multiplications. This is embarrassingly parallel. GPUs were built for exactly this.

Inside an NVIDIA GPU

H100 — The workhorse of AI (2023–2024)

  • CUDA Cores — 16,896 general-purpose parallel math units
  • Tensor Cores — 528 specialized matrix-multiply engines
  • HBM3 — 80 GB high-bandwidth memory (3.35 TB/s)
  • NVLink — 900 GB/s GPU-to-GPU interconnect

Key Insight

Three resources: compute (CUDA/Tensor cores), memory capacity (how much HBM), memory bandwidth (how fast you can read it).

AI workloads are almost always memory-bound, not compute-bound.

Tensor Cores: The AI Accelerator

A tensor core performs a 4×4 matrix multiply-accumulate in a single clock cycle.

D = A × B + C

// Where A, B, C, D are 4×4 matrices
// One clock cycle. One operation.
// A CUDA core would need 64 multiply + 64 add.

H100 Tensor Core performance:

  • FP8: 3,958 TFLOPS
  • FP16: 1,979 TFLOPS
  • TF32: 989 TFLOPS

Why FP8 Matters

Lower precision = 2x throughput per step down. FP8 is sufficient for most inference. Training usually uses FP16/BF16.

This is why quantization works — you trade tiny accuracy loss for massive speedup.

The NVIDIA Roadmap

Every generation: more memory, more bandwidth

GPUYearHBMCapacityBandwidthFP8 TFLOPS
A1002020HBM2e80 GB2.0 TB/s624
H1002022HBM380 GB3.35 TB/s3,958
H2002024HBM3e141 GB4.8 TB/s3,958
B2002025HBM3e192 GB8.0 TB/s9,000
Vera Rubin2026HBM4288 GB22 TB/s50 PFLOPS*

* Vera Rubin: 50 PFLOPS FP4 inference. 336B transistors. NVL72 rack: 3.6 EFLOPS.

Notice: memory capacity grew 1.8x (A100→H200) while compute grew 6.3x. The gap is the memory wall.

What is HBM?

High Bandwidth Memory — DRAM, but vertical

Regular DDR5: chips spread horizontally on a board. One channel ≈ 50 GB/s.

HBM: stack 8–12 DRAM dies vertically, connected by thousands of through-silicon vias (TSVs).

  • 1,024-bit wide interface (vs 64-bit for DDR5)
  • HBM3e: ~1.2 TB/s per stack
  • 4–8 stacks per GPU
  • Mounted directly on the GPU package (2.5D interposer)

Bandwidth Comparison

DDR5
50 GB/s
HBM2e
460 GB/s
HBM3
819 GB/s
HBM3e
1.2 TB/s
HBM4
~1.5 TB/s

Why HBM Matters for AI

The KV Cache Problem

During inference, every token’s attention keys & values must be stored in GPU memory. This is the KV cache.

  • Llama 70B at 4K context: ~5 GB KV cache per request
  • 200K context window: KV cache grows 50x
  • Batching 32 users: multiply again

More HBM = longer context windows = more concurrent users = more revenue per GPU.

H100 vs H200

Same compute. The only difference is memory: 80 GB → 141 GB HBM3e.

That extra 61 GB means ~1.8x more concurrent users or ~1.8x longer context. Same chip, dramatically more revenue.

The Takeaway

Memory capacity — not compute — determines how many users a GPU can serve.

The Memory Wall

~60x

The gap between compute growth and memory bandwidth growth
over the last decade

Compute (FLOPS)

Growing 2–3x per generation (~every 2 years). Tensor core throughput doubles reliably.

Memory Bandwidth

Growing ~1.3x per generation. Physics makes it hard — signal integrity, power, thermals.

This is THE fundamental bottleneck. We have more compute than we can feed with data. Every AI optimization (quantization, FlashAttention, KV cache compression) is ultimately fighting the memory wall.

The Gap Keeps Widening

Compute vs. memory bandwidth per GPU generation

Compute (FP8 TFLOPS) — indexed to A100 = 1x

A100
1x
H100
6.3x
B200
14.4x

Memory Bandwidth — indexed to A100 = 1x

A100
1x
H100
1.7x
B200
4x

Compute grew 14.4x. Bandwidth grew 4x. The ratio keeps getting worse.

TSMC: The World’s Foundry

~90%

of all advanced chips (<7nm) are made by one company: Taiwan Semiconductor Manufacturing Company.

  • Revenue: ~$90B (2024)
  • Customers: Apple, NVIDIA, AMD, Qualcomm, Broadcom
  • 3nm (N3): shipping now
  • 2nm (N2): coming 2025 — GAA transistors
  • 80%+ capacity in Taiwan

The Risk

One earthquake. One geopolitical crisis. One company.

No TSMC = no advanced GPUs = no AI scaling. This is the single biggest concentration risk in the global economy.

ASML: The $350M Machine

The most important company you’ve never heard of

  • Only company making EUV lithography machines
  • Each machine: $350–380 million
  • Weighs 180 tons, ships on 3 cargo planes
  • Uses 13.5nm wavelength light (extreme ultraviolet)
  • ~50 EUV systems shipped per year
  • Backlog: $40B+

Next gen: High-NA EUV ($380M+) for 2nm and below.

The Monopoly Chain

ASML makes the machines → TSMC uses them to make chips → NVIDIA designs the chips → Microsoft/Google buy them.

Every advanced AI chip on Earth passes through an ASML machine. There is no alternative.

Process Node Economics

Cost per wafer is skyrocketing

NodeYearCost / WaferTransistor DensityWho Can Afford It
28nm2011~$3,000~50M/mm²Many fabs
7nm2018~$10,000~100M/mm²TSMC, Samsung, Intel
5nm2020~$16,000~170M/mm²TSMC, Samsung
3nm2022~$20,000~290M/mm²TSMC, Samsung
2nm2025~$30,000~500M/mm²TSMC (mainly)

The economics are shifting. Cost per transistor stopped falling at 3nm. Each node now costs more per transistor than the last. Moore’s Law isn’t dead, but the economics of Moore’s Law are.

The CUDA Moat

NVIDIA’s real advantage isn’t hardware

CUDA ecosystem built over 15+ years:

  • 4M+ developers trained on CUDA
  • cuDNN — deep learning primitives
  • TensorRT — inference optimization
  • NCCL — multi-GPU communication
  • Triton Inference Server
  • Every ML framework (PyTorch, JAX, TensorFlow) is CUDA-first

The Switching Cost

You can build a competitive GPU. You cannot replicate 15 years of software ecosystem, library support, developer muscle memory, and Stack Overflow answers.

This is why NVIDIA can charge $30–40K per GPU and still have a 2-year backlog.

AMD MI300X: The Challenger

Hardware: Competitive

MI300XH100
HBM192 GB80 GB
Bandwidth5.3 TB/s3.35 TB/s
FP161,307 TFLOPS1,979 TFLOPS
Price~$15K~$30K

Software: Years Behind

  • ROCm is improving but still rough edges
  • PyTorch support: works, but fewer optimizations
  • Most inference frameworks: CUDA-first
  • Developer tooling: limited compared to CUDA

The value bet: 2.4x the memory at half the price. If ROCm catches up, AMD is a serious contender for inference workloads.

Custom Silicon: The Hyperscaler Play

Why buy NVIDIA when you can build your own?

CompanyChipFocusKey Advantage
GoogleTPU v5pTraining + InferenceTightly integrated with JAX/TensorFlow; powers Gemini
AmazonTrainium2Training40% better price/perf vs GPU (claimed); AWS integration
MicrosoftMaia 100InferenceCo-designed with Azure; liquid-cooled from day one
MetaMTIA v2InferenceOptimized for ranking & recommendation models

The trade-off: custom chips are cheaper per inference — but only for the specific workloads they’re designed for. NVIDIA GPUs are general-purpose. Custom silicon is purpose-built.

Vera Rubin: The Next Frontier

NVIDIA’s 2026 architecture — a paradigm shift

  • HBM4 — 2048-bit interface, ~1.6 TB/s per stack
  • 288 GB total memory, 22 TB/s bandwidth
  • NVLink 6 — 260 TB/s scale-up in NVL72
  • 336 billion transistors (two reticle dies)
  • NVL72 rack: 3.6 EFLOPS inference

The Big Idea

Claims: 4x fewer GPUs to train same MoE model vs Blackwell. 10x reduction in inference token cost.

Companion CPU: Vera — 227B transistors, 88 custom Arm cores, 1.5 TB LPDDR5x. The CPU-GPU boundary is blurring.

NVIDIA’s cadence: new architecture every year. The moat isn’t one chip — it’s the relentless pace.

Why This Layer Matters

Every AI capability maps to a chip constraint

AI CapabilityConstrained ByChip Bottleneck
Model sizeHBM capacityHow many GB on the GPU
Context windowKV cache memoryHBM capacity + bandwidth
Inference costGPU price / throughput$/TFLOP and memory wall
Training timeCompute throughputTensor core TFLOPS
Batch sizeMemory capacityHBM per GPU
Multi-GPU scalingInterconnect bandwidthNVLink / InfiniBand

The chip layer sets the ceiling for everything above. No software trick can overcome a hardware limit — you can only work around it more cleverly.

Investment Lens

The pick-and-shovel plays of the AI gold rush

CompanyMarket CapWhy It MattersKey Risk
NVIDIA~$2T+Dominant GPU + CUDA ecosystemPriced for perfection
TSMC~$800B+Makes 90% of advanced chipsTaiwan geopolitics
ASML~$350B+Monopoly on EUV lithographyCyclical capex
SK Hynix~$100B+HBM market leader (~50%)Memory cyclicality
AMD~$200B+Value alternative, 192GB MI300XROCm software gap

The thesis: AI demand is structural, not cyclical. But the stocks are priced for massive growth. The edge is understanding which bottleneck is binding and when it shifts.

“Compute is fast.
Memory is the bottleneck.
The memory wall decides
what AI can do.”

Next week: The Supply Chain — DRAM, NAND, fabs, and the memory super cycle

agent37.club