Skip to content

Commit b8dc579

Browse files
committed
fix pylint
1 parent a37b8ef commit b8dc579

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

internlm/core/trainer.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@
66
import json
77
import math
88
import os
9-
from collections import deque
109
import time
10+
from collections import deque
1111
from typing import Iterable, List, Optional
1212

1313
from torch.utils.data import DataLoader
1414

15-
from internlm.core.context import ParallelMode, global_context as gpc
15+
from internlm.core.context import ParallelMode
16+
from internlm.core.context import global_context as gpc
1617
from internlm.core.engine import Engine
1718
from internlm.core.parallel.comm import ISPCommunicatorSchedulerHook
1819
from internlm.core.scheduler import BaseScheduler, NonPipelineScheduler

0 commit comments

Comments
 (0)