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, I Created Two Workers And I Want To Remove Them Now. How To Remove The Created Workers? Cli Or Api?

Hi, I created two workers and I want to remove them now. How to remove the created workers? CLI or API?

  
  
Posted one year ago
Votes Newest

Answers 5


` clearml-agent list
workers:

  • company:
    id: d1bd92a3b039400cbafc60a7a5b1e52b
    name: clearml
    id: inspur-dev:gpu1,2
    ip: 10.180.151.125
    key: worker_d1bd92a3b039400cbafc60a7a5b1e52b_5347c06242f2445c8af46e2900a02e2a_inspur-dev:gpu1,2
    last_activity_time: '2022-12-13T05:41:54.130672+00:00'
    last_report_time: '2022-12-13T05:41:54.130672+00:00'
    queues:
    • id: 89b7dcf476284004a56974749ef6c405
      register_time: '2022-12-13T02:07:05.424950+00:00'
      register_timeout: 600
      system_tags: []
      tags: []
      user:
      id: 5347c06242f2445c8af46e2900a02e2a
      name: frank
  • company:
    id: d1bd92a3b039400cbafc60a7a5b1e52b
    name: clearml
    id: inspur-dev:gpu3,4
    ip: 10.180.151.125
    key: worker_d1bd92a3b039400cbafc60a7a5b1e52b_5347c06242f2445c8af46e2900a02e2a_inspur-dev:gpu3,4
    last_activity_time: '2022-12-13T05:41:54.149129+00:00'
    last_report_time: '2022-12-13T05:41:54.149129+00:00'
    queues:
    • id: 89b7dcf476284004a56974749ef6c405
      register_time: '2022-12-13T02:07:05.410528+00:00'
      register_timeout: 600
      system_tags: []
      tags: []
      user:
      id: 5347c06242f2445c8af46e2900a02e2a
      name: frank `
  
  
Posted one year ago

I got it. The workers are created by AI user, but I use user frank to stop them. Now I can stop them when I switch to user AI. AgitatedDove14 Thank you.

  
  
Posted one year ago

clearml-agent daemon --stop Could not find a running clearml-agent instance with worker_name=inspur-dev worker_id=

  
  
Posted one year ago

AgitatedDove14 Fail to stop any worker.

  
  
Posted one year ago

Hi ThoughtfulBadger56
Just add --stop to the clearml-agent
(the exact same command as you used to spin it, just add --stop at the end and it will stop it, or just do clearml-agent daemon --stop and it will iteratively close them)

  
  
Posted one year ago
909 Views
5 Answers
one year ago
one year ago
Tags