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
I Have Alot Of Pending Tasks, How Can I Set Them As Done One I Consider Them Finished?

I have alot of pending tasks, how can I set them as done one I consider them finished?

  
  
Posted 3 years ago
Votes Newest

Answers 29


Hi SweetGiraffe8 ,
What is exactly their status? Did they start running?

  
  
Posted 3 years ago

I have a task which is running and cloned tasks, they all finished running but they are still pending

  
  
Posted 3 years ago

Finished running meaning the code has completed, but what do you see in the UI?

  
  
Posted 3 years ago

Pending i.e. enqueued?

  
  
Posted 3 years ago

yes

  
  
Posted 3 years ago

what should I do?

  
  
Posted 3 years ago

So your code probably enqueued them - they are essentially waiting in a queue for a ClearML Agent to pick them up for execution - I assume that's not what you wanted...?

  
  
Posted 3 years ago

no, I dont have any agents..

  
  
Posted 3 years ago

Can you share the code that created the tasks? Or at least the part of it that created the tasks?

  
  
Posted 3 years ago

I have a for loop running

  
  
Posted 3 years ago

You can go to the UI and right-click the tasks, than select Dequeue

  
  
Posted 3 years ago

The task status will return to Draft

  
  
Posted 3 years ago

I took that from the example, cant find which one

  
  
Posted 3 years ago

Where its enqueuing everything

  
  
Posted 3 years ago

This enqueues the task for execution by an Agent, so in your case nothing was running...

  
  
Posted 3 years ago

so i just should comment the enqueue of the task

  
  
Posted 3 years ago

what's an agent? it may be a powerful gpu that runs the task?

  
  
Posted 3 years ago

it may be a powerful gpu that runs the task?

Yes, that's an option 🙂
A ClearML Agent can run on any machine, and communicates with the server to obtain enqueued tasks and run them on the machine it's running on

  
  
Posted 3 years ago

Cool!

  
  
Posted 3 years ago

and what does it mean when a task status is "draft"

  
  
Posted 3 years ago

SuccessfulKoala55 So what is the purpose of task cloning? Its mostly useful for agents?

  
  
Posted 3 years ago

and what does it mean when a task status is "draft"

Basically it means the task was created. This is the initial Task state

  
  
Posted 3 years ago

So what is the purpose of task cloning? Its mostly useful for agents?

Exactly 😄

  
  
Posted 3 years ago

Task cloning is also useful for many other things:
Basically if you want to change only one/several aspects of the task but leave the rest of the framework in your experiment the same.
You can use it for transfer learning, for example
You can use it for simple HPO - or use our example for more sophisticated HPO.
The premise of the system is that it creates an abstraction layer, so you can change anything from the UI without going back to the code.
Makes sense?

  
  
Posted 3 years ago

You're right 🙂 - these are additional benefits 🙂

  
  
Posted 3 years ago

ExcitedReindeer30 Thanks Nir! That makes a lot of sense. In the example that I saw, I see that the parent task is only used as a template, which looks wierd at the UI cause it should not really be running..

  
  
Posted 3 years ago

SweetGiraffe8 Don't think of the UI as the list of running (or to be run) experiments. For that you have the Workers & Queues screen. These are all the jobs on the queues which will be run by the clearml-agent
Best practice is to run all your experiments using the clearml-agent

  
  
Posted 3 years ago
988 Views
29 Answers
3 years ago
one year ago
Tags