Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ get_prefix
Method
get_prefix
op_builder/inference_core_ops.py:59–61 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
57
return
ccs_retained
58
59
def
get_prefix(self):
60
ds_path = self.deepspeed_src_path(
"deepspeed"
)
61
return
"deepspeed"
if
os.path.isdir(ds_path)
else
".."
62
63
def
sources(self):
64
sources = [
Callers
2
sources
Method · 0.95
include_paths
Method · 0.95
Calls
1
deepspeed_src_path
Method · 0.80
Tested by
no test coverage detected