mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-05 02:51:59 +00:00
[NFC] polish colossalai/cli/benchmark/utils.py code style (#4254)
This commit is contained in:
committed by
binmakeswell
parent
dee1c96344
commit
85774f0c1f
@@ -1,10 +1,11 @@
|
|||||||
import math
|
import math
|
||||||
import time
|
import time
|
||||||
|
from typing import Callable, Dict, List, Tuple
|
||||||
|
|
||||||
import torch
|
import torch
|
||||||
|
|
||||||
|
from colossalai.context import Config, ParallelMode
|
||||||
from colossalai.utils import MultiTimer
|
from colossalai.utils import MultiTimer
|
||||||
from colossalai.context import ParallelMode, Config
|
|
||||||
from typing import List, Dict, Tuple, Callable
|
|
||||||
|
|
||||||
|
|
||||||
def get_time_stamp() -> int:
|
def get_time_stamp() -> int:
|
||||||
|
Reference in New Issue
Block a user