code: def choose_compression(
      self, info: CompressionInfo
  ) -> CompressionBase:
      ...
  
imports: from abc import ABC, abstractmethod
  from typing import Mapping, Sequence, Union
  import torch
  from hivemind.compression.base import CompressionBase, CompressionInfo, Key, NoCompression, TensorRole
  from hivemind.compression.serialization import deserialize_torch_tensor
  from hivemind.proto import runtime_pb2
label_desc: Use image node_id 1 for calling the AdaptiveCompressionBase obj's underlying member method code with example usage: obj.choose_compression(info) without return types