Anton Lokhmotov
Anton Lokhmotov
After I [relaxed the compiler constraints](https://github.com/dividiti/ck-caffe/commit/2d1e56fd5edc90a8296c89db7d17fde4fdf27c3e) on building Caffe (i.e. allow to use C++ compilers other than GCC), I found that building with Clang (LLVM) fails due to linking issues:...
The CK-Caffe repository contains several duplicate files: ``` $ find $CK_REPOS/ck-caffe -name *binaryproto -exec ls -la {} \; -rw-r--r-- 1 anton dvdt 602126 Apr 7 19:09 /home/anton/CK/ck-caffe/package/caffemodel-resnet101/ResNet_mean.binaryproto -rw-r--r-- 1 anton...
``` $ ck install package:lib-caffe-bvlc-opencl-cpu-universal $ ck run program:caffe --cmd_key=time_cpu ... F0215 12:46:44.895566 6044 common.cpp:271] Cannot use GPU in CPU-only Caffe: check mode. *** Check failure stack trace: *** @...
Caffe used to support three modes: CPU, CUDA (cuBLAS) and cuDNN. They seems to have dropped cuBLAS support, so there are only two options: ``` caffe_option(CPU_ONLY "Build Caffe without CUDA...
They should be updated as e.g. snapshot packages: ``` "lib-hdf5": { "local": "yes", "name": "HDF5 library", "only_for_target_os_tags": [ "linux", "windows" ], "skip_default":"yes", "sort": 19, "tags": "lib,hdf5,v1.10.1" }, "lib-lmdb": { "local":...
For many (all?) Caffe package, `-DBoost_ADDITIONAL_VERSIONS` is hardcoded to 1.62, whereas we already can install 1.64 and 1.65. ``` $ grep "Boost\_ADDITIONAL\_VERSIONS" ~/CK_REPOS/ck-caffe/package -R lib-caffe-bvlc-opencl-armcl-universal/scripts.linux/install.sh: -DBoost_ADDITIONAL_VERSIONS="1.62" \ lib-caffe-bvlc-opencl-viennacl-universal/scripts.android/install.sh: -DBoost_ADDITIONAL_VERSIONS="1.62" \...
Any Caffe build (e.g. `package:lib-caffe-bvlc-master-cuda-universal`) with `package:lib-protobuf-host-3.3.0` installed fails: ``` [ 1%] Building CXX object src/caffe/CMakeFiles/caffeproto.dir/__/__/include/caffe/proto/caffe.pb.cc.o cd /home/anton/CK_TOOLS/lib-caffe-bvlc-master-cuda-trunk-gcc-5.4.0-linux-64/obj/src/caffe && /usr/bin/g++-5 -DCAFFE_VERSION=1.0.0 -I/home/anton/CK_TOOLS/lib-caffe-bvlc-master-cuda-trunk-gcc-5.4.0-linux-64/obj/include -I/usr/include/opencv -I/home/anton/CK_TOOLS/lib-caffe-bvlc-master-cuda-trunk-gcc-5.4.0-linux-64/obj -I/home/anton/CK_TOOLS/lib-protobuf-host-3.3.0-linux-64/install/include -I/usr/include -fPIC -Wall -Wno-sign-compare -Wno-uninitialized...
We should support building Caffe with FP16 support, as requested in #114. **NB:** The OpenCL branch and CLBlast already support FP16. It might not make sense for clBLAS and ViennaCL.
``` nvcc -ccbin /usr/bin/g++-5 -c -I../ -DANDROID_USE_OPENMP=ON -DBLAS=Open -DCK_HOST_OS_NAME2_LINUX=1 -DCK_HOST_OS_NAME_LINUX=1 -DCK_TARGET_OS_NAME2_LINUX=1 -DCK_TARGET_OS_NAME_LINUX=1 -DUSE_LMDB=OFF -DUSE_OPENCV=ON -I/home/anton/CK_TOOLS/lib-caffe-bvlc-master-cudnn-trunk-gcc-5.4.0-linux-64/install/include -I/home/anton/CK_TOOLS/lib-gflags-2.2.0-gcc-5.4.0-linux-64/install/include -I/home/anton/CK_TOOLS/lib-glog-development-gcc-5.4.0-linux-64/install/include -I/home/anton/CK_TOOLS/lib-openblas-0.2.19-gcc-5.4.0-linux-64/install/include -I/home/anton/CK_TOOLS/lib-protobuf-host-3.1.0-linux-64/install/include -I/usr/include -I/usr/include -I/usr/include/hdf5/serial -I/usr/include -I/home/anton/CK_TOOLS/lib-caffe-bvlc-master-cudnn-trunk-gcc-5.4.0-linux-64/install/.build_release/src ../caffe.cpp -o caffe.o nvcc warning :...
I've found several issues with the Boost dependencies in the Caffe classification and detection programs (`caffe-classification`, `caffe-classification-cuda`, `caffe-classification-opencl`, `caffe-detection-ssd`, `caffe-detection-ssd-cuda`). 1. Boost is specified twice as follows: ``` "boost": {...