PyTorch Lightning is a high-level API for PyTorch that abstracts the training loop. It provides structure without replacing PyTorch as the underlying deep-learning framework. section 8.1
Use its position in the stack to compare practical options for tabular deep learning:
- PyTorch supplies the low-level deep-learning framework, while Lightning abstracts a focused part of its workflow. section 8.1
- fastai provides a broader high-level PyTorch API, whereas Lightning concentrates on the training loop. section 8.1
- Lightning Flash builds on Lightning as a higher-level library for prototyping, baselining, fine-tuning, and deep-learning problems. section 8.1
- For tabular data, valid alternatives include PyTorch with fastai, TabNet, PyTorch Tabular, or Lightning Flash. section 8.7
Figure 8.3 Deep learning stacks for tabular data
Use the stack diagram to locate PyTorch Lightning among low-level frameworks, high-level APIs, and tabular-data libraries. section 8.1

