Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
44
def
disable(func):
45
if
is_compile_supported():
46
return
torch.compiler.disable(func)
47
return
func
48
49
50
def
lazy_disable(func):
Callers
3
lazy_disable
Function · 0.70
wrapper
Function · 0.70
compile_autoep_non_moe_regions
Function · 0.70
Calls
2
is_compile_supported
Function · 0.85
disable
Method · 0.80
Tested by
no test coverage detected