Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
append
Method · 0.45
release
Method · 0.45
Tested by
no test coverage detected