We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bf26c2 commit 5b8dd83Copy full SHA for 5b8dd83
src/transformers/models/llama4/image_processing_llama4_fast.py
@@ -414,9 +414,6 @@ def _preprocess(
414
processed_images = reorder_images(grouped_processed_images, grouped_images_index)
415
aspect_ratios_list = reorder_images(grouped_aspect_ratios, grouped_images_index)
416
417
- # temp hack for compatibility test. Not checking in this line
418
- return_tensors = None
419
-
420
processed_images = torch.cat(processed_images, dim=0) if return_tensors else processed_images
421
aspect_ratios = torch.stack(aspect_ratios_list, dim=0) if return_tensors else aspect_ratios_list
422
return BatchFeature(
0 commit comments