MCPcopy Create free account
hub / github.com/LUMIA-Group/MemoryDecoder / _get_arrow_file_path

Method _get_arrow_file_path

knn_utils/saveEmbedMulti.py:310–313  ·  view source on GitHub ↗

Get the Arrow file path (single file for all processes)

(self)

Source from the content-addressed store, hash-verified

308 os.makedirs(self.dstore_dir, exist_ok=True)
309
310 def _get_arrow_file_path(self):
311 """Get the Arrow file path (single file for all processes)"""
312 base_path = get_dstore_path(self.dstore_dir, self.model.config.model_type, self.eval_subset, self.dimension)
313 return base_path
314
315 def _setup_arrow_writer(self):
316 """Set up the Arrow writer for streaming writes (only on main process)"""

Callers 2

break_intoMethod · 0.95
build_indexMethod · 0.95

Calls 1

get_dstore_pathFunction · 0.85

Tested by

no test coverage detected