docstr: Free blocks from the KV-cache for the sequence.
  
  Arguments:
      free_ids (Union[List[torch.IntTensor], torch.IntTensor]): The ids of blocks to free
          from the KV-cache. If there is only one allocation group, a single tensor can be
          provided. Otherwise, a list of tensors should be provided. The tensors do not need
          to have the same shape.
docstr_tok: ["Free","blocks","from","the","KV-cache","for","the","sequence",".","Arguments",":","free_ids","(","Union","[","List","[","torch.IntTensor","]",",","torch.IntTensor","]",")",":","The","ids","of","blocks","to","free","from","the","KV-cache",".","If","there","is","only","one","allocation","group",",","a","single","tensor","can","be","provided",".","Otherwise",",","a","list","of","tensors","should","be","provided",".","The","tensors","do","not","need","to","have","the","same","shape","."]
code: def free_kv_cache(
      self,
      free_ids: Union[List[torch.IntTensor], torch.IntTensor],
      cache_group: int = 0,
  ) -> None:
      """
      Free blocks from the KV-cache for the sequence.
  
      Arguments:
          free_ids (Union[List[torch.IntTensor], torch.IntTensor]): The ids of blocks to free
              from the KV-cache. If there is only one allocation group, a single tensor can be
              provided. Otherwise, a list of tensors should be provided. The tensors do not need
              to have the same shape.
      """
      raise NotImplementedError(
          "Partial KV-cache freeing is not yet supported."
      )
  
imports: from typing import List, Tuple, Union
  import torch
label_desc: Use image node_id 13 for calling the DSSequenceDescriptor obj's underlying member method code with example usage: obj.free_kv_cache(free_ids, cache_group) without return types