From 2ae55980dc082a25b72b389860b7f07f765cac3a Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed, 15 Apr 2026 11:14:48 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=20Bolt:=20[performance=20improvement]?= =?UTF-8?q?=20Pass=20verbose=3DFalse=20to=20YOLO=20predict=20calls?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Disabled verbose logging on Ultralytics model.predict() calls to prevent synchronous I/O blocking during inference loops. Co-authored-by: kingkillery <200727508+kingkillery@users.noreply.github.com> --- commonforms/inference.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commonforms/inference.py b/commonforms/inference.py index 527925f..8d7b4ef 100644 --- a/commonforms/inference.py +++ b/commonforms/inference.py @@ -124,6 +124,7 @@ def extract_widgets( conf=confidence, augment=False, imgsz=ONNX_IMAGE_SIZE, + verbose=False, ) for p in pages ] @@ -135,6 +136,7 @@ def extract_widgets( augment=True, imgsz=image_size, device=self.device, + verbose=False, ) widgets = {}