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

Function disable

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

Source from the content-addressed store, hash-verified

24 return 7
25
26 def disable():
27 nonlocal enabled
28 enabled = False
29 calls.append("disable")
30
31 def enable():
32 nonlocal enabled

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected