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
What Is The Recommended Way To Stop The Execution Of A Specific Agent? This Command Doesn'T Allow Me To Specify The Agent Ip I Want To Stop:

What is the recommended way to stop the execution of a specific agent?

This command doesn't allow me to specify the agent IP I want to stop:

clearml-agent daemon <arguments> --stop

  
  
Posted 3 years ago
Votes Newest

Answers 11


Maybe this one?
https://github.com/allegroai/clearml/issues/448
I think it is already there (i.e. 1.1.1)

  
  
Posted 2 years ago

That would be a very useful feature.
What is the status of that issue? I havn't found it on github.

  
  
Posted 2 years ago

Thanks!

  
  
Posted 3 years ago

Done!

  
  
Posted 3 years ago

GiganticTurtle0 can you please add a github issue with feature request to clearml-agent? I think this is a great use case!

  
  
Posted 3 years ago

Sure, it would be very intuitive if the command to stop an agent would be as easy as:
clearml-agent daemon --stop AGENT_PID

  
  
Posted 3 years ago

Hmmm that is a good use case to have (maybe we should have --stop get an argument ?)
Meanwhile you can do
$ clearml-agent daemon --gpus 0 --queue default $ clearml-agent daemon --gpus 1 --queue default then to stop only the second one: $ clearml-agent daemon --gpus 1 --queue default --stopwdyt?

  
  
Posted 3 years ago

But how can I reference that exact daemon execution? I tried with the ID but it fails:

clearml-agent daemon AGENT_ID --stop

  
  
Posted 3 years ago

GiganticTurtle0 adding --stop to the exact daemon execution will stop it (meaning if you have multiple agents on the same machine launched with different parameters, just add the --stop to retire the specific one)

  
  
Posted 3 years ago

After doing so the agent is removed from the list provided by ps -ef | grep clearml-agent , but it is still visible from the ClearML UI and also when I run clearml-agent list

  
  
Posted 3 years ago

Hi GiganticTurtle0 ,

My favorite is ps -ef | grep clearml-agent and after kill -9 <agent pid>

  
  
Posted 3 years ago
977 Views
11 Answers
3 years ago
one year ago
Tags