MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / sync_pwrite

Method sync_pwrite

csrc/aio/py_lib/deepspeed_py_io_handle.cpp:372–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370}
371
372int deepspeed_io_handle_t::sync_pwrite(const torch::Tensor& buffer,
373 const char* filename,
374 const int64_t file_offset)
375{
376 return pwrite(buffer, filename, false, false, file_offset);
377}
378
379int deepspeed_io_handle_t::async_pread(torch::Tensor& buffer,
380 const char* filename,

Callers 6

_invoke_blocking_aioFunction · 0.80
test_parallel_writeMethod · 0.80
test_parallel_writeMethod · 0.80
test_writeMethod · 0.80
test_failed_writeMethod · 0.80
PYBIND11_MODULEFunction · 0.80

Calls

no outgoing calls

Tested by 5

_invoke_blocking_aioFunction · 0.64
test_parallel_writeMethod · 0.64
test_parallel_writeMethod · 0.64
test_writeMethod · 0.64
test_failed_writeMethod · 0.64