Skip to content

Commit 11e3c41

Browse files
diego-urgellfacebook-github-bot
authored andcommitted
Remove unnecessary GPU from profile_dataloader tests (#773)
Summary: Pull Request resolved: #773 Reviewed By: JKSenthil Differential Revision: D55500653 fbshipit-source-id: 1770a25031877e5621308f1b3a01ba263a68dc10
1 parent e53c8eb commit 11e3c41

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/utils/data/test_profile_dataloader.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
from torch.profiler import ProfilerActivity
1515
from torchtnt.utils.data.profile_dataloader import profile_dataloader
1616
from torchtnt.utils.env import init_from_env
17-
from torchtnt.utils.test_utils import skip_if_not_gpu
1817

1918

2019
class DummyIterable:
@@ -49,7 +48,6 @@ def test_profile_dataloader_profiler(self) -> None:
4948
timer = profile_dataloader(iterable, p)
5049
self.assertEqual(len(timer.recorded_durations["next(iter)"]), max_length)
5150

52-
@skip_if_not_gpu
5351
def test_profile_dataloader_device(self) -> None:
5452
device = init_from_env()
5553
max_length = 10

0 commit comments

Comments
 (0)