Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
36
def
disable(func):
37
if
is_compile_supported():
38
return
torch.compiler.disable(func)
39
return
func
40
41
42
def
enable(min_version=None):
Callers
1
wrapper
Function · 0.85
Calls
2
is_compile_supported
Function · 0.85
disable
Method · 0.80
Tested by
no test coverage detected