mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-12 12:40:20 +08:00
Join Horovod workers at the end of trainer.fit() to prevent race conditions following training (#1786)
* Join Horovod workers at the end of trainer.fit() to prevent race conditions following training * flake8 * flake8 Co-authored-by: Jirka <jirka.borovec@seznam.cz>
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
"""
|
||||
|
||||
from pytorch_lightning.utilities import rank_zero_warn
|
||||
from pytorch_lightning.core.saving import * # noqa: F403
|
||||
|
||||
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 E402
|
||||
|
||||
Reference in New Issue
Block a user