Loading lesson page...
KV Cache, Flash Attention & Inference Optimization
BuildPythonNo prerequisitesTraining is parallel and FLOP-bound. Inference is serial and memory-bound. Different bottleneck, different tricks.
Training is parallel and FLOP-bound. Inference is serial and memory-bound. Different bottleneck, different tricks.