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

cuDNN R2 #1731

Closed
wants to merge 83 commits into from
Closed

cuDNN R2 #1731

wants to merge 83 commits into from

Conversation

shelhamer
Copy link
Member

See #1854 for the initial cuDNN R2 compatible branch by @slayton58.

Although cuDNN R2 is still experimental it is in the release candidate stage of development, so this PR will ready Caffe for R2. This should not be made the default until R2 is done or we add version switching for compatibility.

Note that R2 brings OS X support.

Compatibility

  • create general tensor, but set 4D tensor
  • set conv 2D descriptors
  • set pooling 2D descriptors
  • replace accumulation flags with alpha, beta scaling
  • let pooling have padding
  • pick fastest by default
  • pick algorithm in Reshape() instead of Forward()
  • expose choice of the forward convolutional algorithm / preference

Perhaps

jeffdonahue and others added 25 commits March 3, 2015 15:55
num/channnels/height/width indexing is valid.
from saved NetParameter

Want to keep the param Blob shape the layer has set, and not necessarily
adopt the one from the saved net (e.g. want to keep new 1D bias shape,
rather than take the (1 x 1 x 1 x D) shape from a legacy net).
Blobs are N-D arrays (for N not necessarily equals 4)
When setting the mean, assert that it is either one pixel or an array with
shape equal to the input data size.
follow-up to BVLC#2031: check that the input and mean channels are
compatible in the broadcast channels case.
Give cuDNN {0, 1} constants for controlling accumulation through the
alpha and beta coefficients.
@ziyuang
Copy link

ziyuang commented Mar 19, 2015

cuDNN v2 is now final (libcudnn.so.6.5.48).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet