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! Does Clearml Have A Way To Turn On/Off Virtual Machines Depending If There Are Experiments On Queue?

Hi! Does ClearML have a way to turn on/off virtual machines depending if there are experiments on queue?

  
  
Posted 3 years ago
Votes Newest

Answers 9


sure

  
  
Posted 3 years ago

Hey AgitatedDove14 do you have an implementation for gcloud? this is awesome

  
  
Posted 3 years ago

Not yet 😞
It should not be complex to implement,
The actual aws auto scaler class is implementing just two functions:

def spin_up_worker(self, resource, worker_id_prefix, queue_name):
https://github.com/allegroai/clearml/blob/e9f8fc949db7f82b6a6f1c1ca64f94347196f4c0/clearml/automation/auto_scaler.py#L104

def spin_down_worker(self, instance_id):
https://github.com/allegroai/clearml/blob/e9f8fc949db7f82b6a6f1c1ca64f94347196f4c0/clearml/automation/auto_scaler.py#L118

We just need to have the equivalent for gcloud and it should work

Here is the full aws as a refrence
https://github.com/allegroai/clearml/blob/e9f8fc949db7f82b6a6f1c1ca64f94347196f4c0/clearml/automation/aws_auto_scaler.py#L22

Do you feel like taking a stab at it ?

  
  
Posted 3 years ago

GrievingTurkey78 MagnificentSeaurchin79 do you guys want to start a PR branch we cal all work on it?

  
  
Posted 3 years ago

Let me know if I can be of help 🙂

  
  
Posted 3 years ago

Yes! I will take a look at it!

  
  
Posted 3 years ago

Hi! I'm also interested in this feature..let me know how I can help 🙂

  
  
Posted 3 years ago
1K Views
9 Answers
3 years ago
one year ago
Tags