Skip to content

Commit afe8b78

Browse files
authored
Added serialTest to test_host_memory_stats (#2314)
This unit test fails when entire test suite is running. Adapting the change from upstream: pytorch#152454 Fixes test_cuda.py::TestCuda::test_host_memory_stats
1 parent 5dd3d1c commit afe8b78

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_cuda.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ def test_pinned_memory_with_cudaregister_multithread(self):
162162
for thread in threads:
163163
thread.join()
164164

165+
@serialTest
165166
def test_host_memory_stats(self):
166167
# Helper functions
167168
def empty_stats():

0 commit comments

Comments
 (0)