code: def __init__(self):
      self.cache: Dict[int, B] = {}
  
file_path: text-generation-inference/server/text_generation_server/cache.py
imports: import torch
  from typing import Dict, Optional, TypeVar
  from text_generation_server.models.types import Batch
label_desc: Use image node_id 1 to create a new Cache object  with example: obj = Cache()