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
From The Python Code Point Of View, How Do You Detect If It Is Running Locally Or Via Clearml-Agent ?

From the python code point of view, how do you detect if it is running locally or via clearml-agent ?

Posted 2 months ago
Votes Newest


from clearml import Task

if Task.running_locally():
  print("Running locally")


from clearml.config import running_remotely

if running_remotely():
  print("Running remotely")
Posted 2 months ago
1 Answer
2 months ago
2 months ago