class_docstr: A ring of memory buffers.
code: def __init__(self, name, num_buffers, numel, dtype, track_usage):
      self.num_buffers = num_buffers
      self.buffers = [
          allocate_mem_buff(
              name + " {}".format(i), numel, dtype, track_usage
          )
          for i in range(num_buffers)
      ]
      self._index = -1
  
file_path: apex/apex/transformer/tensor_parallel/memory.py
imports: import torch
label_desc: Use image node_id 1 to create a new RingMemBuffer object  with example: obj = RingMemBuffer(name, num_buffers, numel, dtype, track_usage)