Skip to content

Commit

Permalink
remove the extend_optimizer_with_weight_decay function (#55007)
Browse files Browse the repository at this point in the history
* remove the extend_optimizer_with_weight_decay function

* Update __init__.py

* fix bug

* fix bug
  • Loading branch information
longranger2 authored Jul 7, 2023
1 parent b3c26de commit 3cca2a8
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 408 deletions.
4 changes: 0 additions & 4 deletions python/paddle/fluid/contrib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,9 @@
# limitations under the License.


from . import extend_optimizer
from .extend_optimizer import *

from . import optimizer
from .optimizer import *

__all__ = []

__all__ += extend_optimizer.__all__
__all__ += optimizer.__all__
19 changes: 0 additions & 19 deletions python/paddle/fluid/contrib/extend_optimizer/__init__.py

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion python/setup.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,6 @@ packages=['paddle',
'paddle.fluid.proto.profiler',
'paddle.fluid.layers',
'paddle.fluid.contrib',
'paddle.fluid.contrib.extend_optimizer',
'paddle.fluid.incubate',
'paddle.incubate.distributed.fleet',
'paddle.fluid.incubate.checkpoint',
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -1431,7 +1431,6 @@ def get_setup_parameters():
'paddle.fluid.proto.profiler',
'paddle.fluid.layers',
'paddle.fluid.contrib',
'paddle.fluid.contrib.extend_optimizer',
'paddle.fluid.incubate',
'paddle.incubate.distributed.fleet',
'paddle.fluid.incubate.checkpoint',
Expand Down
1 change: 0 additions & 1 deletion test/contrib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ py_test_modules(
FLAGS_conv_workspace_size_limit=1000)

set_tests_properties(test_image_classification_fp16 PROPERTIES TIMEOUT 120)
set_tests_properties(test_weight_decay_extend PROPERTIES TIMEOUT 120)
set_tests_properties(test_multi_precision_fp16_train PROPERTIES TIMEOUT 120)
Loading

0 comments on commit 3cca2a8

Please sign in to comment.