Skip to content

Commit 5fc39f2

Browse files
committed
fix tests
1 parent 1b6638f commit 5fc39f2

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

tests/models/video_llama_3/test_modeling_video_llama_3.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,6 @@ class VideoLlama3VisionModelTest(ModelTesterMixin, unittest.TestCase):
342342
all_model_classes = (VideoLlama3VisionModel,) if is_torch_available() else ()
343343
additional_model_inputs = ["grid_thw", "merge_sizes"]
344344
# fx_compatible = False
345-
test_pruning = False
346345
test_resize_embeddings = False
347346
test_head_masking = False
348347
test_cpu_offload = False
@@ -511,6 +510,14 @@ def test_retain_grad_hidden_states_attentions(self):
511510
if self.has_attentions:
512511
self.assertIsNotNone(attentions.grad)
513512

513+
@unittest.skip("Vision model requires additional positional inputs (grid_thw and merge_sizes)")
514+
def test_flash_attn_2_inference_equivalence(self):
515+
pass
516+
517+
@unittest.skip("Vision model requires additional positional inputs (grid_thw and merge_sizes)")
518+
def test_flash_attn_2_inference_equivalence_right_padding(self):
519+
pass
520+
514521

515522
class VideoLlama3VisionText2TextModelTester:
516523
def __init__(

0 commit comments

Comments
 (0)