get_detector_inference_runner: resolve the device from the model config when None
#2841
+3
−1