gemini-2.5-flash| input-price: 0.3 output-price: 2.5 max-context-length: 128_000 (cost: $0.01) · Anfrage: 2025-08-20T10:45:45.727768

Generated by rs-summarizer Version unbekannt

Abstract:

This chapter, "How To Scale Your Model: How to Think About GPUs," delves into the architecture, networking, and scaling strategies for NVIDIA GPUs (e.g., H100, B200, GB200) in the context of large language models (LLMs), drawing comparisons with Google's TPUs. It dissects the internal workings of GPU chips, including Streaming Multiprocessors (SMs), Tensor Cores, CUDA Cores, and their memory hierarchies (HBM, L2, SMEM). A significant portion is dedicated to GPU networking, contrasting its hierarchical tree-based InfiniBand/NVLink fabric with TPU's toroidal mesh, and analyzing collective communication primitives (AllGather, AllReduce, AllToAll) within and across nodes. The text then provides a roofline analysis for common LLM parallelism techniques—Data, Tensor, Expert, and Pipeline Parallelism—identifying communication bottlenecks and practical batch size requirements. It concludes with a synthesis of optimal sharding recipes and acknowledges the practical discrepancies between theoretical and empirical GPU performance.

Scaling LLMs on NVIDIA GPUs: A Deep Dive

Summary Rating: No ratings yet
Article Rating: No ratings yet

Source