Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AIS-SNU/Smart-Infinity
/ code
Function
code
DeepSpeedExample/megatron/data/indexed_dataset.py:104–108 ·
view source on GitHub ↗
(dtype)
Source
from the content-addressed store, hash-verified
102
103
104
def
code(dtype):
105
for
k in dtypes.keys():
106
if
dtypes[k] == dtype:
107
return
k
108
raise
ValueError(dtype)
109
110
111
def
index_file_path(prefix_path):
Callers
2
finalize
Method · 0.70
__enter__
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected