github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/devices/gpu/nvidia/README.md (about)

     1  This package provides an implementation of nvidia device plugin
     2  
     3  # Behavior
     4  
     5  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. Plugin sends statistics for fingerprinted devices every `stats_period` period.
     6  
     7  # Config
     8  
     9  The configuration should be passed via an HCL file that begins with a top level `config` stanza:
    10  
    11  ```
    12  config {
    13    ignored_gpu_ids = ["uuid1", "uuid2"]
    14    fingerprint_period = "5s"
    15  }
    16  ```
    17  
    18  The valid configuration options are:
    19  
    20  * `ignored_gpu_ids` (`list(string)`: `[]`): list of GPU UUIDs strings that should not be exposed to nomad
    21  * `fingerprint_period` (`string`: `"1m"`): interval to repeat the fingerprint process to identify possible changes.