Skip to content

Commit c74aae3

Browse files
justinchubyCopilot
andcommitted
Format MiniCPM media embedding test
Apply the repository formatter to the batch-global image and video feature routing coverage. Co-authored-by: Copilot <[email protected]> Signed-off-by: justinchuby <[email protected]>
1 parent ea9e2f7 commit c74aae3

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎src/mobius/models/minicpmv4_6_test.py‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,7 @@ def test_minicpmv4_6_embedding_mixes_image_and_video_tokens():
252252
}
253253
)["inputs_embeds"]
254254

255-
media_mask = (input_ids == config.image_token_id) | (
256-
input_ids == config.video_token_id
257-
)
255+
media_mask = (input_ids == config.image_token_id) | (input_ids == config.video_token_id)
258256
expected = embedding_weight[input_ids].copy()
259257
expected[media_mask] = features
260258
np.testing.assert_array_equal(result, expected)

0 commit comments

Comments
 (0)