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 Everyone, Is There Something Like A Clearml Context Manager To Disable Automatic Logging? I Use Torch.Save And Torch.Load To Temporarily Cache Something On Disk. I Delete It Afterwards. I Do Not Want Clearml To Push It To The Clearml-Server As An Artif

Hi everyone,
is there something like a clearml context manager to disable automatic logging? I use torch.save and torch.load to temporarily cache something on disk. I delete it afterwards. I do not want clearml to push it to the clearml-server as an artifact. I am aware I can disable clearml magic for PyTorch, but I rather want to keep it enabled and only disable it for this part of my code. Something like this:

with clearml.no_pytorch_magic():
    torch.save(my_obj, "my_path")
    del my_obj # and call garbage collector
    do_something()
    obj = torch.load("my_path", my_obj)
  
  
Posted one year ago
Votes Newest

Answers 2


Hi @<1523701868901961728:profile|ReassuredTiger98>

is there something like a clearml context manager to disable automatic logging?

Sure just do a wildcard with the files you actually want to autolog the rest will be ignored:
None

task = Task.init(..., auto_connect_frameworks={'pytorch' : '*.pt'}
  
  
Posted one year ago

Perfect, thanks a lot!

  
  
Posted one year ago
904 Views
2 Answers
one year ago
one year ago
Tags