MCPcopy
hub / github.com/deepspeedai/DeepSpeed / flush

Method flush

deepspeed/io/py_file_writer.py:25–27  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

23 return INVALID_FD # self._fp.fileno()
24
25 def flush(self):
26 self._incr_stats(FLUSH_COUNT_KEY)
27 self._fp.flush()
28
29 def write(self, buffer):
30 st = time.time()

Callers 10

test_offset_writeMethod · 0.45
test_offset_writeMethod · 0.45
log_rank_fileFunction · 0.45
run_experimentFunction · 0.45
print_tuning_resultsMethod · 0.45
run_ds_configMethod · 0.45
write_optimal_configMethod · 0.45
merge_file_Method · 0.45

Calls 1

_incr_statsMethod · 0.80

Tested by 2

test_offset_writeMethod · 0.36
test_offset_writeMethod · 0.36