Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi, Is There A Concept Of An Agent Taking More Then One Job?

Hi, is there a concept of an agent taking more then one job?

  
  
Posted 3 years ago
Votes Newest

Answers 15


Hi RipeGoose2
Yes, the "services-mode" of an agent will take multiple Tasks, that said, these are "service" i.e. light CPU tasks, think pipeline controllers etc.

  
  
Posted 3 years ago

great! so the agent can be executing some "regular" job while doing some extra "services"

  
  
Posted 3 years ago

just making sure, the services queue is available from the clearml-server UI

  
  
Posted 3 years ago

doing some extra "services"

what do you mean by "services" ? (from the system perspective any Task that is executed by an agent that is running in "services-mode" is a service, there are no actual limitation on what it can do 🙂 )

  
  
Posted 3 years ago

some arbitrary job.. can be executed in parallel to a running job on the same agent.
directly from the UI from the services queue?

  
  
Posted 3 years ago

directly from the UI from the services queue?

Spin the agent with --service-mode it will keep pulling jobs from the queue and spinning them (BTW, it will only start the next job after the first one finished the env setup, and you must be running with --docker mode 🙂

  
  
Posted 3 years ago

🙏 thanks!

  
  
Posted 3 years ago

one more question, is there a way to assign a job to a specific worker? or is it only working on queue level

  
  
Posted 3 years ago

is there a way to assign a job to a specific worker? or is it only working on queue level

Only on a queue level, but you can have as many as you like and spin the agent on it (notice you can have multiple queues on the same agent, pulling based on priority/order).

  
  
Posted 3 years ago

is there a fundamental reason why is this only enabled in --docker mode?

  
  
Posted 3 years ago

Actually we just added venv support as well, the reasoning is/was inside a docker it is easier to separate the running processes, with venv we had to support multiple venv running at the same time and reusing of those venv (just a bit more logic) anyhow this is now supported :)

  
  
Posted 3 years ago

sounds great, is it part of the release? or latest repo?

  
  
Posted 3 years ago

Latest RC 🙂

  
  
Posted 3 years ago

pip install clearml-agent==0.17.3rc0

  
  
Posted 3 years ago

cool thanks

  
  
Posted 3 years ago
883 Views
15 Answers
3 years ago
one year ago
Tags