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
Hey All. Question Regarding Scheduling And Orchestration. Does Clearml Provide Any Tooling To Schedule Entire Training Pipelines And To Trigger Training Pipelines In Response To Events, E.G. Degraded Model Performance Alerting?

Hey all.

Question regarding scheduling and orchestration. Does ClearML provide any tooling to schedule entire training pipelines and to trigger training pipelines in response to events, e.g. degraded model performance alerting?

  
  
Posted 2 years ago
Votes Newest

Answers 15


Yep, just make sure you show some activity in a task once every 2 hours so it won't be detected as inactive 🙂

  
  
Posted 2 years ago

Hi TenseOstrich47 What you can do is report the metric to clearml, then use the Taskscheduler to listen on a specific project. If a task in this project reports a metric below \ above a certain TH (Or I think if it's the highest \ lowest as well) you can trigger an event (Task \ function). That's how you do it with the Taskscheduler object

  
  
Posted 2 years ago

I can't figure out from the examples how the external trigger works. All of our model performance stats are in the DWH, and we want to build triggers based on that, Is that possible to integrate with Clearml triggers and schedulers?

  
  
Posted 2 years ago

Hi TenseOstrich47 Yup 🙂 You can check our scheduler module:
https://github.com/allegroai/clearml/tree/master/examples/scheduler
It supports time-events as well as triggers to external events

  
  
Posted 2 years ago

Say we have a DAG running on airflow every 30 mins. The purpose of this DAG is to aggregate results of model performance. If model performance is poor, then it sends a message to a queue with some config on which model to re-train.

I would like to use a TaskScheduler to poll this queue every X interval, to check whether a training pipeline needs to be kickstarted or not

  
  
Posted 2 years ago

To report the metric to clearML, would that just be a batch update every t interval?

  
  
Posted 2 years ago

TenseOstrich47 , you could create a monitor task that reads model performance from your database and reports them as some scalar. According to that scalar you can create triggers 🙂

What do you think?

external trigger

What do you mean? Do you have a reference?

  
  
Posted 2 years ago

Can I use the task scheduler to schedule an update task every say 10 mins, would that keep it from being deleted?

  
  
Posted 2 years ago

Sounds good

  
  
Posted 2 years ago

In particular, what does the external trigger poll? Is it a queue somewhere on clearml, or any arbitrary queue like SQS is supported?

  
  
Posted 2 years ago

but have our own custom logging of metrics etc.

Are those custom metrics reported to the ClearML server or stored somewhere else?

Just wondering how tricky integrating a trigger would be for that

I guess it really depends on your current implementation currently

  
  
Posted 2 years ago

task that reads a message from a queue

Can you give a specific example?

  
  
Posted 2 years ago

Our model store consists of metadata stored in the DWH, and model artifacts stored in S3. We technically use ClearML for managing the hardware resource for running experiments, but have our own custom logging of metrics etc. Just wondering how tricky integrating a trigger would be for that

  
  
Posted 2 years ago

Yeah that could be one approach.

I mean, is it possible to create a trigger task that reads a message from a queue? And that message contains information about whether a pipeline needs to be triggered or not

  
  
Posted 2 years ago
1K Views
15 Answers
2 years ago
one year ago
Tags