Package Details: caffe2 0.8.1-6

Git Clone URL: (read-only)
Package Base: caffe2
Description: A new lightweight, modular, and scalable deep learning framework (gpu enabled)
Upstream URL:
Licenses: BSD
Conflicts: caffe, caffe-cpu, caffe-cpu-git, caffe-git, caffe2-cpu, caffe2-cpu-git, caffe2-git
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 0
Popularity: 0.000000
First Submitted: 2017-04-29 16:21
Last Updated: 2017-09-29 15:21

Required by (0)

Sources (18)

Latest Comments

dbermond commented on 2017-09-29 15:10

You're right! Fixed.
Thank you for reporting this!

bertptrs commented on 2017-09-29 11:28

It appears that the checksum for thirdparty-protobuf-3.1.0.tar.gz is wrong. I detect it as 1176b093a05f2f4f8264d9d33f886255418af5c1007811328185f385ba6f9a7c.

dbermond commented on 2017-09-13 20:49

cuda 8.0.61-3 fixes the glibc 2.26 issue.
This package is now building fine again.

dbermond commented on 2017-09-09 17:09

It seems that CUDA/NVCC 8.0.61 is not compatible with glibc 2.26. As a result, currently this package cannot be compiled with gpu support as it should be.
Use caffe2-cpu instead (cpu-only, without gpu support) until there is a repository or upstream fix.
Please leave a reply if you find a workaround.

dbermond commented on 2017-09-09 12:40

Hi. Thank you for reporting this.
I could reproduce the issue and identified the cause as being the gloo compilation, and not nccl directly. Compiling without gloo support (-DUSE_GLOO:BOOL='OFF') solves the issue. Updating the gloo commit to latest git master also solves the issue, since upstream gloo removed nccl from its third party dependencies.

But another issue has just appeared: both caffe2 and gloo fails to compile with the newly released glibc 2.26. Since this glibc 2.26 issue is an unsolved upstream bug, I will update the package only after it's being solved, since it will not compile anyway for now.

petronny commented on 2017-09-08 14:58

I get
-- Found OpenMP_C: -fopenmp (found version "4.0")
-- Found OpenMP_CXX: -fopenmp (found version "4.0")
-- Adding -fopenmp
-- CUDA detected: 8.0
-- Automatic GPU detection failed. Building for all known architectures.
-- Added CUDA NVCC flags for: sm_20 sm_21 sm_30 sm_35 sm_50 sm_52 sm_60 sm_61
-- Found libcuda: /opt/cuda/lib64/stubs/
-- Found libnvrtc: /opt/cuda/lib64/
-- Found CUDNN: /opt/cuda/include
-- Found cuDNN: v7.0.1 (include: /opt/cuda/include, library: /opt/cuda/lib64/
-- Could NOT find CUB (missing: CUB_INCLUDE_DIR)
-- Could NOT find Gloo (missing: Gloo_INCLUDE_DIR Gloo_LIBRARY)
-- Found hiredis: /usr/include/hiredis
-- Found hiredis (include: /usr/include/hiredis, library: /lib/
-- MPI include path: /usr/include
-- MPI libraries: /usr/lib/openmpi/
-- Found CUDA: /opt/cuda (found suitable version "8.0", minimum required is "7.0")
-- CUDA detected: 8.0
-- Found libcuda: /opt/cuda/lib64/stubs/
-- Found libnvrtc: /opt/cuda/lib64/
CMake Error at /usr/share/cmake-3.9/Modules/ExternalProject.cmake:2010 (message):
No download info given for 'nccl_external' and its source directory:


is not an existing non-empty directory. Please specify one of:

* SOURCE_DIR with an existing non-empty directory
Call Stack (most recent call first):
/usr/share/cmake-3.9/Modules/ExternalProject.cmake:2565 (_ep_add_download_command)
third_party/gloo/cmake/External/nccl.cmake:16 (ExternalProject_Add)
third_party/gloo/cmake/Dependencies.cmake:53 (include)
third_party/gloo/CMakeLists.txt:44 (include)

without nccl installed.

Adding nccl back to depends works.

dbermond commented on 2017-08-09 17:25

caffe2 0.8.1 adds support for the newly released cudnn 7.0.

dbermond commented on 2017-08-08 10:31

I have already "done something":

That's the workaround that I could manage to do while a proper patch cannot be applied. This will require downgrade of cudnn to 6.0.21.
In the meanwhile you can use caffe2-cpu, which does not have cudnn dependency.

petronny commented on 2017-08-08 07:09

Hi, the cudnn in [community] has been updated to 7.0.1
Please do something. The package won't be built now.

pdrocaldeira commented on 2017-07-24 22:05


Thank YOU!

Worked just fine. :)

All comments