Skip to content
Juju layer to install CUDA on a fresh Ubuntu image with at least a GPU
Shell Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
reactive
tests
.gitignore
README.md
config.yaml.old
icon.svg
layer.yaml
metadata.yaml

README.md

Installing CUDA on GPU enabled hardware

This simple charm installs the CUDA driver on a blank image running on a GPU instance. It first test if a GPU from nVidia is installed. If yes, it will install CUDA. Otherwise, it will exit in error.

Usage

Deploy a GPU enabled instance. For example, on AWS:

juju deploy --constraints "instance-type=g2.2xlarge" trusty/ubuntu ubuntu-gpu

Then install the CUDA charm

juju deploy cs:~samuel-cozannet/trusty/cuda
juju add-relation ubuntu-gpu cuda
You can’t perform that action at this time.