nvidia_docker_runtime

pdk
Manage NVIDIA Docker runtime

Mindhive

mindhive

6,526 downloads

439 latest version

5.0 quality score

Version information

  • 2.2.2 (latest)
  • 2.2.1
  • 2.2.0
  • 2.1.0
  • 2.0.1
  • 2.0.0
  • 1.1.0
  • 1.0.1
  • 1.0.0
  • 0.2.2
  • 0.2.1
  • 0.2.0
released Jan 27th 2021
This version is compatible with:
  • Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x
  • Puppet >= 5.0.0 < 7.0.0
  • Ubuntu

Start using this module

Documentation

mindhive/nvidia_docker_runtime — version 2.2.2 Jan 27th 2021

nvidia_docker_runtime

This is a PDK based module https://puppet.com/pdk/latest/pdk_generating_modules.html .

Table of Contents

  1. Description
  2. Usage - Configuration options and additional functionality

Description

Modifies Docker for use with NVIDIA GPU based containers, including in swarm mode.

Usage

class { 'nvidia_docker_runtime':
  driver_version         => '440.64.00-1',
  nvidia_docker2_version => '2.2.2-1',
}

Limitations

Since GPU UUIDs are needed to specify node-generic-resources, and these are not available through facts until the NVIDIA driver has been installed, it takes two applies to fully setup. Until then swarm cannot use gpu resources.

Due to Docker limitations you can only specify gpus in compose files for compose format 2.3. As docker stack requires format 3.0 this means you can't use gpus in stacks.