mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-07-05 11:37:14 +00:00
Flake8 code restyle
This commit is contained in:
parent
af801cb4df
commit
3b88eb2259
@ -14,7 +14,6 @@ import math
|
|||||||
class MemTracerOpHook(BaseOpHook):
|
class MemTracerOpHook(BaseOpHook):
|
||||||
"""
|
"""
|
||||||
Collect GPU memory usage information
|
Collect GPU memory usage information
|
||||||
|
|
||||||
:param warmup: This parameter indicates how many iterations to truncate before profiling, defaults to 50
|
:param warmup: This parameter indicates how many iterations to truncate before profiling, defaults to 50
|
||||||
:type warmup: int
|
:type warmup: int
|
||||||
:param refreshrate: This parameter decides the frequency of write file, defaults to 10
|
:param refreshrate: This parameter decides the frequency of write file, defaults to 10
|
||||||
|
Loading…
Reference in New Issue
Block a user