When should I use
setup when using a
ddp backend? Currently I initialise my model in
__init__ without obvious bad effects, is this reasonable? Or should I be doing it in
There doesn’t seem to be much guidance in https://pytorch-lightning.readthedocs.io/en/latest/lightning-module.html#lightningmodule-api about when
setup should be used over
__init__ and what common use cases are.