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 b804495 commit 12e06c2Copy full SHA for 12e06c2
test/distributed/checkpoint/_experimental/test_staging.py
@@ -120,7 +120,7 @@ def test_different_option_combinations(self) -> None:
120
use_pinned_memory=torch.cuda.is_available(),
121
use_shared_memory=False,
122
use_async_staging=False,
123
- use_non_blocking_copy=torch.cuda.is_available(),
+ use_non_blocking_copy=torch.accelerator.is_available(),
124
)
125
126
0 commit comments