Skip to content
Merged
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
5 changes: 5 additions & 0 deletions tests/models/aimv2/test_modeling_aimv2.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

from transformers import Aimv2Config, Aimv2TextConfig, Aimv2VisionConfig
from transformers.testing_utils import (
is_flaky,
require_torch,
require_vision,
slow,
Expand Down Expand Up @@ -469,6 +470,10 @@ def test_load_vision_text_config(self):
self.assertDictEqual(config.text_config.to_dict(), text_config.to_dict())

@parameterized.expand(TEST_EAGER_MATCHES_SDPA_INFERENCE_PARAMETERIZATION)
@is_flaky(
max_attempts=2,
description="sdpa gets nan values in some places while eager is fine. Except those places, the values are close",
)
def test_eager_matches_sdpa_inference(
self,
name,
Expand Down