code: def _swap_out_tensor(self, tensor, swap_path):
      assert len(self.all_buffers) > 0
  
      aligned_numel = self._io_aligned_numel(tensor.numel())
      assert aligned_numel <= self.max_numel
  
      self._make_swap_space(aligned_numel)
      assert self.current_buffer_index != INVALID_BUFFER_INDEX
  
      swap_buffer = self._get_current_buffer()
      swap_buffer.insert_tensor(tensor, swap_path, aligned_numel)
  
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 8 for calling the AsyncTensorSwapper obj's underlying member method code with example usage: obj._swap_out_tensor(tensor, swap_path) without return types