Package Details: caffe 1.0-18

Git Clone URL: https://aur.archlinux.org/caffe.git (read-only, click to copy)
Package Base: caffe
Description: A deep learning framework made with expression, speed, and modularity in mind (cpu only)
Upstream URL: https://caffe.berkeleyvision.org/
Keywords: ai artificial cuda intelligence nvidia
Licenses: BSD
Conflicts: caffe-cpu
Provides: caffe-cpu
Replaces: caffe-cpu
Submitter: yiuin
Maintainer: dbermond
Last Packager: dbermond
Votes: 18
Popularity: 0.000000
First Submitted: 2015-10-17 05:31 (UTC)
Last Updated: 2022-03-01 14:24 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

t4mmi commented on 2017-12-22 10:16 (UTC)

Hi all, I got a conflict between dependencies as openblas-lapack wont install along with blas and lapack that are required for numpy and opencv ...

dbermond commented on 2017-07-31 16:07 (UTC)

@znmeb To install it system wide, you need firstly to create a local package. For this you need to create a PKGBUILD (a script that automates the building and creation of packages with makepkg). After the local package creation, you can install it system wide with the pacman package manager. You can read information about this on the following Wiki pages: https://wiki.archlinux.org/index.php/Creating_packages https://wiki.archlinux.org/index.php/PKGBUILD https://wiki.archlinux.org/index.php/Makepkg If you wish to share your results with the community and if you have the skills (and time) to do package maintenance, you can create an AUR package. You can read about the AUR on this Wiki page: https://wiki.archlinux.org/index.php/Arch_User_Repository At the same AUR Wiki page you can see the steps needed to create and submit AUR packages: https://wiki.archlinux.org/index.php/Arch_User_Repository#Sharing_and_maintaining_packages I think this is not the appropriate channel to help you in using these tools. For further help you should ask in the Arch Linux forums.

znmeb commented on 2017-07-29 22:41 (UTC) (edited on 2017-07-29 22:45 (UTC) by znmeb)

I have it working - it took a bit of doing and I'm still not sure how to make a PKGBUILD. The steps required are: 1. Install the "amdgpu" kernel module and make sure it's loaded first. 2. Install "opencl-amd". The open source OpenCL libraries don't work, and the AUR amdgpu-pro doesn't install. I'll have to troubleshoot the latter; this should work if amdgpu-pro installs. 3. Clone the GitHub repo https://github.com/BVLC/caffe.git and check out the "opencl" branch. 4. "make" and "make test". 5. "make runtest". This takes a long time, so you probably wouldn't do it in a package. On my card (peak 1800 GFLOPS) it runs 2600 seconds! Now you have a local "caffe". I haven't figured out how to install it globally yet. Note that this is only useful with an AMD GPU - for NVidia the "caffe" in AUR should work and for Intel there are other ways to build "caffe". I don't have a new-enough Intel GPU to try this. There's probably a repo out there; a lot of Intel folks are working on deep learning and posting open source tools. Once I get some free time again I'm going to try modifying the "caffe" PKGBUILD to do all this (except the kernel part). I may have missed some dependencies in the process since I had "caffe-cpu" installed.

dbermond commented on 2017-07-27 01:24 (UTC)

@znmeb Welcome to the Arch Linux community. If you manage to get it working you should create a PKGBUILD in order to produce a package for your personal use. This will automate your build/install process and integrate the software into the pacman package manager. If you want to share with the community you can create an AUR package but this would need knowledge about package maintenance.

znmeb commented on 2017-07-25 08:33 (UTC)

I have an AMD "Bonaire" GPU. It looks like there's some upstream support for running caffe on AMD (and Intel) GPUs using OpenCL (https://github.com/BVLC/caffe/tree/opencl). I'm testing this now building from the GitHub repo - if I can make it work and use the GPU I'll post the setup here. I'm new to Arch; not sure how it should be packaged if it works.

dbermond commented on 2017-07-21 02:34 (UTC)

@kwe Thank you for the report. This should be fixed as of version 1.0-4.

kwe commented on 2017-07-21 00:09 (UTC)

Fails to build with -fno-plt specified in makepkg.conf See https://bugs.archlinux.org/task/54855

dbermond commented on 2017-05-24 19:23 (UTC)

@marcs The package is building fine for me. Tested in two different machines. Also tested in a clean chroot on both machines. Caffe can be a bit tricky to build in certain circumstances. To ensure good building results please do these steps: 1) uninstall any caffe package before you start to compile; 2) use makepkg -C (--cleanbuild) option (or delete the 'src' directory before running makepkg). If it still fails, build it in a clean chroot using extra-x86_64-build (from devtools, see the Wiki).

marcs commented on 2017-05-24 16:34 (UTC)

I have a build error: https://pastebin.com/94UDip7y

dbermond commented on 2017-04-08 13:04 (UTC)

@g3n35i5 I understand. Unfortunately I cannot help you to achieve matlab support. But I suggest you to try caffe-git because currently it has more features and brings fixes that are not present in the release version.