mirror of
https://github.com/clearml/clearml-agent
synced 2025-02-07 05:19:17 +00:00
Add queue priority info to CLI help (#211)
* add queue priority comment * Add --order-fairness info --------- Co-authored-by: Jake Henning <59198928+jkhenning@users.noreply.github.com>
This commit is contained in:
parent
d9f2a1999a
commit
f99344d194
@ -67,7 +67,10 @@ DAEMON_ARGS = dict({
|
|||||||
'group': 'Docker support',
|
'group': 'Docker support',
|
||||||
},
|
},
|
||||||
'--queue': {
|
'--queue': {
|
||||||
'help': 'Queue ID(s)/Name(s) to pull tasks from (\'default\' queue)',
|
'help': 'Queue ID(s)/Name(s) to pull tasks from (\'default\' queue).'
|
||||||
|
' Note that the queue list order determines priority, with the first listed queue having the'
|
||||||
|
' highest priority. To change this behavior, use --order-fairness to pull from each queue in a'
|
||||||
|
' round-robin order',
|
||||||
'nargs': '+',
|
'nargs': '+',
|
||||||
'default': tuple(),
|
'default': tuple(),
|
||||||
'dest': 'queues',
|
'dest': 'queues',
|
||||||
@ -112,8 +115,11 @@ DAEMON_ARGS = dict({
|
|||||||
'--dynamic-gpus': {
|
'--dynamic-gpus': {
|
||||||
'help': 'Allow to dynamically allocate gpus based on queue properties, '
|
'help': 'Allow to dynamically allocate gpus based on queue properties, '
|
||||||
'configure with \'--queue <queue_name>=<num_gpus>\'.'
|
'configure with \'--queue <queue_name>=<num_gpus>\'.'
|
||||||
' Example: \'--dynamic-gpus --gpus 0-3 --queue dual_gpus=2 single_gpu=1\''
|
' Example: \'--dynamic-gpus --gpus 0-3 --queue dual_gpus=2 single_gpu=1\'.'
|
||||||
' Example Opportunistic: \'--dynamic-gpus --gpus 0-3 --queue dual_gpus=2 max_quad_gpus=1-4 \'',
|
' Example Opportunistic: \'--dynamic-gpus --gpus 0-3 --queue dual_gpus=2 max_quad_gpus=1-4\'.'
|
||||||
|
' Note that the queue list order determines priority, with the first listed queue having the'
|
||||||
|
' highest priority. To change this behavior, use --order-fairness to pull from each queue in a'
|
||||||
|
' round-robin order',
|
||||||
'action': 'store_true',
|
'action': 'store_true',
|
||||||
},
|
},
|
||||||
'--uptime': {
|
'--uptime': {
|
||||||
|
Loading…
Reference in New Issue
Block a user