Skip to content
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

skips due to padding size issue 63 on amd #63

Merged
merged 1 commit into from
Nov 1, 2024
Merged
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
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
Loading