How do I upgrade from Caffe 0.12 to 0.13?

620 views
Skip to first unread message

Tony C

unread,
Jul 20, 2015, 9:26:10 PM7/20/15
to digits...@googlegroups.com
I built Caffe and DIGITS a few days ago and everything is working fine. I used the master versions of both projects (presumably v0.12 and v2.00 respectively).

Now I see that Caffe 0.13 is available but is not incorporated into the master version yet. How do I install it and get DIGITS to work
with it? Is it a simple matter of cloning 0.13 into a new folder, compiling it, and then setting a new Caffe path?

I'm also not sure about upgrading cuDNN to v3. How do you do that? Do you keep the old version?

I'm just a bit afraid that I may break the current installation if I go ahead without some guidance.

I'm not really used to git. The "master" doesn't seem to have the concept of a version number. Strange.

Luke Yeager

unread,
Jul 20, 2015, 9:42:50 PM7/20/15
to digits...@googlegroups.com, tony.a...@gmail.com
The only real reason to upgrade from v0.12 to v0.13 is to take advantage of cuDNN v3. But cuDNN v3 isn't released publicly quite yet.
We will be releasing a release candidate very soon, which is why I've already mentioned it in the documentation. Sorry, but you'll have to wait a little while :/

I'm not really used to git. The "master" doesn't seem to have the concept of a version number. Strange.

You shouldn't really be using master on our fork. Either grab the latest v0.12 version by pulling the branch:

git checkout -b caffe-0.12 -t origin/caffe-0.12
git pull

Or grab a specific tag:

git checkout v0.12.2

You may need to do a "git fetch" first to pull the latest version from GitHub. 

Tony C

unread,
Jul 22, 2015, 7:57:23 PM7/22/15
to DIGITS Users, tony.a...@gmail.com
OK, I confess. I downloaded CUDA 7.5RC. I got confused between that and cuDNN v3.

I'm not sure where CUDA fits in with DIGITS. I haven't installed it yet. Not sure if I should - may be best to wait for the actual release.


Luke Yeager

unread,
Jul 22, 2015, 8:15:07 PM7/22/15
to DIGITS Users, tony.a...@gmail.com, tony.a...@gmail.com
Ok, now we're talking about 4 different pieces of software:

DIGITS - you want v2.0
Caffe - you want v0.12
cuDNN - you want v2 (expected by Caffe v0.12)
CUDA - v7.0 is fine, you won't see get any benefit in DIGITS from upgrading to v7.5

If you download the DIGITS 2 installer from DevZone, it comes with all of the above.

Tony C

unread,
Aug 4, 2015, 6:39:48 PM8/4/15
to DIGITS Users
A release candidate for cuDNN v3 has been released. So given that I have

DIGITS v2
Caffe 0.12
cuDNN v2
CUDA v7

what is my best approach to getting the BIG performance benefits from v3 without risking breaking the existing system?


Reply all
Reply to author
Forward
0 new messages