No description
  • Go 97.2%
  • HCL 1.5%
  • Makefile 0.7%
  • Shell 0.6%
Find a file
dependabot[bot] 4e0ced426d
build(deps): bump github.com/hashicorp/nomad from 1.11.2 to 1.11.3 (#98)
Bumps [github.com/hashicorp/nomad](https://github.com/hashicorp/nomad) from 1.11.2 to 1.11.3.
- [Release notes](https://github.com/hashicorp/nomad/releases)
- [Changelog](https://github.com/hashicorp/nomad/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/nomad/compare/v1.11.2...v1.11.3)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/nomad
  dependency-version: 1.11.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-20 15:55:00 -04:00
.github build releases for arm64 (#86) 2026-01-26 09:11:56 -05:00
.release copyright: update headers (#91) 2026-02-16 16:14:45 -05:00
cmd copyright: update headers (#91) 2026-02-16 16:14:45 -05:00
nvml add support for igpus like the GB10, which do not have dedicated gpu memory (#90) 2026-02-18 09:42:29 -05:00
scripts copyright: update headers (#91) 2026-02-16 16:14:45 -05:00
version copyright: update headers (#91) 2026-02-16 16:14:45 -05:00
.copywrite.hcl build: update Makefile to be more modern 2024-06-28 14:40:19 +00:00
.gitignore crt: initial changes to onboard to CRT 2022-04-28 16:55:19 -05:00
.go-version build: update Go to v1.25.7 (#92) 2026-02-18 17:00:19 -05:00
CHANGELOG.md build: update Go to v1.25.7 (#92) 2026-02-18 17:00:19 -05:00
device.go copyright: update headers (#91) 2026-02-16 16:14:45 -05:00
device_test.go copyright: update headers (#91) 2026-02-16 16:14:45 -05:00
fingerprint.go copyright: update headers (#91) 2026-02-16 16:14:45 -05:00
fingerprint_test.go copyright: update headers (#91) 2026-02-16 16:14:45 -05:00
go.mod build(deps): bump github.com/hashicorp/nomad from 1.11.2 to 1.11.3 (#98) 2026-03-20 15:55:00 -04:00
go.sum build(deps): bump github.com/hashicorp/nomad from 1.11.2 to 1.11.3 (#98) 2026-03-20 15:55:00 -04:00
LICENSE [COMPLIANCE] Update MPL 2.0 LICENSE (#10) 2022-10-13 08:32:54 -04:00
Makefile build releases for arm64 (#86) 2026-01-26 09:11:56 -05:00
README.md docs: stats_period configuration was removed long ago 2024-10-01 15:56:22 +00:00
stats.go copyright: update headers (#91) 2026-02-16 16:14:45 -05:00
stats_test.go copyright: update headers (#91) 2026-02-16 16:14:45 -05:00

Nomad Nvidia Device Plugin

This repository provides an implementation of a Nomad device plugin for Nvidia GPUs.

Behavior

The Nvidia device plugin uses NVML bindings to get data regarding available Nvidia devices and will expose them via Fingerprint RPC. GPUs can be excluded from fingerprinting by setting the ignored_gpu_ids field (see below). Plugin sends statistics for fingerprinted devices periodically.

The plugin detects whether the GPU has Multi-Instance GPU (MIG) enabled. When enabled all instances will be fingerprinted as individual GPUs that can be addressed accordingly.

Config

The plugin is configured in the Nomad client's plugin block:

plugin "nvidia" {
  config {
    ignored_gpu_ids    = ["uuid1", "uuid2"]
    fingerprint_period = "5s"
  }
}

The valid configuration options are:

  • ignored_gpu_ids (list(string): []): list of GPU UUIDs strings that should not be exposed to nomad
  • fingerprint_period (string: "1m"): interval to repeat the fingerprint process to identify possible changes.