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
I Found The Following Config Parameter (Related To Clearml-Data I Guess?):

I found the following config parameter (related to clearml-data I guess?):

sdk.storage.cache.size.cleanup_margin_percent ( integer )
The percentage of cache to clean up during a cleanup pass. For example, if the cache size is 30G and the cleanup_margin_percent is 10% , then the cache will contain at most 27 GB after the cleanup.
Could you explain what a cleanup pass is here?

  
  
Posted 3 years ago
Votes Newest

Answers 10


Related to this: How does the local cache/agent cache work? Are the sdk.storage.cache parameters for the agent? When are datasets deleted from cache? When are datasets deleted if I run local execution?

  
  
Posted 3 years ago

sdk.storage.cache.size.cleanup_margin_percent

Hi ReassuredTiger98
This is actually future proofing the cache mechanism and allowing it be "smarter" i.e. clean based on cache folder size instead of cache folder entries, this is currently not available

sdk.storage.cache

 parameters for the agent?

For both local execution and with an agent

When are datasets deleted if I run local execution?

When you hit the cache entry limit (100 if I recall). This can also be set in the config file or in runtime from code.

  
  
Posted 3 years ago

Okay, thanks for explaining!

  
  
Posted 3 years ago

Can clearml-agent currently detect this?

Hmm you mean will agent clean it self up?

  
  
Posted 3 years ago

Thanks for the answer. So currently the cleanup is done based number of experiments that are cached? If I have a few big experiments, this could make my agents cache overflow?

  
  
Posted 3 years ago

I mean, could my hard drive not become full at some point? Can clearml-agent currently detect this?

  
  
Posted 3 years ago

In theory it should not, in practice you could run out of space while running the experiment itself...
You can always cleanup everything from time to time (maybe worth a flag?)

  
  
Posted 3 years ago

đŸ™‚

  
  
Posted 3 years ago

This is done in the background while accessing the cache, so it should not have any slowdown effect

  
  
Posted 3 years ago

Yea, is there a guarantee that the clearml-agent will not crash because it did not clean the cache in time?

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