MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / _after_fork_parent

Method _after_fork_parent

deepspeed/runtime/python_gc.py:29–30  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

27 self._lock.acquire()
28
29 def _after_fork_parent(self):
30 self._lock.release()
31
32 def _after_fork_child(self):
33 if self._active_engines > 0 and self._restore_enabled and not gc.isenabled():

Callers

nothing calls this directly

Calls 1

releaseMethod · 0.45

Tested by

no test coverage detected