Skip to content

Commit

Permalink
Update test_modeling_common.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Cemberk authored Nov 9, 2024
1 parent 0048de1 commit 5fba946
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_modeling_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -2885,6 +2885,7 @@ def test_inputs_embeds_matches_input_ids_with_generate(self):
)
self.assertTrue(torch.allclose(out_embeds, out_ids))

@skipIfRocm
@require_torch_multi_gpu
def test_multi_gpu_data_parallel_forward(self):
config, inputs_dict = self.model_tester.prepare_config_and_inputs_for_common()
Expand Down

0 comments on commit 5fba946

Please sign in to comment.