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

Function disable

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

Source from the content-addressed store, hash-verified

34
35
36def disable(func):
37 if is_compile_supported():
38 return torch.compiler.disable(func)
39 return func
40
41
42def enable(min_version=None):

Callers 1

wrapperFunction · 0.85

Calls 2

is_compile_supportedFunction · 0.85
disableMethod · 0.80

Tested by

no test coverage detected