lightning/pytorch_lightning/overrides/override_data_parallel.py

8 lines
341 B
Python
Raw Normal View History

import warnings
warnings.warn("`override_data_parallel` module has been renamed to `data_parallel` since v0.5.3"
" and will be removed in v0.8.0", DeprecationWarning)
from pytorch_lightning.overrides.data_parallel import ( # noqa: E402
get_a_var, parallel_apply, LightningDataParallel, LightningDistributedDataParallel)