Open
Description
Is your feature request related to a problem? Please describe.
Using lightning can simplify our implementation of models, training, etc. The idea is from @xingjian-zhang. I am still going through the tutorials of lightning.
We may end up with a trainer class similar to this one:
https://github.com/intel-analytics/BigDL/blob/main/python/nano/src/bigdl/nano/pytorch/trainer/Trainer.py