2019-12-04 11:59:19 +00:00
|
|
|
"""
|
2020-02-11 12:41:15 +00:00
|
|
|
.. warning:: `override_data_parallel` module has been renamed to `data_parallel` since v0.6.0.
|
|
|
|
The deprecated module name will be removed in v0.8.0.
|
2019-12-04 11:59:19 +00:00
|
|
|
"""
|
|
|
|
|
2020-04-09 18:05:46 +00:00
|
|
|
from pytorch_lightning.utilities import rank_zero_warn
|
2019-11-27 03:39:18 +00:00
|
|
|
|
2020-04-09 18:05:46 +00:00
|
|
|
rank_zero_warn("`override_data_parallel` module has been renamed to `data_parallel` since v0.6.0."
|
|
|
|
" The deprecated module name will be removed in v0.8.0.", DeprecationWarning)
|
2019-11-27 03:39:18 +00:00
|
|
|
|
|
|
|
from pytorch_lightning.overrides.data_parallel import ( # noqa: E402
|
|
|
|
get_a_var, parallel_apply, LightningDataParallel, LightningDistributedDataParallel)
|