class_docstr: Auxiliary data structure that contains information about the tensor that determines how it is compressed
class_docstr_tok: ["Auxiliary","data","structure","that","contains","information","about","the","tensor","that","determines","how","it","is","compressed"]
code: def get_part(self, part_index: int, part_size: Optional[int]):
      return CompressionInfo(
          self.key,
          self.descriptor,
          self.role,
          part_index=part_index,
          part_size=part_size,
      )
  
imports: import dataclasses
  import os
  import warnings
  from abc import ABC, abstractmethod
  from enum import Enum, auto
  from typing import Any, Optional
  import numpy
  import torch
  from hivemind.proto import runtime_pb2
  from hivemind.utils.tensor_descr import TensorDescriptor
label_desc: Use image node_id 2 for calling the CompressionInfo obj's underlying member method code with example usage: obj.get_part(part_index, part_size) and returns: CompressionInfo