make style (#11442)
This commit is contained in:
committed by
GitHub
parent
04ab2ca639
commit
32dbb2d954
@@ -1122,7 +1122,7 @@ class ModelTesterMixin:
|
||||
|
||||
# a candidate for testing_utils
|
||||
def get_current_gpu_memory_use():
|
||||
""" returns a list of cuda memory allocations per GPU in MBs"""
|
||||
"""returns a list of cuda memory allocations per GPU in MBs"""
|
||||
|
||||
per_device_memory = []
|
||||
for id in range(torch.cuda.device_count()):
|
||||
|
||||
Reference in New Issue
Block a user