docstr: Returns the number of blocks currently allocated for this sequence in the specified cache group.
  
  Arguments:
      cache_group (int): The cache group to query.
docstr_tok: ["Returns","the","number","of","blocks","currently","allocated","for","this","sequence","in","the","specified","cache","group",".","Arguments",":","cache_group","(","int",")",":","The","cache","group","to","query","."]
code: def cur_allocated_blocks(self, cache_group: int = 0) -> int:
      """
      Returns the number of blocks currently allocated for this sequence in the specified cache group.
  
      Arguments:
          cache_group (int): The cache group to query.
      """
      return self._blocks_per_allocation_group[cache_group].sum()
  
imports: from typing import List, Tuple, Union
  import torch
label_desc: Use image node_id 6 for calling the DSSequenceDescriptor obj's underlying member method code with example usage: obj.cur_allocated_blocks(cache_group) and returns: self