We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e53c8eb commit 11e3c41Copy full SHA for 11e3c41
tests/utils/data/test_profile_dataloader.py
@@ -14,7 +14,6 @@
14
from torch.profiler import ProfilerActivity
15
from torchtnt.utils.data.profile_dataloader import profile_dataloader
16
from torchtnt.utils.env import init_from_env
17
-from torchtnt.utils.test_utils import skip_if_not_gpu
18
19
20
class DummyIterable:
@@ -49,7 +48,6 @@ def test_profile_dataloader_profiler(self) -> None:
49
48
timer = profile_dataloader(iterable, p)
50
self.assertEqual(len(timer.recorded_durations["next(iter)"]), max_length)
51
52
- @skip_if_not_gpu
53
def test_profile_dataloader_device(self) -> None:
54
device = init_from_env()
55
max_length = 10
0 commit comments