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
So From What I Can Tell Using

so from what I can tell using Task.create does not include auto logging

  
  
Posted 2 years ago
Votes Newest

Answers 22


so that it takes the auto logging but still able to run the with the previous specifications

  
  
Posted 2 years ago

ShinyPuppy47 do you have a small example we could take a look at?

  
  
Posted 2 years ago

unsure ya, I mean when I run the task logs do not get outputted into the clearml platform

  
  
Posted 2 years ago

hm SmugDolphin23 so I added this into the Task but I still do not get auto logging for a pytorch training task

  
  
Posted 2 years ago

got it will try

  
  
Posted 2 years ago

Facing similar issue
I need to use task.create but auto_connect_framworks= False
how can I do it?

  
  
Posted 2 years ago

Are you sure you passed add_task_init_call=True to task create?

  
  
Posted 2 years ago

Hi SoggyHamster83 ! Any reason you can't use Task.init?

  
  
Posted 2 years ago

Hi ShinyPuppy47 ,
Yes that is correct. Use Task.init for automagic logging

  
  
Posted 2 years ago

no longer using the create.

  
  
Posted 2 years ago

so curious if this is just a me misuderstanding and not using the .init/.create properly?

  
  
Posted 2 years ago

ShinyPuppy47 does add_task_init_call help your case? https://clear.ml/docs/latest/docs/references/sdk/task/#taskcreate

  
  
Posted 2 years ago

got it sweet, so I need to use Task.create to run on custom containers... so would the workaround here running Task.create and then running Task.init(continue_last_task=task.id) ?

  
  
Posted 2 years ago

but now I am just getting into weird situations were it seems like .create has the docker stuff I need but not logs and .init has the logs but not docker

  
  
Posted 2 years ago

ShinyPuppy47 the code that is being launched, does it call task.init?

  
  
Posted 2 years ago

got it ya that makes sense. I was using .init which worked great but
needed to be able to pass docker_args into the container running the task. Only way I saw that possible was with .create would like to execute it remotely would like the auto logs

  
  
Posted 2 years ago

Basically you should not use Task.create to log the current execution. It is used to create a Task externally and then enqueue it for remote execution. Make sense?

  
  
Posted 2 years ago

ShinyPuppy47 Try this: use task = Task.init(...) (no create ) then call task.set_base_docker

  
  
Posted 2 years ago

SmugDolphin23 so I ran that above like
` task = Task.init(project_name=project, task_name='data_upload')
task.set_base_docker(
docker_image="nvidia/cuda:10.2-cudnn7-runtime-ubuntu18.04",
docker_arguments=docker_args,
)

task.execute_remotely(queue) `and it works good, except there still does not seem to be autologging or even capturing print statements on the remote execution

  
  
Posted 2 years ago

any ideas?

  
  
Posted 2 years ago

So this should work, what is missing?

  
  
Posted 2 years ago
1K Views
22 Answers
2 years ago
one year ago
Tags
Similar posts