mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-08 17:11:08 +08:00
* add rank warning * changelog * use rank_zero_warn * user trainer_init * replace warnings * fix test * flake8 * docs * changelog * bug lol
12 lines
466 B
Python
12 lines
466 B
Python
"""
|
|
.. warning:: `root_module.model_saving` module has been renamed to `core.saving` since v0.6.0.
|
|
The deprecated module name will be removed in v0.8.0.
|
|
"""
|
|
|
|
from pytorch_lightning.utilities import rank_zero_warn
|
|
|
|
rank_zero_warn("`root_module.model_saving` module has been renamed to `core.saving` since v0.6.0."
|
|
" The deprecated module name will be removed in v0.8.0.", DeprecationWarning)
|
|
|
|
from pytorch_lightning.core.saving import * # noqa: F403
|