-
Notifications
You must be signed in to change notification settings - Fork 6.8k
[v1.6.x][Bug Fixed] Fix batch norm when grad_req is add
(#18518)
#18714
Conversation
* fix batch norm when fix_gamma is True * support gradient accumulation for batch norm * mkldnn batchnorm support grad add * unittest for bn * fix bn arg * fix lint * fix mkldnn * fix mkldnn bn * fix grad when fixing gamma * fix naive gpu bn * fix lint * fix cudnn bn * fix flag * fix lint * fix testcase * fix * use @pytest.mark.parametrize * combination * remove redundant test in batchnorm * npx.batch_norm test * try to fix test * reduce the number of tests for batchnorm * fix
Hey @ChaiBapchya , Thanks for submitting the PR
CI supported jobs: [windows-gpu, unix-cpu, unix-gpu, centos-cpu, centos-gpu, website, sanity, miscellaneous, windows-cpu, clang, edge] Note: |
add
(#18500)add
(#18500)
Hi @ChaiBapchya , the PR #18500 needs to be modified to fit the old version of MXNet. |
…)" This reverts commit 8e32cd6.
…eq is `add` (apache#18518) * Fix batch norm when grad_req is * fix * remove softmax test * fix
add
(#18500)add
(#18518)
@wkcn cherry-picking 1.x into 1.6 doesn't quite resolve CI issues.. any idea? |
Hi @ChaiBapchya ,
|
Hi @ChaiBapchya , all tests passed : ) |
@wkcn Appreciate your help with this cherry-pick. Changes look good to me. Can we merge it? |
@ChaiBapchya , This PR looks good to me too. : ) |
fix batch norm when fix_gamma is True
support gradient accumulation for batch norm
mkldnn batchnorm support grad add
unittest for bn
fix bn arg
fix lint
fix mkldnn
fix mkldnn bn
fix grad when fixing gamma
fix naive gpu bn
fix lint
fix cudnn bn
fix flag
fix lint
fix testcase
fix
use @pytest.mark.parametrize
combination
remove redundant test in batchnorm
npx.batch_norm test
try to fix test
reduce the number of tests for batchnorm
fix
Description
(Brief description on what this PR is about)
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.
Changes
Comments