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

Method deepspeed_src_path

op_builder/builder.py:511–515  ·  view source on GitHub ↗
(self, code_path)

Source from the content-addressed store, hash-verified

509 print(f"{WARNING} {msg}")
510
511 def deepspeed_src_path(self, code_path):
512 if os.path.isabs(code_path):
513 return code_path
514 else:
515 return os.path.join(Path(__file__).parent.parent.absolute(), code_path)
516
517 def builder(self):
518 from torch.utils.cpp_extension import CppExtension

Callers 8

jit_loadMethod · 0.95
get_prefixMethod · 0.80
get_prefixMethod · 0.80
get_prefixMethod · 0.80
extra_ldflagsMethod · 0.80
get_prefixMethod · 0.80
extra_ldflagsMethod · 0.80
jit_loadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected