March 2026
Intermediate to advanced
544 pages
15h 56m
English
torch.distributed)In previous chapters, we have been mostly focused on training models on a single GPU. But, as models grow larger and datasets grow bigger, training on a single GPU becomes infeasible. Model sizes have exploded over the last several years with the popularity of large language models. In case the naming wasn’t clear, large language models are, in fact, quite large. For example, Meta’s open LLaMA 3.1 model has 7-billion- , 80-billion- , and 405-billion-parameter variants. The 405-billion-parameter variant requires about 800 GB of memory just to run inference (this is without ...
Read now
Unlock full access