code: def _filter_batch(self, batch: Batch):
      batch_id = batch.batch_id
      req_id_list = [r.request_id for r in batch.reqs]
      batch = self.engine.cache.pop(batch_id)
      filter_batch = batch.filter(req_id_list)
      del batch
      self.engine.cache[batch_id] = filter_batch
  
imports: import time
  from typing import List
  from .dynamic_batching.get_tokenizer import get_tokenizer
  from .dynamic_batching.infer_batch import InferBatch
  from .dynamic_batching.io_struct import Batch, Req
  from .dynamic_batching.req_queue import ReqQueue
  from .dynamic_batching.sampling_params import SamplingParams
  from .dynamic_batching.stats import Stats
  from .tensor_parallel import TPInferEngine
label_desc: Use image node_id 10 for calling the DynamicBatchManager obj's underlying member method code with example usage: obj._filter_batch(batch) without return types