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

Support CentOS 6 Caffe CPUs #112

Closed
pcmoritz opened this issue Mar 23, 2016 · 1 comment
Closed

Support CentOS 6 Caffe CPUs #112

pcmoritz opened this issue Mar 23, 2016 · 1 comment

Comments

@pcmoritz
Copy link
Collaborator

see https://groups.google.com/forum/#!topic/sparknet-users/NBpa6EvEQW4

@pcmoritz
Copy link
Collaborator Author

We provide JARs for CentOS 6 which make it possible to use Caffe with CPUs.

To use them, replace the relevant lines in your build.sbt with the following ones:

resolvers += "javacpp" at "http://www.eecs.berkeley.edu/~rkn/snapshot-2016-03-05/"
resolvers += "javacpp" at "http://www.eecs.berkeley.edu/~rkn/snapshot-2016-03-23-CENTOS6-CPU/"

libraryDependencies += "org.bytedeco" % "javacpp" % "1.2-SPARKNETCENTOS6"

libraryDependencies += "org.bytedeco.javacpp-presets" % "caffe" % "rc3-1.2-SPARKNETCENTOS6"

libraryDependencies += "org.bytedeco.javacpp-presets" % "caffe" % "rc3-1.2-SPARKNETCENTOS6" classifier "linux-x86_64"

libraryDependencies += "org.bytedeco.javacpp-presets" % "opencv" % "3.1.0-1.2-SPARKNETCENTOS6"

libraryDependencies += "org.bytedeco.javacpp-presets" % "opencv" % "3.1.0-1.2-SPARKNETCENTOS6" classifier "linux-x86_64"

libraryDependencies += "org.bytedeco.javacpp-presets" % "tensorflow" % "master-1.2-SPARKNET"

libraryDependencies += "org.bytedeco.javacpp-presets" % "tensorflow" % "master-1.2-SPARKNET" classifier "linux-x86_64"

and uncomment

test in assembly := {}

to make sure tests are not run during assembly (the TensorFlow tests would not work on CentOS 6).

There are instructions in 61b0cbc merged in #113 on how these JARs were build, in case you need to create your own.

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

No branches or pull requests

2 participants