Skip to content

Skip and track hidden failing tests #38902

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions tests/models/blip_2/test_modeling_blip_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,14 @@ def test_retain_grad_hidden_states_attentions(self):
def test_model_get_set_embeddings(self):
pass

@unittest.skip(reason="See issue #38820")
def test_sdpa_can_compile_dynamic(self):
pass

@unittest.skip(reason="See issue #38820")
def test_sdpa_can_dispatch_on_flash(self):
pass

@require_torch_sdpa
def test_sdpa_can_dispatch_composite_models(self):
"""
Expand Down Expand Up @@ -935,6 +943,14 @@ def test_model_get_set_embeddings(self):
def test_cpu_offload(self):
pass

@unittest.skip(reason="See issue #38820")
def test_sdpa_can_compile_dynamic(self):
pass

@unittest.skip(reason="See issue #38820")
def test_sdpa_can_dispatch_on_flash(self):
pass

@require_torch_sdpa
def test_sdpa_can_dispatch_composite_models(self):
"""
Expand Down Expand Up @@ -1203,6 +1219,14 @@ def test_retain_grad_hidden_states_attentions(self):
def test_model_common_attributes(self):
pass

@unittest.skip(reason="See issue #38820")
def test_sdpa_can_compile_dynamic(self):
pass

@unittest.skip(reason="See issue #38820")
def test_sdpa_can_dispatch_on_flash(self):
pass

def test_forward_signature(self):
config, _ = self.model_tester.prepare_config_and_inputs_for_common()

Expand Down Expand Up @@ -1361,6 +1385,14 @@ def test_model_get_set_embeddings(self):
def test_retain_grad_hidden_states_attentions(self):
pass

@unittest.skip(reason="See issue #38820")
def test_sdpa_can_compile_dynamic(self):
pass

@unittest.skip(reason="See issue #38820")
def test_sdpa_can_dispatch_on_flash(self):
pass

def test_model_common_attributes(self):
config, _ = self.model_tester.prepare_config_and_inputs_for_common()

Expand Down Expand Up @@ -1504,6 +1536,14 @@ def test_retain_grad_hidden_states_attentions(self):
def test_model_common_attributes(self):
pass

@unittest.skip(reason="See issue #38820")
def test_sdpa_can_compile_dynamic(self):
pass

@unittest.skip(reason="See issue #38820")
def test_sdpa_can_dispatch_on_flash(self):
pass

def test_forward_signature(self):
config, _ = self.model_tester.prepare_config_and_inputs_for_common()

Expand Down
8 changes: 8 additions & 0 deletions tests/models/deepseek_v3/test_modeling_deepseek_v3.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,14 @@ def test_generate_compile_model_forward(self):
def test_greedy_generate_dict_outputs_use_cache(self):
pass

@unittest.skip(reason="See issue #38820")
def test_sdpa_can_compile_dynamic(self):
pass

@unittest.skip(reason="See issue #38820")
def test_sdpa_can_dispatch_on_flash(self):
pass

def test_config(self):
self.config_tester.run_common_tests()

Expand Down
4 changes: 4 additions & 0 deletions tests/models/dpr/test_modeling_dpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,10 @@ def setUp(self):
self.model_tester = DPRModelTester(self)
self.config_tester = ConfigTester(self, config_class=DPRConfig, hidden_size=37)

@unittest.skip(reason="See issue #38820")
def test_sdpa_can_dispatch_on_flash(self):
pass

def test_config(self):
self.config_tester.run_common_tests()

Expand Down
8 changes: 8 additions & 0 deletions tests/models/dpt/test_modeling_dpt_hybrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,14 @@ def test_config(self):
def test_inputs_embeds(self):
pass

@unittest.skip(reason="See issue #38820")
def test_sdpa_can_compile_dynamic(self):
pass

@unittest.skip(reason="See issue #38820")
def test_sdpa_can_dispatch_on_flash(self):
pass

def test_model_get_set_embeddings(self):
config, _ = self.model_tester.prepare_config_and_inputs_for_common()

Expand Down
4 changes: 4 additions & 0 deletions tests/models/gemma3/test_modeling_gemma3.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,10 @@ def test_eager_matches_fa2_generate(self):
def test_initialization(self):
pass

@unittest.skip(reason="See issue #38820")
def test_sdpa_can_dispatch_on_flash(self):
pass

def test_automodelforcausallm(self):
"""
Regression test for #36741/#36917 -- make sure `AutoModelForCausalLM` works with a Gemma3 config, i.e. that
Expand Down
4 changes: 4 additions & 0 deletions tests/models/gpt_bigcode/test_modeling_gpt_bigcode.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,10 @@ def test_past_key_values_format(self):
def test_generate_continue_from_inputs_embeds(self):
pass

@unittest.skip(reason="See issue #38820")
def test_sdpa_can_dispatch_on_flash(self):
pass

def test_gpt_bigcode_model(self):
config_and_inputs = self.model_tester.prepare_config_and_inputs()
self.model_tester.create_and_check_gpt_bigcode_model(*config_and_inputs)
Expand Down
9 changes: 9 additions & 0 deletions tests/models/granite_speech/test_modeling_granite_speech.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,15 @@ def test_sdpa_can_dispatch_composite_models(self):
if "SdpaAttention" in class_name or "SdpaSelfAttention" in class_name:
raise ValueError("The eager model should not have SDPA attention layers")


@unittest.skip(reason="See issue #38820")
def test_sdpa_can_compile_dynamic(self):
pass

@unittest.skip(reason="See issue #38820")
def test_sdpa_can_dispatch_on_flash(self):
pass

@pytest.mark.generate
@require_torch_sdpa
@slow
Expand Down
8 changes: 8 additions & 0 deletions tests/models/instructblip/test_modeling_instructblip.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,14 @@ def test_model_get_set_embeddings(self):
def test_generate_from_inputs_embeds_with_static_cache(self):
pass

@unittest.skip(reason="See issue #38820")
def test_sdpa_can_compile_dynamic(self):
pass

@unittest.skip(reason="See issue #38820")
def test_sdpa_can_dispatch_on_flash(self):
pass

def test_forward_signature(self):
config, _ = self.model_tester.prepare_config_and_inputs_for_common()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,14 @@ def test_model_common_attributes(self):
def test_generate_from_inputs_embeds_with_static_cache(self):
pass

@unittest.skip(reason="See issue #38820")
def test_sdpa_can_compile_dynamic(self):
pass

@unittest.skip(reason="See issue #38820")
def test_sdpa_can_dispatch_on_flash(self):
pass

def test_forward_signature(self):
config, _ = self.model_tester.prepare_config_and_inputs_for_common()

Expand Down