Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ColossalAI
Commits
1168b50e
"lib/llm/src/vscode:/vscode.git/clone" did not exist on "b2aa2317041ed79d390874a8cf89d48452779ddf"
Commit
1168b50e
authored
Mar 28, 2023
by
Zirui Zhu
Committed by
binmakeswell
Mar 29, 2023
Browse files
[NFC] polish colossalai/engine/schedule/_pipeline_schedule_v2.py code style (#3275)
parent
196d4696
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
colossalai/engine/schedule/_pipeline_schedule_v2.py
colossalai/engine/schedule/_pipeline_schedule_v2.py
+7
-6
No files found.
colossalai/engine/schedule/_pipeline_schedule_v2.py
View file @
1168b50e
#!/usr/bin/env python
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
# -*- encoding: utf-8 -*-
from
typing
import
Tuple
,
Iterable
from
typing
import
Iterable
,
Tuple
from
colossalai
import
engine
import
colossalai.communication.p2p_v2
as
comm
import
torch.cuda
import
torch.cuda
import
colossalai.communication.p2p_v2
as
comm
from
colossalai
import
engine
from
colossalai.context.parallel_mode
import
ParallelMode
from
colossalai.context.parallel_mode
import
ParallelMode
from
colossalai.core
import
global_context
as
gpc
from
colossalai.core
import
global_context
as
gpc
from
colossalai.utils.cuda
import
get_current_device
from
colossalai.utils.cuda
import
get_current_device
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment