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

Add cuDNN new batch normalization #2651

Merged
merged 1 commit into from Nov 20, 2019
Merged

Conversation

niboshi
Copy link
Member

@niboshi niboshi commented Nov 19, 2019

This PR adds support for new batch normalization interface introduced in cuDNN 7.4.1.

https://docs.nvidia.com/deeplearning/sdk/cudnn-release-notes/rel_741.html

cupy.cudnn.batch_normalization_forward_training_ex() returns an extra value "reserve space" that can be passed to the backward API for faster computation.

See also: chainer/chainer#7620

Copy link
Member

@emcastillo emcastillo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@emcastillo
Copy link
Member

Jenkins, test this please

@pfn-ci-bot
Copy link
Collaborator

Successfully created a job for commit 51a7dec:

@emcastillo emcastillo added the cat:feature New features/APIs label Nov 20, 2019
@emcastillo emcastillo added this to the v7.0.0 milestone Nov 20, 2019
@emcastillo emcastillo added the st:test-and-merge (deprecated) Ready to merge after test pass. label Nov 20, 2019
@chainer-ci
Copy link
Member

Jenkins CI test (for commit 51a7dec, target branch master) succeeded!

@emcastillo emcastillo merged commit d646791 into cupy:master Nov 20, 2019
@niboshi niboshi deleted the batchnorm-ex branch November 20, 2019 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat:feature New features/APIs st:test-and-merge (deprecated) Ready to merge after test pass.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants