From 77b0e9f78ad43e39e1acebcede0176a27a6ef1f1 Mon Sep 17 00:00:00 2001 From: Konrad Bucheli Date: Thu, 24 Nov 2022 16:59:28 +0100 Subject: [PATCH] link profile::nvidia::cuda --- admin-guide/puppet/profiles/nvidia/cuda.rst | 48 +++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 admin-guide/puppet/profiles/nvidia/cuda.rst diff --git a/admin-guide/puppet/profiles/nvidia/cuda.rst b/admin-guide/puppet/profiles/nvidia/cuda.rst new file mode 100644 index 00000000..b61777b2 --- /dev/null +++ b/admin-guide/puppet/profiles/nvidia/cuda.rst @@ -0,0 +1,48 @@ +``profile::nvidia::cuda`` +========================= + +The purpose of this module is to install the NVIDIA drivers and CUDA. +This + +The GPU drivers are always installed when this profile is included. + +To enable CUDA installation ``nvidia::cuda::enable`` must be set to ``true`` (default +is ``false``). + +Parameters +---------- + +============== ======== ========================================================= +**Name** **Type** **Default** +-------------- -------- --------------------------------------------------------- +driver_version string hiera('nvidia::driver::version', undef) +driver_branch string hiera('nvidia::driver::branch', undef) +cuda_enable boolean hiera('nvidia::cuda::enable', true) +cuda_version string hiera('nvidia::cuda::version') +nv_persist boolean hiera('nvidia::cuda::nvidia_persistenced::enable', undef) +============== ======== ========================================================= + + +``driver_version`` +~~~~~~~~~~~~~~~~~~ + +Keep the Nvidia GPU driver at a given version. + +``driver_branch`` +~~~~~~~~~~~~~~~~~ + +RHEL 8 only: Use the GPU drivers from given driver branch. + +``cuda_enable`` +~~~~~~~~~~~~~~~ + +By default is ``false``. Set to ``true`` if you want to install CUDA. + + +``cuda_version`` +~~~~~~~~~~~~~~~ +The version of CUDA to be used. On RHEL 8 it will install the newest possible still supporting the installed driver. + +``nv_persist`` +~~~~~~~~~~~~~ +Controls the ``nvidia_persistenced`` service. By default is disabled and stopped on RHEL 7, while on RHEL 8 it is enabled and running by defautl.