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
ef3a0025
Commit
ef3a0025
authored
Oct 30, 2018
by
Natalia Gimelshein
Browse files
update includes
parent
8124fba2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
apex/optimizers/csrc/fused_adam_cuda.cpp
apex/optimizers/csrc/fused_adam_cuda.cpp
+1
-1
csrc/syncbn.cpp
csrc/syncbn.cpp
+1
-1
No files found.
apex/optimizers/csrc/fused_adam_cuda.cpp
View file @
ef3a0025
#include <torch/
torch
.h>
#include <torch/
extension
.h>
// CUDA forward declaration
// CUDA forward declaration
void
fused_adam_cuda
(
at
::
Tensor
&
p
,
at
::
Tensor
&
p_copy
,
at
::
Tensor
&
m
,
at
::
Tensor
&
v
,
at
::
Tensor
&
g
,
float
lr
,
float
beta1
,
float
beta2
,
float
eps
,
float
grad_scale
,
int
step
,
int
mode
);
void
fused_adam_cuda
(
at
::
Tensor
&
p
,
at
::
Tensor
&
p_copy
,
at
::
Tensor
&
m
,
at
::
Tensor
&
v
,
at
::
Tensor
&
g
,
float
lr
,
float
beta1
,
float
beta2
,
float
eps
,
float
grad_scale
,
int
step
,
int
mode
);
...
...
csrc/syncbn.cpp
View file @
ef3a0025
#include <torch/
torch
.h>
#include <torch/
extension
.h>
#include <ATen/ATen.h>
#include <ATen/ATen.h>
#include <vector>
#include <vector>
...
...
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