lightning/pytorch_lightning
Sean Naren 8283680aa0
Sharded Plugin 3/n: Expose step input to DDP plugin (#4686)
* Allow ddp plugin to move the input to a different device if needed

* Swapped name to on_before_forward to align with hooks in the future

* Update pytorch_lightning/plugins/ddp_plugin.py

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>

* Pass variable arg type to hook, add example

* Remove blank space (pep check)

* Added blank line

Co-authored-by: William Falcon <waf2107@columbia.edu>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2020-11-18 15:45:30 +00:00
..
accelerators Sharded Plugin 3/n: Expose step input to DDP plugin (#4686) 2020-11-18 15:45:30 +00:00
callbacks Add current_score to ModelCheckpoint.on_save_checkpoint (#4721) 2020-11-18 08:09:44 +00:00
cluster_environments ref: unify slurm and TE under backendPlugin 1/n (#4578) 2020-11-08 14:28:55 -05:00
core allow decorate model init with saving hparams (#4662) 2020-11-16 11:02:26 +01:00
distributed notices (#4118) 2020-10-13 07:18:07 -04:00
loggers Added experiment_id to NeptuneLogger (#3462) 2020-11-16 23:50:23 +05:30
metrics [metrics] change default behaviour of state dict (#4685) 2020-11-16 12:33:45 +00:00
overrides removed support for EvalResult and TrainResult (#3968) 2020-10-07 22:39:16 -04:00
plugins Sharded Plugin 3/n: Expose step input to DDP plugin (#4686) 2020-11-18 15:45:30 +00:00
profiler logger docs and api docs (#3950) 2020-11-13 20:35:54 +05:30
trainer quick fix (#4697) 2020-11-16 16:20:35 +00:00
tuner Skip tuner algorithms on fast dev (#3903) 2020-11-10 00:34:42 +01:00
utilities allow decorate model init with saving hparams (#4662) 2020-11-16 11:02:26 +01:00
__init__.py Apply import formatting to files in the 2nd top level (#4717) 2020-11-18 00:29:09 +01:00
py.typed