Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ op_enabled
Function
op_enabled
setup.py:178–180 ·
view source on GitHub ↗
(op_name)
Source
from the content-addressed store, hash-verified
176
177
178
def
op_enabled(op_name):
179
env_var = op_envvar(op_name)
180
return
int(get_env_if_set(env_var, BUILD_OP_DEFAULT))
181
182
183
install_ops = dict.fromkeys(ALL_OPS.keys(), False)
Callers
1
setup.py
File · 0.85
Calls
2
op_envvar
Function · 0.85
get_env_if_set
Function · 0.85
Tested by
no test coverage detected