From a8fbe34bc16058eaff2cb3c30fecffb93908f12a Mon Sep 17 00:00:00 2001 From: Ashley Wright Date: Fri, 29 Nov 2024 10:33:48 -0800 Subject: [PATCH] Fix inference sandbox logging --- base/testing/inference_sandbox.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/base/testing/inference_sandbox.py b/base/testing/inference_sandbox.py index 1f9c1aff..1c87ee31 100644 --- a/base/testing/inference_sandbox.py +++ b/base/testing/inference_sandbox.py @@ -252,7 +252,6 @@ def benchmark(self) -> BenchmarkOutput: def check_process(process: Popen): if process.poll(): - log_process(process) raise InvalidSubmissionError(f"Inference crashed with exit code {process.returncode}") @@ -262,4 +261,4 @@ def log_process(process: Popen): if stdout: logger.info(stdout) if stderr: - logger.error(stderr) + logger.info(stderr)