-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Raise RuntimeError
when using cudnn_fast
without cudnn
#8499
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
niboshi
reviewed
Dec 4, 2019
7d39ab3
to
5d82628
Compare
niboshi
requested changes
Dec 4, 2019
tests/chainer_tests/links_tests/connection_tests/test_convolution_2d.py
Outdated
Show resolved
Hide resolved
Extracted them to another class |
niboshi
requested changes
Dec 4, 2019
tests/chainer_tests/links_tests/connection_tests/test_convolution_2d.py
Outdated
Show resolved
Hide resolved
tests/chainer_tests/links_tests/connection_tests/test_convolution_2d.py
Outdated
Show resolved
Hide resolved
tests/chainer_tests/links_tests/connection_tests/test_convolution_2d.py
Outdated
Show resolved
Hide resolved
a5b1bc6
to
ff4b410
Compare
ff4b410
to
ff02372
Compare
PTAL |
Thanks |
niboshi
approved these changes
Dec 4, 2019
Jenkins CI test (for commit ff02372, target branch master) succeeded! |
pfnCI, test this please. |
Jenkins CI test (for commit e224c04, target branch master) succeeded! |
LGTM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Convolution2d should not use
cudnn_fast
compute mode if cudnn is not enabled.The changes required for this involve modifying
im2col
andcol2im
to support NHWC layoutThe compute mode can only be checked at the link creation time but the associated function checks
use_cudnn
at forward time. Ideally we should check this at creation time in the link, but since chainer allows to dynamically change some of the backend properties based on the input I deferred the check to the functionforward
.