From 5b758d767166e67bd318312973b0065f11d46d90 Mon Sep 17 00:00:00 2001 From: bagratte Date: Fri, 5 May 2023 10:36:47 +0400 Subject: [PATCH] Proofread Compose GPU --- compose/gpu-support.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compose/gpu-support.md b/compose/gpu-support.md index e1e6af207c..6e3c2bf520 100644 --- a/compose/gpu-support.md +++ b/compose/gpu-support.md @@ -17,8 +17,8 @@ GPUs are referenced in a `docker-compose.yml` file using the [device](compose-fi This provides more granular control over a GPU reservation as custom values can be set for the following device properties: - `capabilities`. This value specifies as a list of strings (eg. `capabilities: [gpu]`). You must set this field in the Compose file. Otherwise, it returns an error on service deployment. -- `count`. This value specified as an integer or the value `all` representing the number of GPU devices that should be reserved (providing the host holds that number of GPUs). If no `count` is set, all GPUs available on the host are used by default. -- `device_ids`. This value specified as a list of strings representing GPU device IDs from the host. You can find the device ID in the output of `nvidia-smi` on the host. If no `device_ids` are set, all GPUs available on the host used by default. +- `count`. This value, specified as an integer or the value `all`, represents the number of GPU devices that should be reserved (providing the host holds that number of GPUs). If `count` is set to `all` or not specified, all GPUs available on the host are used by default. +- `device_ids`. This value, specified as a list of strings, represents GPU device IDs from the host. You can find the device ID in the output of `nvidia-smi` on the host. If no `device_ids` are set, all GPUs available on the host are used by default. - `driver`. This value is specified as a string, for example `driver: 'nvidia'` - `options`. Key-value pairs representing driver specific options.