  #!/usr/bin/env python3
  import os
  import sys
  import time
  import numpy as np
  from pathlib import Path
  from typing import Dict, Optional
 
</s> remove from openpilot.system.hardware import TICI
 </s> add  </s> remove from openpilot.selfdrive.modeld.runners.runmodel_pyx import Runtime
 </s> add from openpilot.selfdrive.modeld.runners import ModelRunner, Runtime </s> remove USE_THNEED = int(os.getenv('USE_THNEED', str(int(TICI))))
if USE_THNEED:
  from selfdrive.modeld.runners.thneedmodel_pyx import ThneedModel as ModelRunner
else:
  from selfdrive.modeld.runners.onnxmodel_pyx import ONNXModel as ModelRunner

MODEL_PATH = str(Path(__file__).parent / f"models/supercombo.{'thneed' if USE_THNEED else 'onnx'}")
 </s> add MODEL_PATHS = {
  ModelRunner.THNEED: Path(__file__).parent / 'models/supercombo.thneed',
  ModelRunner.ONNX: Path(__file__).parent / 'models/supercombo.onnx'} </s> remove     self.model = ModelRunner(MODEL_PATH, self.output, Runtime.GPU, False, context)
 </s> add     self.model = ModelRunner(MODEL_PATHS, self.output, Runtime.GPU, False, context)
  #!/usr/bin/env python3

  import sys
  import time
  import numpy as np
  from pathlib import Path
  from typing import Dict, Optional
keep replace keep keep keep keep keep
 Added ModelRunner helpers in modeld/runners/__init__.py (#29737)

* Added ModelRunner helper class

* import Runtime in __init__.py 
selfdrive/modeld/modeld.py