Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apple/ml-pointersect
/ _cleanup
Method
_cleanup
cdslib/core/script/base_train.py:975–980 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
973
)
974
975
def
_cleanup(self):
976
if
self.logger is not None:
977
self.logger.close()
978
979
if
self.process_info[
"distributed_run"
]:
980
torch.distributed.destroy_process_group()
981
982
@staticmethod
983
def
determine_exp_tag(
Callers
1
__exit__
Method · 0.95
Calls
1
close
Method · 0.80
Tested by
no test coverage detected