Skip to content

Commit 55e57e3

Browse files
committed
Tweak label readme and fix generic label example
Signed-off-by: Tuomas Katila <[email protected]>
1 parent aa8e9c5 commit 55e57e3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

cmd/gpu_plugin/labels.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ GPU labels originate from two main sources: NFD rules and GPU plugin (& NFD hook
44

55
## NFD rules
66

7-
NFD rule is a method to instruct NFD to add certain label(s) to node based on the devices detected on it. There is a generic rule to identify all Intel GPUs. It will add labels for each pci device type. For example, a Tigerlake iGPU will show up as:
7+
NFD rule is a method to instruct NFD to add certain label(s) to node based on the devices detected on it. There is a generic rule to identify all Intel GPUs. It will add labels for each PCI device type. For example, a Tigerlake iGPU (PCI Id 0x9a49) will show up as:
88

99
```
10-
gpu.intel.com/device-id-0300-9a49.count=1
11-
gpu.intel.com/device-id-0300-9a49.present=true
10+
gpu.intel.com/device-id.0300-9a49.count=1
11+
gpu.intel.com/device-id.0300-9a49.present=true
1212
```
1313

1414
For data center GPUs, there are more specific rules which will create additional labels for GPU family, product and device count. For example, Flex 170:
@@ -27,6 +27,8 @@ gpu.intel.com/product=Max_1550
2727

2828
Current covered platforms/devices are: Flex 140, Flex 170, Max 1100 and Max 1550.
2929

30+
To identify other GPUs, see the graphics processor table [here](https://dgpu-docs.intel.com/devices/hardware-table.html#graphics-processor-table).
31+
3032
## GPU Plugin and NFD hook
3133

3234
In GPU plugin, these labels are only applied when [Resource Management](README.md#fractional-resources-details) is enabled. With the NFD hook, labels are created regardless of how GPU plugin is configured.

0 commit comments

Comments
 (0)