Add new NVIDIA CUDA feature - #80
Merged
Merged
Conversation
joshspicer
reviewed
Aug 5, 2022
joshspicer
reviewed
Aug 5, 2022
… jungaretti/nvidia-feature
Member
|
There's a bit of a gap in the dev container spec for features that is needed here. Specifically, there's no way that I'm aware of for a feature to specify GPU usage - which I'd expect you'd want for this feature, correct? Is there any reason to use this feature without it? EDIT: Raised devcontainers/spec#82 |
Contributor
Author
Not really. These libraries enable tools to leverage NVIDIA GPUs. That said, you can successfully install this feature without a GPU, but it won't be too useful. |
Contributor
Author
|
This PR is ready for another set of eyes! Here are my notable changes:
|
JP Ungaretti (jungaretti)
requested review from
Chuck Lantz (Chuxel),
joshspicer and
Samruddhi Khandale (samruddhikhandale)
August 18, 2022 00:28
joshspicer
reviewed
Aug 18, 2022
joshspicer
previously approved these changes
Aug 18, 2022
joshspicer
reviewed
Aug 19, 2022
… jungaretti/nvidia-feature
joshspicer
approved these changes
Aug 21, 2022
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.

Adds a new feature that installs Nvidia's CUDA and cuDNN libraries. These libraries enable tools such as TensorFlow to leverage an Nvidia GPU to perform highly-parallelizable tasks.
Motivation
This new feature would dramatically decrease friction for developers who use Codespaces to work on machine learning projects. Instead of copying, pasting, and executing this script, developers could simply add the new
nvidiafeature to theirdevcontainer.jsonand rebuild their codespace.Changes