Files
gitea-pages/admin-guide/puppet/profiles/nvidia/cuda.rst

49 lines
1.5 KiB
ReStructuredText

``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.