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

Function collect

tests/unit/runtime/test_python_gc.py:22–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 return enabled
21
22 def collect():
23 calls.append("collect")
24 return 7
25
26 def disable():
27 nonlocal enabled

Callers

nothing calls this directly

Calls 2

appendMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected