mirror of
https://github.com/clearml/clearml-agent
synced 2025-03-13 06:58:37 +00:00
parent
f6f043d1ca
commit
e17246d8ea
@ -217,8 +217,8 @@
|
||||
}
|
||||
|
||||
# Name docker containers created by the daemon using the following string format (supported from Docker 0.6.5)
|
||||
# Allowed variables are task_id, worker_id and rand_string (random lower-case letters string, up to 32 charaters)
|
||||
# Note: resulting name must start with an alpha-numeric character and continue with a alpha-numeric characters,
|
||||
# Allowed variables are task_id, worker_id and rand_string (random lower-case letters string, up to 32 characters)
|
||||
# Note: resulting name must start with an alphanumeric character and continue with alphanumeric characters,
|
||||
# underscores (_), dots (.) and/or dashes (-)
|
||||
#docker_container_name_format: "clearml-id-{task_id}-{rand_string:.8}"
|
||||
}
|
||||
|
@ -1434,7 +1434,7 @@ class Worker(ServiceCommandSection):
|
||||
|
||||
queue_names = [q.name for q in queues]
|
||||
if not all('=' in q for q in queue_names):
|
||||
raise ValueError("using --dynamic-gpus, --queues [{}], "
|
||||
raise ValueError("using --dynamic-gpus, --queue [{}], "
|
||||
"queue must be in format <queue_name>=<num_gpus>".format(queue_names))
|
||||
|
||||
gpu_indexes = kwargs.get('gpus')
|
||||
|
@ -104,7 +104,7 @@ DAEMON_ARGS = dict({
|
||||
},
|
||||
'--dynamic-gpus': {
|
||||
'help': 'Allow to dynamically allocate gpus based on queue properties, '
|
||||
'configure with \'--queues <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 Opportunistic: \'--dynamic-gpus --gpus 0-3 --queue dual_gpus=2 max_quad_gpus=1-4 \'',
|
||||
'action': 'store_true',
|
||||
|
@ -195,9 +195,9 @@ agent {
|
||||
# }
|
||||
|
||||
# Name docker containers created by the daemon using the following string format (supported from Docker 0.6.5)
|
||||
# Allowed variables are task_id, worker_id and rand_string (random lower-case letters string, up to 32 charaters)
|
||||
# Note: resulting name must start with an alpha-numeric character and
|
||||
# continue with a alpha-numeric characters, underscores (_), dots (.) and/or dashes (-)
|
||||
# Allowed variables are task_id, worker_id and rand_string (random lower-case letters string, up to 32 characters)
|
||||
# Note: resulting name must start with an alphanumeric character and
|
||||
# continue with alphanumeric characters, underscores (_), dots (.) and/or dashes (-)
|
||||
# docker_container_name_format: "clearml-id-{task_id}-{rand_string:.8}"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user