fix: reformat cosmos3_edge.py to satisfy ruff-format (#38023)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
0d0e2f92be
commit
5cd2a7661d
@@ -232,9 +232,11 @@ class Cosmos3EdgeProcessor(SGLangBaseProcessor):
|
|||||||
)
|
)
|
||||||
|
|
||||||
async def _process_preprocessed_mm_data(self, base_output):
|
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(
|
image_grid_thw = self._get_grid_from_output_or_items(
|
||||||
processor_output,
|
processor_output,
|
||||||
mm_items,
|
mm_items,
|
||||||
|
|||||||
Reference in New Issue
Block a user