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

Travis: WITH_CMAKE=true, WITH_CUDA=true does not use cuda. #2722

Closed
philkr opened this issue Jul 8, 2015 · 3 comments
Closed

Travis: WITH_CMAKE=true, WITH_CUDA=true does not use cuda. #2722

philkr opened this issue Jul 8, 2015 · 3 comments
Labels

Comments

@philkr
Copy link
Contributor

philkr commented Jul 8, 2015

Travis with WITH_CMAKE=true, WITH_CUDA=true still has the CPU_ONLY=ON flag set, so it never builds the cuda code with cmake.
See https://github.com/BVLC/caffe/blob/master/scripts/travis/travis_build_and_test.sh line 10. Is there a reason for this or just oversight?

@longjon
Copy link
Contributor

longjon commented Jul 13, 2015

It doesn't look like there's a good reason for this; the commits are @jeffdonahue's, so maybe he can comment further. I think we'd accept a PR that fixes this.

@jeffdonahue
Copy link
Contributor

Yup, my bad. Fix welcome.

philkr added a commit to philkr/caffe that referenced this issue Jul 21, 2015
@shelhamer
Copy link
Member

Fixed in #2740

sh1r0 pushed a commit to sh1r0/caffe that referenced this issue Jul 22, 2015
matthiasplappert pushed a commit to matthiasplappert/caffe that referenced this issue Aug 10, 2015
cbfinn pushed a commit to cbfinn/caffe that referenced this issue Aug 12, 2015
wangyida pushed a commit to wangyida/caffe that referenced this issue Sep 14, 2015
wangyida pushed a commit to wangyida/caffe that referenced this issue Sep 15, 2015
wangyida pushed a commit to wangyida/caffe that referenced this issue Sep 15, 2015
wangyida pushed a commit to wangyida/caffe that referenced this issue Sep 16, 2015
wangyida pushed a commit to wangyida/caffe that referenced this issue Sep 22, 2015
myfavouritekk added a commit to myfavouritekk/caffe that referenced this issue Sep 12, 2016
Snapshot model weights/solver state to HDF5 files

* erictzeng/hdf5_snapshot: (29 commits)
  Update example bash scripts to expect .h5, new extensions in .gitignore
  TestSnapshot expects .h5 snapshots, explicitly checks history.
  Snapshot model weights/solver state to HDF5 files.
  TestGradientBasedSolver: add TestSnapshot to verify behavior when restoring net/solver from snapshot
  add double_data, double_diff to BlobProto for weights/snapshots saved when using Dtype == double
  Fix typo
  PythonLayer takes parameters by string
  [pytest] open exception file with mode for python3
  [pycaffe,build] include Python first in caffe tool
  ImageData layer default batch size of 1, and check for zero batch size
  Change log levels in upgrade_proto
  [docs] add CONTRIBUTING.md which will appear on GitHub new Issue/PR pages
  [docs] fix contrastive loss eq
  [docs] fix lmdb fetch url and path
  [docs] clear up PYTHONPATH confusion
  Fix path to mnist_autoencoder.prototxt
  [docs] set lmdb url to github mirror
  [docs] matlab 2015a compatible
  Travis scripts for python3 and pytest for cmake. Also fixes CUDA CMake build issue BVLC#2722.
  [examples] fix link to point to new tutorial notebook
  ...

Conflicts:
	.travis.yml
	include/caffe/python_layer.hpp
	scripts/travis/travis_build_and_test.sh
	scripts/travis/travis_install.sh
	src/caffe/proto/caffe.proto
	src/caffe/solver.cpp
	src/caffe/test/test_gradient_based_solver.cpp
	tools/caffe.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants