Skip to content

Commit

Permalink
skips due to padding size issue 63 on amd
Browse files Browse the repository at this point in the history
  • Loading branch information
Cemberk committed Oct 31, 2024
1 parent ede06df commit a02eb24
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/models/jamba/test_modeling_jamba.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
require_torch_gpu,
slow,
torch_device,
skipIfRocm
)

from ...generation.test_utils import GenerationTesterMixin
Expand Down Expand Up @@ -365,6 +366,7 @@ def test_decoder_model_past_with_large_inputs(self):
config_and_inputs = self.model_tester.prepare_config_and_inputs_for_decoder()
self.model_tester.create_and_check_decoder_model_past_large_inputs(*config_and_inputs)

@skipIfRocm
def test_load_balancing_loss(self):
r"""
Let's make sure we can actually compute the loss and do a backward on it.
Expand Down
2 changes: 2 additions & 0 deletions tests/models/mixtral/test_modeling_mixtral.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
require_torch_sdpa,
slow,
torch_device,
skipIfRocm
)

from ...generation.test_utils import GenerationTesterMixin
Expand Down Expand Up @@ -493,6 +494,7 @@ def test_flash_attn_2_inference_equivalence_right_padding(self):
self.skipTest(reason="Mixtral flash attention does not support right padding")

# Ignore copy
@skipIfRocm
def test_load_balancing_loss(self):
r"""
Let's make sure we can actually compute the loss and do a backward on it.
Expand Down
2 changes: 2 additions & 0 deletions tests/models/qwen2_moe/test_modeling_qwen2_moe.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
require_torch_sdpa,
slow,
torch_device,
skipIfRocm
)

from ...generation.test_utils import GenerationTesterMixin
Expand Down Expand Up @@ -528,6 +529,7 @@ def test_flash_attn_2_inference_equivalence_right_padding(self):
self.skipTest(reason="Qwen2Moe flash attention does not support right padding")

# Ignore copy
@skipIfRocm
def test_load_balancing_loss(self):
r"""
Let's make sure we can actually compute the loss and do a backward on it.
Expand Down

0 comments on commit a02eb24

Please sign in to comment.