Skip to content

Commit

Permalink
added mark for gpu in the rotary embedding test
Browse files Browse the repository at this point in the history
  • Loading branch information
ShashankMosaicML committed Oct 20, 2023
1 parent 0a9d3af commit 5981ade
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_rotary_embedding.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ def allclose_helper(t0: torch.Tensor,
return torch.allclose(t0, t1, rtol=rtol, atol=atol)


@pytest.mark.gpu
@pytest.mark.parametrize('device', ['cpu', 'cuda'])
@pytest.mark.parametrize('dtype', [torch.float32, torch.bfloat16])
@pytest.mark.parametrize('rope_scaling_type',
Expand Down

0 comments on commit 5981ade

Please sign in to comment.