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

Function disable

deepspeed/runtime/compiler.py:44–47  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

42
43
44def disable(func):
45 if is_compile_supported():
46 return torch.compiler.disable(func)
47 return func
48
49
50def lazy_disable(func):

Callers 3

lazy_disableFunction · 0.70
wrapperFunction · 0.70

Calls 2

is_compile_supportedFunction · 0.85
disableMethod · 0.80

Tested by

no test coverage detected