Skip to content

Commit 0a39e2f

Browse files
committed
Adjust defaults
Signed-off-by: Christoph Auer <[email protected]>
1 parent 57c40b1 commit 0a39e2f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docling/experimental/datamodel/threaded_layout_vlm_pipeline_options.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,10 @@
1414
class ThreadedLayoutVlmPipelineOptions(PaginatedPipelineOptions):
1515
"""Pipeline options for the threaded layout+VLM pipeline."""
1616

17-
# Inherit page image generation from PaginatedPipelineOptions but enable by default
18-
generate_page_images: bool = True
1917
images_scale: float = 2.0
2018

2119
# VLM configuration (will be enhanced with layout awareness by the pipeline)
22-
vlm_options: Union[InlineVlmOptions, ApiVlmOptions] = SMOLDOCLING_MLX
20+
vlm_options: Union[InlineVlmOptions, ApiVlmOptions] = SMOLDOCLING_TRANSFORMERS
2321

2422
# Layout model configuration
2523
layout_options: LayoutOptions = LayoutOptions(
@@ -28,6 +26,6 @@ class ThreadedLayoutVlmPipelineOptions(PaginatedPipelineOptions):
2826

2927
# Threading and batching controls
3028
layout_batch_size: int = 4
31-
vlm_batch_size: int = 2
29+
vlm_batch_size: int = 4
3230
batch_timeout_seconds: float = 2.0
3331
queue_max_size: int = 50

0 commit comments

Comments
 (0)