Skip to content
Snippets Groups Projects

Add ability to install CUDA packages from NVIDIA's repository

Merged Matthew John requested to merge nvidiarepo into master
2 unresolved threads

Enabled installing CUDA from the NVIDIA repository. This is enabled by setting the variable use_nvidia_cuda_repo to true. A list of cuda and cudnn packages should be provided to the role when using this setting (i.e. the default cudnn packages are not likely to work).

Change also enables upgrading of CUDA when installed via the NVIDIA repository. The variable upgrade_cuda must be set to true and updated packages supplied via the cuda and cudnn package variables.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
13 cuda_key_url: "https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/7fa2af80.pub"
14
15 cuda_repo_base_url: "https://developer.download.nvidia.com/compute/cuda/repos/"
16 cuda_arch: "x86_64"
  • 11 11 Role Variables
    12 12 --------------
    13 13
    14 14 cuda_repo_deb:
  • Matthew John added 1 commit

    added 1 commit

    • 228cf18b - Add example playbooks using NVIDIA repository.

    Compare with previous version

  • Matthew John added 1 commit

    added 1 commit

    • 6ea15da1 - Use Ansible built in variable to determine architecture.

    Compare with previous version

  • Adrian Rixon added 1 commit

    added 1 commit

    • 6be47f82 - Note re. choosing use_nvidia_cuda_repo, cuda_repo_deb or cuda_repo_pkg

    Compare with previous version

  • Adrian Rixon mentioned in commit 0383b910

    mentioned in commit 0383b910

  • merged

  • Please register or sign in to reply
    Loading