8000 Update test/profiler/test_memory_profiler.py · pytorch/pytorch@b4cb7c2 · GitHub
[go: up one dir, main page]

Skip to content

Commit b4cb7c2

Browse files
authored
Update test/profiler/test_memory_profiler.py
1 parent 238fca2 commit b4cb7c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/profiler/test_memory_profiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1495,7 +1495,7 @@ def id_for_testing(key):
14951495
for _, action, (key, version), size in prof._memory_profile().timeline
14961496
# We generally don't care about tiny allocations during memory
14971497
# profiling and they add a lot of noise to the unit test.
1498-
if size > 1024 and isinstance(key, _memory_profiler.TensorKey)
1498+
if size > 1024 and isinstance(key, _memory_profiler.TensorKey)
14991499
]
15001500

15011501
self.assertExpectedInline(

0 commit comments

Comments
 (0)
0