transformers
b48c7589 - tests: speed up slow idefics3 and smolvlm processor tests

Commit
141 days ago
tests: speed up slow idefics3 and smolvlm processor tests idefics3::test_get_num_multimodal_tokens_matches_processor_call: Replace full HuggingFaceTB/SmolVLM-256M-Instruct (loaded twice) with tiny-processor-smolvlm; load once outside the loop, toggle do_image_splitting as an attribute inside. smolvlm: add _setup_image_processor with max_image_tiles=1 to force 1×1 tile splits, avoiding the 4×4=17-tile splits that 64×64 square images otherwise trigger. Update splitting test assertions: (1,17,...) → (1,2,...), (2,34,...) → (2,4,...), (4,4) → (1,1). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Author
Parents
Loading