Skip to content

Commit cf0714f

Browse files
committed
Fix qwen2vl processor unit test
1 parent dba3b2f commit cf0714f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/processors.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ describe("Processors", () => {
627627

628628
compare(pixel_values.dims, [256, 1176]);
629629
compare(avg(pixel_values.data), 2.050372362136841);
630-
compare(image_grid_thw.tolist(), [[1, 16, 16]]);
630+
compare(image_grid_thw.tolist(), [[1n, 16n, 16n]]);
631631

632632
compare(original_sizes, [[224, 224]]);
633633
compare(reshaped_input_sizes, [[224, 224]]);

0 commit comments

Comments
 (0)