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
When We Run A Task On Gpu, We Can Access Gpu Monitoring. But Can We Access It From Code? Usecase Is: When We See That There Is Enough Resources For Some Task, We Schedule It

When we run a task on GPU, we can access GPU monitoring. But can we access it from code? Usecase is: when we see that there is enough resources for some task, we schedule it

  
  
Posted one year ago
Votes Newest

Answers


Hi @<1523701240951738368:profile|RoundMosquito25>
Sure you can 🙂

task = Task.get_task("task_id_here")
metrics = task.get_last_scalar_metrics()
print(metrics[":monitor:gpu"])

None

  
  
Posted one year ago