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 one year ago
Votes Newest

Answers 22


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 one year ago

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

  
  
Posted one year 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 one year ago

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

  
  
Posted one year ago

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

  
  
Posted one year 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 one year 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 one year ago

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

  
  
Posted one year ago

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

  
  
Posted one year ago

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

  
  
Posted one year ago

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

  
  
Posted one year ago

got it will try

  
  
Posted one year 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 one year ago

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

  
  
Posted one year ago

So this should work, what is missing?

  
  
Posted one year ago

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

  
  
Posted one year ago

no longer using the create.

  
  
Posted one year ago

any ideas?

  
  
Posted one year ago

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

  
  
Posted one year ago

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

  
  
Posted one year ago

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

  
  
Posted one year ago
891 Views
22 Answers
one year ago
one year ago
Tags
Similar posts