debugging and gpu guide

This commit is contained in:
William Falcon 2019-06-27 14:38:04 -04:00
parent 44dd6077ba
commit 26b966cb78
1 changed files with 2 additions and 2 deletions

View File

@ -23,11 +23,11 @@ pip install pytorch-lightning
**[View the docs here](https://williamfalcon.github.io/pytorch-lightning/)**
## What is it?
Keras is too abstract for researchers. Lightning abstracts the full training loop but gives you control in the critical points.
Keras and fast.ai are too abstract for researchers. Lightning abstracts the full training loop but gives you control in the critical points.
## Why do I want to use lightning?
Because you want to use best practices and get gpu training, multi-node training, checkpointing, mixed-precision, etc... for free.
Because you want to use best practices and get gpu training, multi-node training, checkpointing, mixed-precision, etc... for free, but still want granular control of the meat of the training, validation and testing loops.
To use lightning do 2 things:
1. [Define a trainer](https://github.com/williamFalcon/pytorch-lightning/blob/master/docs/source/examples/basic_trainer.py) (which will run ALL your models).