Package Details: caffe 1.0-9

Git Clone URL: https://aur.archlinux.org/caffe.git (read-only)
Package Base: caffe
Description: A deep learning framework made with expression, speed, and modularity in mind (gpu enabled)
Upstream URL: http://caffe.berkeleyvision.org/
Keywords: ai artificial cuda intelligence nvidia
Licenses: BSD
Conflicts: caffe-cpu, caffe-cpu-git, caffe-dr-git, caffe-git, caffe-mnc-dr-git, caffe2, caffe2-cpu, caffe2-cpu-git, caffe2-git
Submitter: yiuin
Maintainer: dbermond
Last Packager: dbermond
Votes: 12
Popularity: 0.017099
First Submitted: 2015-10-17 05:31
Last Updated: 2018-05-30 22:14

Latest Comments

1 2 3 4 Next › Last »

dbermond commented on 2018-06-11 01:11

@Alf2010 I see. I also have a lot of AUR packages installed, but they don't give any problem with caffe. A final word that I can say is: try to build each AUR dependency also in a clean chroot before passing them with -- -I in extra-x86_64-build. I cannot say too much, since everything is working fine here, and it was already confirmed to build fine in a chroot by another user. Thank you for appreciating this package and nccl.

Alf2010 commented on 2018-06-10 15:02

I tried to build it in a clean chroot with the help of the wiki page but it fails ([Makefile:626: .build_release/tools/net_speed_benchmark.bin] Error 1). Currently I can't take more time to investigate, I will see it later. I don't know what can be wrong with my system, I am using a lot of aur packages and everything is ok except for caffe. Thank's again for your help and for making this package and the others like nccl.

dbermond commented on 2018-06-08 19:01

@Alf2010 Something should be also wrong in your building tree or system. You need to find what's going on in order to be able to build in a normal environment. Building in a clean chroot assures that everything is fine, eliminating all the interferences.

Alf2010 commented on 2018-06-07 15:32

Hi all, Same error message than Michael with libcudart.so.9.0 I didn't try yet to build it in a clean chroot

dbermond commented on 2018-06-05 15:20

@MichaelChou Good to know that you solved the issue. Thank you for the feedback.

MichaelChou commented on 2018-06-04 06:41

@dbermond Thanks for your informative reply. I succeeded building it in a clean chroot.

I dug around a bit and figured out the cause of this issue. I put it here in case it happen to anyone else:

Caffe indirectly depends on ffmpeg. If you manually built ffmpeg against previous version of cuda, you will have this issue. A simple rebuild of ffmpeg (after upgrading cuda of course) will solve it.

dbermond commented on 2018-06-03 02:04

@MichaelChou I cannot reproduce your issue. Package is building fine for me in a normal working environment as like as in a chroot environment.

Since you're getting an error about a library from cuda 9.1, it smells like a problem in your building tree or even on your system. It should not complain about something from a previous cuda version.

Make sure that you're using a new and clean directory for building (or use makepkg -C/--cleanbuild option). If it still does not work, build in a clean chroot and it should do the job.

MichaelChou commented on 2018-06-02 14:15

I failed building with error output like this:

...
/usr/bin/ld: warning: libcurand.so.9.1, needed by /usr/lib/libcaffe.so, not found (try using -rpath or -rpath-link)
...
/usr/lib/libcaffe.so: undefined reference to `cudaGetDeviceCount@libcudart.so.9.1'
...
make: *** [Makefile:626: .build_release/tools/test_net.bin] Error 1
...

I already have cuda 9.2 installed.

dbermond commented on 2018-03-08 16:31

@nhkrishna This is normal and expected. If you take a look at the PKGBUILD file, you'll see that the supported architecture (the 'arch' array) is x86_64 only. This is because the AUR is in general for the x86_64 architecture, and at most for the i686 architecture. ARM is in general not supported here. ARM can be supported for a specific package if the package maintainer is willing to support it. But I, as the current caffe package maintainer, cannot support ARM architectures.

If you wish to install caffe on ARM, you should use the proper Arch Linux ARM support channels, like their forum.

nhkrishna commented on 2018-03-08 12:44

I'm trying to install caffe on archlinux. I'm using armv7h architecture. But its showing error like "caffe is not available for armv7h architecture". I've tried following steps. 1)git clone https://aur.archlinux.org/caffe.git 2)cd caffe 3)makepkg PKGBUILD I got the error as below ==> ERROR: caffe is not available for the 'armv7h' architecture.

==> ERROR: An unknown error has occurred. Exiting...