File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -274,6 +274,7 @@ def test_cudart_register(self):
274
274
self .assertEqual (r , 0 )
275
275
self .assertFalse (t .is_pinned ())
276
276
277
+ @unittest .skipIf (TEST_CUDAMALLOCASYNC , "temporarily disabled" )
277
278
def test_memory_stats (self ):
278
279
gc .collect ()
279
280
torch .cuda .empty_cache ()
@@ -325,6 +326,7 @@ def test_cuda_get_device_capability(self):
325
326
device_capability_no_argument = torch .cuda .get_device_capability ()
326
327
self .assertEqual (current_device_capability , device_capability_no_argument )
327
328
329
+ @unittest .skipIf (TEST_CUDAMALLOCASYNC , "temporarily disabled" )
328
330
@unittest .skipIf (not TEST_MULTIGPU , "only one GPU detected" )
329
331
def test_memory_stats_multigpu (self ):
330
332
# advance a generator with a end flag
You can’t perform that action at this time.
0 commit comments