code: def _flush_ready_buffers(self):
      if self.current_buffer_index != INVALID_BUFFER_INDEX:
          self.ready_buffer_index.append(self.current_buffer_index)
          self.current_buffer_index = INVALID_BUFFER_INDEX
  
      self._swap_out_ready_buffers()
  
imports: import torch
  from deepspeed import comm
  from deepspeed.utils.logging import logger
  from deepspeed.runtime.swap_tensor.utils import swap_out_tensors, SwapBuffer
  from deepspeed.accelerator import get_accelerator
label_desc: Use image node_id 12 for calling the AsyncTensorSwapper obj's underlying member method code with example usage: obj._flush_ready_buffers() without return types