add finialize

revert-15207-remove_op_handle_lock_and_fix_var
heqiaozhi 6 years ago
parent faffc25c19
commit 009c7cf6cc

@ -18,5 +18,5 @@ from __future__ import print_function
from . import hdfs_utils
from .hdfs_utils import *
__all__ = lookup_table_utils.__all__
#__all__ = lookup_table_utils.__all__
__all__ = hdfs_utils.__all__

@ -45,4 +45,7 @@ class MPIHelper(object):
import socket
return socket.gethostname()
def finalize(self):
MPI.Finalize()

@ -97,6 +97,7 @@ class PaddlePSInstance(object):
pass
def finalize(self):
self.dh.finalize()
pass

Loading…
Cancel
Save