Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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_write
Method · 0.45
test_offset_write
Method · 0.45
log_rank_file
Function · 0.45
run_experiment
Function · 0.45
print_tuning_results
Method · 0.45
model_info_profile_run
Method · 0.45
run_tuning_micro_batch_sizes
Method · 0.45
run_ds_config
Method · 0.45
write_optimal_config
Method · 0.45
merge_file_
Method · 0.45
Calls
1
_incr_stats
Method · 0.80
Tested by
2
test_offset_write
Method · 0.36
test_offset_write
Method · 0.36