MCPcopy Create free account
hub / github.com/apple/axlearn / __del__

Method __del__

axlearn/common/array_serialization.py:1019–1021  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1017 """Similar to GlobalAsyncCheckpointManager but allows passing additional futures to be awaited
1018 while asynchronously serializing tensors.
1019 """
1020
1021 def __init__(self, *args, **kwargs):
1022 super().__init__(*args, **kwargs)
1023 self._loop = asyncio.new_event_loop()
1024 self._loop_thread = threading.Thread(target=self._loop.run_forever, daemon=True)

Callers

nothing calls this directly

Calls 2

stopMethod · 0.95
__del__Method · 0.45

Tested by

no test coverage detected