Repository: huggingface/transformers
Pull request: Some new models added stuff that was already removed

# What does this PR do?

As per the title. They don't exist

Changed files:
filename: tests/models/pe_audio/test_modeling_pe_audio.py
patch: @@ -133,9 +133,7 @@ def prepare_config_and_inputs_for_common(self):
 @require_torch
 class PeAudioEncoderTest(ModelTesterMixin, unittest.TestCase):
     all_model_classes = (PeAudioEncoder,)
-    test_pruning = False
     test_resize_embeddings = False
-    test_head_masking = False
     _is_composite = True
 
     def setUp(self):
@@ -284,9 +282,7 @@ class PeAudioModelTest(ModelTesterMixin, unittest.TestCase):
     # TODO: add PipelineTesterMixin
     all_model_classes = (PeAudioModel,)
     additional_model_inputs = ["input_values", "padding_mask"]
-    test_pruning = False
     test_resize_embeddings = False
-    test_head_masking = False
     has_attentions = False
     _is_composite = True
 

filename: tests/models/pe_audio_video/test_modeling_pe_audio_video.py
patch: @@ -208,9 +208,7 @@ def prepare_config_and_inputs_for_common(self):
 class PeAudioVideoEncoderTest(ModelTesterMixin, unittest.TestCase):
     all_model_classes = (PeAudioVideoEncoder,)
     additional_model_inputs = ["pixel_values_videos", "padding_mask_videos"]
-    test_pruning = False
     test_resize_embeddings = False
-    test_head_masking = False
     _is_composite = True
 
     def setUp(self):
@@ -230,10 +228,6 @@ def test_model(self):
     def test_model_get_set_embeddings(self):
         pass
 
-    @unittest.skip(reason="Timm Eva (PE) weights cannot be fully constructed in _init_weights")
-    def test_initialization(self):
-        pass
-
     @unittest.skip("PeAudioVideoEncoder does not have language_model, vision_tower, multi_modal_projector.")
     def test_sdpa_can_dispatch_composite_models(self):
         pass

filename: tests/models/pe_video/test_modeling_pe_video.py
patch: @@ -133,9 +133,7 @@ def prepare_config_and_inputs_for_common(self):
 @require_torch
 class PeVideoEncoderTest(ModelTesterMixin, unittest.TestCase):
     all_model_classes = (PeVideoEncoder,)
-    test_pruning = False
     test_resize_embeddings = False
-    test_head_masking = False
     _is_composite = True
 
     def setUp(self):
@@ -175,10 +173,6 @@ def test_can_load_with_meta_device_context_manager(self):
     def test_retain_grad_hidden_states_attentions(self):
         pass
 
-    @unittest.skip(reason="Timm Eva (PE) weights cannot be fully constructed in _init_weights")
-    def test_initialization(self):
-        pass
-
     @unittest.skip(reason="PeVideoEncoder does not support feedforward chunking yet")
     def test_feed_forward_chunking(self):
         pass
@@ -316,9 +310,7 @@ class PeVideoModelTest(ModelTesterMixin, unittest.TestCase):
     # TODO: add PipelineTesterMixin
     all_model_classes = (PeVideoModel,)
     additional_model_inputs = ["pixel_values_videos", "padding_mask_videos"]
-    test_pruning = False
     test_resize_embeddings = False
-    test_head_masking = False
     has_attentions = False
     _is_composite = True
 

filename: tests/models/switch_transformers/test_modeling_switch_transformers.py
patch: @@ -495,7 +495,6 @@ class SwitchTransformersModelTest(ModelTesterMixin, GenerationTesterMixin, Pipel
     model_split_percents = [0.5, 0.8, 0.9]
     # `SwitchTransformers` is a MOE in which not all experts will get gradients because they are not all used in a single forward pass
     test_all_params_have_gradient = False
-    test_head_masking = False
 
     def setUp(self):
         self.model_tester = SwitchTransformersModelTester(self)
@@ -739,8 +738,6 @@ class SwitchTransformersEncoderOnlyModelTest(ModelTesterMixin, unittest.TestCase
     all_model_classes = (SwitchTransformersEncoderModel,) if is_torch_available() else ()
 
     test_resize_embeddings = False
-    test_model_parallel = False
-    test_head_masking = False
 
     def setUp(self):
         self.model_tester = SwitchTransformersEncoderOnlyModelTester(self)

filename: tests/models/video_llama_3/test_modeling_video_llama_3.py
patch: @@ -351,7 +351,6 @@ class VideoLlama3VisionModelTest(ModelTesterMixin, unittest.TestCase):
     all_model_classes = (VideoLlama3VisionModel,) if is_torch_available() else ()
     additional_model_inputs = ["grid_thw", "merge_sizes"]
     test_resize_embeddings = False
-    test_head_masking = False
     test_cpu_offload = False
     test_disk_offload_safetensors = False
     test_disk_offload_bin = False
@@ -653,8 +652,6 @@ class VideoLlama3ModelTest(ModelTesterMixin, GenerationTesterMixin, unittest.Tes
         else ()
     )
     pipeline_model_mapping = {"image-text-to-text": VideoLlama3ForConditionalGeneration}
-    test_pruning = False
-    test_head_masking = False
     _is_composite = True
 
     def setUp(self):