Loading…
Topic
Model Design
1 post about Model Design. Every summary links to the original.
- 1 post
- 1 company
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Posts
TPU Model Design Considerations and Optimization Guide
Google’s TPU codesign guide provides hardware-grounded rules for maximizing performance on TPUs, which trade general-purpose scheduling for wide systolic arrays and custom interconnects. Shape rules require aligning every reduction and output dimension to 256 and using static shapes with bucketing and masking to avoid recompilation. Architecture choices include LatentMoE to compress routed token traffic, shared experts to reduce HBM reads, and block-scaled FP8 for memory-bound layers. Parallelism strategies map DP, TP, EP, CP, and PP axes directly to physical ICI links, with EP placed on a short 1D torus axis. Measured benchmarks show pure systems tuning lifted an open 30B MoE from 12% to 23% MFU before any model change, and 256-aligned MoEs run at roughly 2x the throughput of unaligned models.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.