Conversation
Contributor
Author
|
/gcbrun |
inferno-chromium
approved these changes
Jul 24, 2020
inferno-chromium
left a comment
Collaborator
There was a problem hiding this comment.
No good way to test, just can check docker build on the images itself. Since it is broken anyway, it is totally fine to try directly.
|
|
||
| # Install TensorRT. Requires that libcudnn7 is installed above. | ||
| RUN apt-get install -y --no-install-recommends \ | ||
| libnvinfer6=6.0.1-1+cuda10.1 \ |
Collaborator
There was a problem hiding this comment.
nit: CUDA_VERSION=6.0.1-1+cuda10.1 at start of command and then use in three places as $CUDA_VERSION ?
Same for libcudnn7 above.
Contributor
Author
There was a problem hiding this comment.
thanks for the suggestion! I don't think that would improve readability a lot, plus it's not CUDA version (cuda is 10.1), so I'm just leaving this like suggested in the docs: https://www.tensorflow.org/install/gpu#ubuntu_1604_cuda_101
Contributor
Author
|
/gcbrun |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I'm not quite sure how to test this. I did try to install things manually on a bot and that worked, but we have slightly different setup for deploying CF bots.
One idea might be to update Chromium's ml-with-gpu image and just re-create those bots. Even if they break, we won't lose much.
Another option is to set up a separate GCP project with a ml-with-gpu bot. It'll take a bit longer but won't be "testing in prod".
Maybe there are any other tricks that I don't remember?