MCPcopy 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
178def 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
183install_ops = dict.fromkeys(ALL_OPS.keys(), False)

Callers 1

setup.pyFile · 0.85

Calls 2

op_envvarFunction · 0.85
get_env_if_setFunction · 0.85

Tested by

no test coverage detected