Skip to content

Commit e69ad55

Browse files
[Azure CXP]Fixing wording with Enable a GPU
Description of NVIDIA_VISIBLE_DEVICES seems incorrect. In step 7 under Enable a GPU in a prefabricated NVIDIA module it describes the NVIDIA_VISIBLE_DEVICES value as "a list of your modules on your device, with 0 being the beginning of the list." But this seems incorrect per Nvidia's repo which says that the value represents a list of GPUs that are exposed to the container for use. E.g. In a multi-GPU environment someone can control whether one or more of those GPUs is available to that container. Resolves: #https://github.com/MicrosoftDocs/azure-docs/issues/105690
1 parent 60651a3 commit e69ad55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/iot-edge/configure-connect-verify-gpu.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ Let's add an [NVIDIA DIGITS](https://docs.nvidia.com/deeplearning/digits/index.h
186186

187187
1. Select the **Environment Variables** tab.
188188

189-
1. Add the environment variable name `NVIDIA_VISIBLE_DEVICES` with the value `0`. The value represents a list of your modules on your device, with `0` being the beginning of the list. This value is how many devices you want assigned to a GPU. Since we only have one module here, we want the first one on our list to be GPU-enabled.
189+
1. Add the environment variable name `NVIDIA_VISIBLE_DEVICES` with the value `0`. This variable controls which GPUs are visible to the containerized application running on the edge device. The `NVIDIA_VISIBLE_DEVICES` environment variable can be set to a comma-separated list of device IDs, which correspond to the physical GPUs in the system. For example, if there are two GPUs in the system with device IDs 0 and 1, the variable can be set to "NVIDIA_VISIBLE_DEVICES=0,1" to make both GPUs visible to the container. In this article, since the VM only has one GPU, we will use the first (and only) one.
190190

191191
| Name | Type | Value |
192192
| :--------------------- | ---- | ----- |

0 commit comments

Comments
 (0)