From a9011361bc18cd492c03a7d9e253389b5c08e78e Mon Sep 17 00:00:00 2001 From: pollfly <75068813+pollfly@users.noreply.github.com> Date: Mon, 19 Feb 2024 14:24:59 +0200 Subject: [PATCH] Fix dynamic GPU example (#780) --- docs/clearml_agent.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/clearml_agent.md b/docs/clearml_agent.md index c54bd31a..1dbcef13 100644 --- a/docs/clearml_agent.md +++ b/docs/clearml_agent.md @@ -656,10 +656,11 @@ Agents can spin multiple Tasks from different queues based on the number of GPUs needs. `dynamic-gpus` enables dynamic allocation of GPUs based on queue properties. -To configure the number of GPUs for a queue, use the `--queue` flag and specify the queue name and number of GPUs: +To configure the number of GPUs for a queue, use the `--gpus` flag to specify the active GPUs, and use the `--queue` +flag to specify the queue name and number of GPUs: ```console -clearml-agent daemon --dynamic-gpus --queue dual_gpus=2 single_gpu=1 +clearml-agent daemon --dynamic-gpus --gpus 0-2 --queue dual_gpus=2 single_gpu=1 ``` ### Example