未验证 提交 1593ee25 编写于 作者: X xiemoyuan 提交者: GitHub

remove fluid for auto_checkpoint. (#32157)

* remove fluid for auto_checkpoint.

* fix bug.
上级 5e7e7c9f
...@@ -13,9 +13,11 @@ ...@@ -13,9 +13,11 @@
# limitations under the License. # limitations under the License.
from . import optimizer from . import optimizer
from . import checkpoint
from ..fluid.contrib import reader from ..fluid.contrib import reader
from ..fluid.layer_helper import LayerHelper from ..fluid.layer_helper import LayerHelper
__all__ = [] __all__ = []
__all__ += ["reader"] __all__ += ["reader"]
__all__ += optimizer.__all__ __all__ += optimizer.__all__
__all__ += checkpoint.__all__
# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from ...fluid.incubate.checkpoint import auto_checkpoint
__all__ = ["auto_checkpoint"]
...@@ -145,6 +145,7 @@ packages=['paddle', ...@@ -145,6 +145,7 @@ packages=['paddle',
'paddle.distributed', 'paddle.distributed',
'paddle.incubate', 'paddle.incubate',
'paddle.incubate.optimizer', 'paddle.incubate.optimizer',
'paddle.incubate.checkpoint',
'paddle.distributed.fleet', 'paddle.distributed.fleet',
'paddle.distributed.fleet.base', 'paddle.distributed.fleet.base',
'paddle.distributed.fleet.meta_optimizers', 'paddle.distributed.fleet.meta_optimizers',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册