Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AMP OP&Test] support bf16 for batch norm #52407

Merged
merged 12 commits into from
Apr 12, 2023
Prev Previous commit
Next Next commit
fix
  • Loading branch information
GuoxiaWang committed Apr 10, 2023
commit 41f251bb593bdd832547fab377103ac9b7ccfe79
1 change: 1 addition & 0 deletions paddle/phi/kernels/batch_norm_kernel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ PD_REGISTER_KERNEL(batch_norm_infer,
}
}
#endif
#endif
#ifdef PADDLE_WITH_HIP
PD_REGISTER_KERNEL(batch_norm_infer,
GPU,
Expand Down