code: def track(self, interval: float = 0.1):
      print(f"Tracking memory for device {self.device_index}")
      yield from self._track_peak_memory(interval)
  
file_path: optimum/tests/benchmark/memory_tracker.py
imports: import os
  import subprocess
  from contextlib import contextmanager
  from multiprocessing import Pipe, Process
  from multiprocessing.connection import Connection
label_desc: Use image node_id 2 for calling the MemoryTracker obj's underlying member method code with example usage: obj.track(interval) without return types