From 5aa6a9f1a3b22af1ad1bbfaa0c505e5642024e05 Mon Sep 17 00:00:00 2001 From: Jake Poznanski Date: Thu, 17 Apr 2025 13:51:49 -0700 Subject: [PATCH] Fixing olmocr_pipeline in converter --- olmocr/bench/runners/run_olmocr_pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/olmocr/bench/runners/run_olmocr_pipeline.py b/olmocr/bench/runners/run_olmocr_pipeline.py index 2562d5d..17fff5e 100644 --- a/olmocr/bench/runners/run_olmocr_pipeline.py +++ b/olmocr/bench/runners/run_olmocr_pipeline.py @@ -63,7 +63,7 @@ async def run_olmocr_pipeline(pdf_path: str, page_num: int = 1) -> Optional[str] logger.info("Using existing sglang server") except Exception: logger.info("Starting new sglang server") - _server_task = asyncio.create_task(sglang_server_host(args, semaphore)) + _server_task = asyncio.create_task(sglang_server_host(args.model, args, semaphore)) await sglang_server_ready() try: