This is a snap delivering NVIDIA dcgm components. The snap consists of dcgm and dcgm-exporter.
From v4, the snapcraft.yaml file is dynamically generated using the snapcraft.yaml.in file
as template. To create the file run:
# generate v4 using cuda11 packages
CUDA_VERSION=11 envsubst '$CUDA_VERSION' < snap/snapcraft.yaml.in > snap/snapcraft.yaml
# generate v4 using cuda12 packages
CUDA_VERSION=12 envsubst '$CUDA_VERSION' < snap/snapcraft.yaml.in > snap/snapcraft.yaml
# generate v4 using cuda13 packages
CUDA_VERSION=13 envsubst '$CUDA_VERSION' < snap/snapcraft.yaml.in > snap/snapcraft.yamlYou can build the snap locally by using the command:
snapcraft pack -vYou can test the snap locally by using the command:
tox -e funcUser documentation can be found on the snap page.