From 5cd2a7661da350080ecf33c2c85141ba0265b8bc Mon Sep 17 00:00:00 2001 From: Shuwen Wang <47200617+alphabetc1@users.noreply.github.com> Date: Fri, 4 Sep 2026 23:39:36 +0800 Subject: [PATCH] fix: reformat cosmos3_edge.py to satisfy ruff-format (#38023) Co-authored-by: Claude Fable 5.1 --- python/sglang/srt/multimodal/processors/cosmos3_edge.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/python/sglang/srt/multimodal/processors/cosmos3_edge.py b/python/sglang/srt/multimodal/processors/cosmos3_edge.py index a99245885..a20dec093 100644 --- a/python/sglang/srt/multimodal/processors/cosmos3_edge.py +++ b/python/sglang/srt/multimodal/processors/cosmos3_edge.py @@ -232,9 +232,11 @@ class Cosmos3EdgeProcessor(SGLangBaseProcessor): ) async def _process_preprocessed_mm_data(self, base_output): - mm_items, input_ids, processor_output = ( - await self.process_and_combine_mm_data_async(base_output, self.mm_tokens) - ) + ( + mm_items, + input_ids, + processor_output, + ) = await self.process_and_combine_mm_data_async(base_output, self.mm_tokens) image_grid_thw = self._get_grid_from_output_or_items( processor_output, mm_items,