• Docs >
  • lightning.fabric.strategies
Shortcuts

lightning.fabric.strategies

Strategies

Strategy

Base class for all strategies that change the behaviour of the training, validation and test- loop.

DDPStrategy

Strategy for multi-process single-device training on one or multiple nodes.

DataParallelStrategy

Implements data-parallel training in a single process, i.e., the model gets replicated to each device and each gets a split of the data.

FSDPStrategy

Strategy for Fully Sharded Data Parallel provided by torch.distributed.

ParallelStrategy

Strategy for training with multiple processes in parallel.

SingleDeviceStrategy

Strategy that handles communication on a single device.

SingleTPUStrategy

Strategy for training on a single TPU device.