geo-deep-learning icon indicating copy to clipboard operation
geo-deep-learning copied to clipboard

Integrate pytorch lightning

Open remtav opened this issue 4 years ago • 3 comments

will let us use:

  • Distributed Data Parallel (https://pytorch-lightning.readthedocs.io/en/latest/multi_gpu.html)
  • Float 16 (https://pytorch-lightning.readthedocs.io/en/latest/apex.html)
  • computing cluster (SLURM) (https://pytorch-lightning.readthedocs.io/en/latest/slurm.html)
  • Early stopping (https://pytorch-lightning.readthedocs.io/en/latest/early_stopping.html)
  • export to ONNX (https://pytorch-lightning.readthedocs.io/en/latest/production_inference.html) etc.

https://pytorch-lightning.readthedocs.io/en/latest/#common-use-cases

remtav avatar Aug 11 '20 19:08 remtav

The new PR switch to hydra include all the base for lightning, the change left to do is the training process mostly.

CharlesAuthier avatar Dec 17 '21 17:12 CharlesAuthier

Some useful resources: https://pytorch-lightning.readthedocs.io/en/stable/starter/new-project.html https://pytorch-lightning.readthedocs.io/en/latest/notebooks/lightning_examples/cifar10-baseline.html?highlight=ligthning%20module#Lightning-Module

remtav avatar Mar 24 '22 15:03 remtav