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
apex
Commits
98a64039
Commit
98a64039
authored
May 20, 2020
by
lcskrishna
Browse files
bug fixes in sgd kernel in bfp16 bringup
parent
b2da92fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
csrc/multi_tensor_sgd_kernel.cu
csrc/multi_tensor_sgd_kernel.cu
+1
-1
No files found.
csrc/multi_tensor_sgd_kernel.cu
View file @
98a64039
...
...
@@ -271,7 +271,7 @@ void multi_tensor_sgd_cuda(
scale
);
}
// Case 5. bfp16, bfp16, bfp16, No
if
(
grad_type
==
at
::
ScalarType
::
BFloat16
&&
else
if
(
grad_type
==
at
::
ScalarType
::
BFloat16
&&
weight_type
==
at
::
ScalarType
::
BFloat16
&&
num_tensors
==
3
)
{
...
...
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