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
Seems Like Clearml Tasks In Offline Mode Cannot Be Properly Closed, We Get

Seems like ClearML tasks in offline mode cannot be properly closed, we get ValueError: Unsupported keyword arguments: publish when calling task.close() .
This stems from self.mark_completed() , which attempts to communicate with the backend I assume (even though there is none, since it’s offline mode?)
In turn, this simply does not reach the code where it sets the __main_task to None .

I get e.g.

ClearML Task: Offline session stored in /Users/idan/.clearml/cache/offline/offline-4e2ad0100d114e7ba95cc0a6dcf48f76.zip
Retrying, previous request failed <class 'clearml.backend_api.services.v2_9.projects.GetAllRequest'>: 'Session' object has no attribute '_Session__access_key'

Notice that the API version is set to v2_9 because there is no backend (offline execution) πŸ˜•

  
  
Posted one year ago
Votes Newest

Answers 4


Also, do you need to close the task? It will close automatically when the program exits

  
  
Posted one year ago

That is a clear bug to me. Can you please open a GH issue?

  
  
Posted one year ago

I opened a GH issue shortly after posting here. @<1523701312477204480:profile|FrothyDog40> replied (hoping I tagged the right person).

We need to close the task. This is part of our unittests for a framework built on top of ClearML, so every test creates and closes a task.

  
  
Posted one year ago

Hi @<1523701083040387072:profile|UnevenDolphin73> , looping in @<1523701435869433856:profile|SmugDolphin23> & @<1523701087100473344:profile|SuccessfulKoala55> for visibility πŸ™‚

  
  
Posted one year ago
986 Views
4 Answers
one year ago
one year ago
Tags