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
Megatron-LM
Commits
b6d4369b
Commit
b6d4369b
authored
Jan 07, 2022
by
Lawrence McAfee
Browse files
jan 7 beta
parent
ed0c8714
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
megatron/schedules.py
megatron/schedules.py
+5
-5
No files found.
megatron/schedules.py
View file @
b6d4369b
...
@@ -632,11 +632,11 @@ def forward_backward_pipelining_without_interleaving(forward_step_func, data_ite
...
@@ -632,11 +632,11 @@ def forward_backward_pipelining_without_interleaving(forward_step_func, data_ite
if
not
forward_only
:
if
not
forward_only
:
# >>>
# >>>
if
input_tensor
[
0
]
is
not
None
:
#
if input_tensor[0] is not None:
from
lutil
import
pax
#
from lutil import pax
pax
({
#
pax({
"input_tensor"
:
input_tensor
,
#
"input_tensor" : input_tensor,
})
#
})
# <<<
# <<<
assert_viewless_tensor
(
input_tensor
)
assert_viewless_tensor
(
input_tensor
)
assert_viewless_tensor
(
output_tensor
)
assert_viewless_tensor
(
output_tensor
)
...
...
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