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

Method async_pwrite

csrc/aio/py_lib/deepspeed_py_io_handle.cpp:350–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348}
349
350int deepspeed_io_handle_t::async_pwrite(const torch::Tensor& buffer,
351 const char* filename,
352 const int64_t file_offset)
353{
354 return pwrite(buffer, filename, false, true, file_offset);
355}
356
357int deepspeed_io_handle_t::async_pwrite(const torch::Tensor& buffer,
358 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