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

speed up Travis build by installing only the CUDA subpackages necessary for building #806

Merged
merged 1 commit into from
Jul 28, 2014

Conversation

jeffdonahue
Copy link
Contributor

Instead of installing the entire "cuda" package, install only a couple subpackages (which the cuda package installs, along with many other large packages). Some of the packages are unnecessary since they're related to documentation, examples, UI, etc.; others are (probably?) only unnecessary because we're not actually running the GPU tests (since Travis doesn't have GPUs).

This cuts down the download size from 833 MB (https://travis-ci.org/BVLC/caffe/builds/30988484) to 271 MB (https://travis-ci.org/jeffdonahue/caffe/builds/31008638). It's hard to say exactly how much of an improvement this is because there seems to be a lot of variance in the CUDA download speed, but I think the download was a significant bottleneck, and 833 MB -> 271 MB is an improvement regardless of how fast the download is.

jeffdonahue added a commit that referenced this pull request Jul 28, 2014
speed up Travis build by installing only the CUDA subpackages necessary for building
@jeffdonahue jeffdonahue merged commit 4d66551 into BVLC:dev Jul 28, 2014
@jeffdonahue jeffdonahue deleted the travis-minimal-cuda branch July 28, 2014 04:17
@jeffdonahue jeffdonahue mentioned this pull request Jul 30, 2014
mitmul pushed a commit to mitmul/caffe that referenced this pull request Sep 30, 2014
speed up Travis build by installing only the CUDA subpackages necessary for building
RazvanRanca pushed a commit to RazvanRanca/caffe that referenced this pull request Nov 4, 2014
speed up Travis build by installing only the CUDA subpackages necessary for building
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant