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

Method async_pwrite

csrc/aio/py_lib/deepspeed_py_io_handle.cpp:340–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338}
339
340int deepspeed_io_handle_t::async_pwrite(const torch::Tensor& buffer,
341 const char* filename,
342 const int64_t file_offset)
343{
344 return pwrite(buffer, filename, false, true, file_offset);
345}
346
347int deepspeed_io_handle_t::async_pwrite(const torch::Tensor& buffer,
348 const int fd,

Callers 8

test_async_writeMethod · 0.80
test_writeMethod · 0.80
test_offset_writeMethod · 0.80
test_async_writeMethod · 0.80
test_writeMethod · 0.80
test_offset_writeMethod · 0.80
_drainMethod · 0.80
swap_out_tensorsFunction · 0.80

Calls

no outgoing calls

Tested by 6

test_async_writeMethod · 0.64
test_writeMethod · 0.64
test_offset_writeMethod · 0.64
test_async_writeMethod · 0.64
test_writeMethod · 0.64
test_offset_writeMethod · 0.64