link profile::nvidia::cuda

This commit is contained in:
2022-11-24 16:59:28 +01:00
parent 80d551ade8
commit 77b0e9f78a
@@ -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.