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
4 changes: 4 additions & 0 deletions tests/unit/ops/accelerators/test_accelerator_forward.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ class TestCUDAForward(DistributedTest):
world_size = 1
reuse_dist_env = True

@pytest.mark.skipif(not deepspeed.ops.__compatible_ops__[TransformerBuilder.NAME],

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add the required Signed-off-by trailer

This reviewed commit is a non-merge commit with one parent, but its commit message does not contain a Signed-off-by trailer. The repository requires every non-merge commit to be signed off, so this needs to be recreated or amended with --signoff before it can satisfy the project’s commit requirements.

AGENTS.md reference: AGENTS.md:L8-L8

Useful? React with 👍 / 👎.

reason="TransformerBuilder has not been implemented on this system.")
def test_forward(self, batch_size, hidden_size, seq_len, heads, num_layers, is_preln, use_fp16):
# Only run fp16 test cases on devices with FP16 capability.
if not get_accelerator().is_fp16_supported() and use_fp16 is True:
Expand Down Expand Up @@ -295,6 +297,8 @@ def test_forward_with_small_bsz(self, batch_size, small_bsz, hidden_size, seq_le
class TestCUDAForwardStochastic(DistributedTest):
world_size = 1

@pytest.mark.skipif(not deepspeed.ops.__compatible_ops__[TransformerBuilder.NAME],
reason="TransformerBuilder has not been implemented on this system.")
def test_forward_stochastic(self, batch_size, hidden_size, seq_len, heads, num_layers, is_preln, use_fp16):
# Only run fp16 test cases on devices with FP16 capability.
if not get_accelerator().is_fp16_supported() and use_fp16 is True:
Expand Down
Loading