From 9a1cc6097a08b7e71bdf037987c73f5af027d765 Mon Sep 17 00:00:00 2001 From: xiaoxiao-luomu <73728031+xiaoxiao-luomu@users.noreply.github.com> Date: Wed, 27 Oct 2021 15:52:27 +0800 Subject: [PATCH] delete extra clear_model (#36656) * gloo hdfs set check & gloo connect retry * add vlog * print gloo connect addr & add vlog * . * modify vlof * modify vlog * modify vlog * Update __init__.py deleted extra clear_model --- .../fleet/parameter_server/pslib/__init__.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/python/paddle/fluid/incubate/fleet/parameter_server/pslib/__init__.py b/python/paddle/fluid/incubate/fleet/parameter_server/pslib/__init__.py index 309532cafc..8d803c0d5b 100644 --- a/python/paddle/fluid/incubate/fleet/parameter_server/pslib/__init__.py +++ b/python/paddle/fluid/incubate/fleet/parameter_server/pslib/__init__.py @@ -544,18 +544,6 @@ class PSLib(Fleet): self._fleet_ptr.clear_model() self._role_maker._barrier_worker() - def clear_model(self): - """ - clear_model() will be called by user. It will clear sparse model. - Examples: - .. code-block:: python - fleet.clear_model() - """ - self._role_maker._barrier_worker() - if self._role_maker.is_first_worker(): - self._fleet_ptr.clear_model() - self._role_maker._barrier_worker() - def load_pslib_whitelist(self, table_id, model_path, **kwargs): """ load pslib model for one table with whitelist -- GitLab