Skip to content

Commit d5d1b7a

Browse files
committed
tests lite
1 parent d51aaf7 commit d5d1b7a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/tests_pytorch/lite/test_lite.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,11 @@ def test_setup_dataloaders_replace_standard_sampler(shuffle, strategy):
313313
"accelerator, expected",
314314
[
315315
("cpu", "cpu"),
316+
pytest.param("cuda", "cuda:0", marks=RunIf(min_cuda_gpus=1)),
316317
pytest.param("gpu", "cuda:0", marks=RunIf(min_cuda_gpus=1)),
317318
pytest.param("tpu", "xla:0", marks=RunIf(tpu=True)),
318319
pytest.param("mps", "mps:0", marks=RunIf(mps=True)),
320+
pytest.param("gpu", "mps:0", marks=RunIf(mps=True)),
319321
],
320322
)
321323
def test_to_device(accelerator, expected):

0 commit comments

Comments
 (0)