-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Distributed SaveLoad implementation for semi-auto strategy #59659
Changes from 37 commits
fc3b3c0
e291552
7a13c0b
d81f305
cd6e4fb
9d27f27
5037694
ef695ee
23aa6ff
f7615b7
6605dff
767835d
f756bc6
2ffd709
738f5d5
f3d4bb2
7134583
9e2094a
786a318
ef4f374
058d5fe
8f64e81
250b1b7
bd9348f
ecee68b
a8491b9
867726d
2bf30c5
b46042c
160552c
c5394c5
baf2b74
968d611
170fd81
e0d0690
18298b9
13b1d07
1dcd0a7
00df8ba
c728400
a3125c0
0543d1f
e4c72cd
0561180
4df7f76
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Copyright (c) 2019 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 .save_state_dict import save_state_dict | ||
from .load_state_dict import load_state_dict | ||
|
||
__all__ = [ | ||
"save_state_dict", | ||
"load_state_dict", | ||
] | ||
Comment on lines
+18
to
+21
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Only add API in list of __ all__ at recommended user path, as we recommend using There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2019->2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done