flâneur

Incredibly Fast BLOOM Inference with DeepSpeed and Accelerate

huggingface.co · 1,909 words · saved by 1 readers

We’re on a journey to advance and democratize artificial intelligence through open source and open science.

This article shows how to get an incredibly fast per token throughput when generating with the 176B parameter BLOOM model. As the model needs 352GB in bf16 (bfloat16) weights (176*2), the most efficient set-up is 8x80GB A100 GPUs. Also 2x8x40GB A100s or 2x8x48GB A6000 can be used. The main reason for using these GPUs is that at the time of this writing they provide the largest GPU memory, but other GPUs can be used as well. For example, 24x32GB V100s can be used. Using a single node will typically deliver a fastest throughput since most of the time intra-node GPU linking hardware is faster…

related reading