mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-24 13:50:25 +08:00
* till 0.8 * refactor * fix tests * fix tests * deprx till 0.9 * Update trainer.py * Apply suggestions from code review Co-authored-by: William Falcon <waf2107@columbia.edu>
13 lines
525 B
Python
13 lines
525 B
Python
"""
|
|
.. 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.
|
|
"""
|
|
|
|
import warnings
|
|
|
|
warnings.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)
|
|
|
|
from pytorch_lightning.overrides.data_parallel import ( # noqa: F402
|
|
get_a_var, parallel_apply, LightningDataParallel, LightningDistributedDataParallel)
|