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

Method get_prefix

op_builder/inference_core_ops.py:24–26  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

22 return f'deepspeed.inference.v2.kernels{self.NAME}'
23
24 def get_prefix(self):
25 ds_path = self.deepspeed_src_path("deepspeed")
26 return "deepspeed" if os.path.isdir(ds_path) else ".."
27
28 def sources(self):
29 sources = [

Callers 2

sourcesMethod · 0.95
include_pathsMethod · 0.95

Calls 1

deepspeed_src_pathMethod · 0.80

Tested by

no test coverage detected