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
8f7c0d11
Commit
8f7c0d11
authored
Oct 12, 2021
by
mshoeybi
Browse files
Merge branch 'main' into inference
parents
a5bfc296
5478d67e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
megatron/fused_kernels/layer_norm_cuda_kernel.cu
megatron/fused_kernels/layer_norm_cuda_kernel.cu
+2
-0
No files found.
megatron/fused_kernels/layer_norm_cuda_kernel.cu
View file @
8f7c0d11
...
@@ -645,6 +645,8 @@ void cuComputeGradInput(
...
@@ -645,6 +645,8 @@ void cuComputeGradInput(
k_grad_input
[
l
]
=
static_cast
<
T
>
(
f_grad_input
);
k_grad_input
[
l
]
=
static_cast
<
T
>
(
f_grad_input
);
}
}
}
}
// prevent race where buf is written again before reads are done
__syncthreads
();
}
}
}
}
...
...
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