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

Query version #3

Closed
lukeyeager opened this issue Jun 10, 2015 · 1 comment
Closed

Query version #3

lukeyeager opened this issue Jun 10, 2015 · 1 comment

Comments

@lukeyeager
Copy link
Member

This caffe fork provides versioning of caffe (since BVLC is unwilling to deal with the overhead - BVLC#486) by outputting the libcaffe.so file as libcaffe-nv.so.0.11.0 (or whatever the current version is).

In DIGITS, we are currently querying the version by checking the output of ldd. That's not a platform-independent solution, and it's pretty hacky in general.

Currently there is a command-line flag --version which does this:

$ build/tools/caffe --version
caffe

That's not very helpful. Here are some examples of the type of thing it should return:

$ gcc --version
gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ ruby --version
ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]

$ pip --version
pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2.7)

$ python --version
Python 2.7.6

The NVIDIA/caffe fork should output something like this:

$ caffe --version
Caffe 0.11.0 (NVIDIA)
borisfom added a commit that referenced this issue Oct 21, 2015
@lukeyeager
Copy link
Member Author

Done in #39. (Upstreamed to BVLC in BVLC#3311).

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

No branches or pull requests

1 participant