Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ acquire
Function
acquire
tests/unit/runtime/test_python_gc.py:79–81 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
77
calls = []
78
79
def
acquire():
80
calls.append(
"acquire"
)
81
return
3
82
83
monkeypatch.setattr(
"deepspeed.runtime.python_gc.python_gc_manager.acquire"
, acquire)
84
engine = SimpleNamespace(
Callers
nothing calls this directly
Calls
1
append
Method · 0.45
Tested by
no test coverage detected