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
How Can I Clone A Task And Execute_Remotely The Cloned Task With Exit_Process=False. It Currently Kills The Notebook Kernel. If I Say Exit_Process=False, It Says Clone Cannot Be False. Why The Restriction? What To Do In A Notebook To Run A Task Remotely

How can I clone a task and execute_remotely the cloned task with exit_process=False. It currently kills the notebook kernel. If I say exit_process=False, it says clone cannot be False. Why the restriction? What to do in a notebook to run a task remotely

  
  
Posted 3 years ago
Votes Newest

Answers 24


workflow

  
  
Posted 3 years ago

create_task_from_functionI was looking at options to implement this just today, as part of the same remote debugging that I was talking of in this thread

  
  
Posted 3 years ago

Any chance you can open a github issue on it?

Will do!

  
  
Posted 3 years ago

I think RC should be out in a day or two, meanwhile pip install git+ https://github.com/allegroai/clearml.git

  
  
Posted 3 years ago

Would be good to have frequentish releases if possible 🙂

  
  
Posted 3 years ago

I am providing a helper to run a task in queue after running it locally in the notebook

  
  
Posted 3 years ago

1.0.3. Tried with 1.0.5 as well

  
  
Posted 3 years ago

When did this PipelineDecorator come. Looks interesting 🙂

  
  
Posted 3 years ago

Any comments/ideas on how to make it better will be more than welcomed 🙂

  
  
Posted 3 years ago

Is there a published package version for these?

  
  
Posted 3 years ago

do not limit the clone on execute_remotely,

Yes

  
  
Posted 3 years ago

Any updates on trigger and schedule docs 🙂

  
  
Posted 3 years ago

In order to clone the Task it needs to complete sync, which implies closing. I guess the use case for execute remotely while still running was not considered. How / why is this your workflow? Specifically how does Jupyter get into the picture?

  
  
Posted 3 years ago

Any updates on trigger and schedule docs 

I think examples are already pushed, docs still in progress.
BTW: pipeline v2 examples are also out:
https://github.com/allegroai/clearml/blob/master/examples/scheduler/trigger_example.py
https://github.com/allegroai/clearml/blob/master/examples/pipeline/full_custom_pipeline.py

  
  
Posted 3 years ago

more like testing especially before a pipeline

  
  
Posted 3 years ago

more like testing especially before a pipeline

Hmm yes, that makes sense.
Any chance you can open a github issue on it?
Let me see if I understand, basically, do not limit the clone on execute_remotely, right ?

When did this PipelineDecorator come. Looks interesting 

A few days ago (I think)
It is very cool! checkout the full object proxy interaction on the actual pipeline logic This might be better for your workflow, https://github.com/allegroai/clearml/blob/c85c05ef6aaca4e07e739ba53d13f16e6a994b05/clearml/backend_interface/task/populate.py#L489

  
  
Posted 3 years ago

With an hash of course 🙂

  
  
Posted 3 years ago

😄

  
  
Posted 3 years ago

Meanwhile check CreateFromFunction(object).create_task_from_function(...)
It might be better suited than execute remotely for your specific workflow 🙂

  
  
Posted 3 years ago

Yeah will use that

  
  
Posted 3 years ago

It might be better suited than execute remotely for your specific workflow 

Exactly

  
  
Posted 3 years ago

I am providing a helper to run a task in queue after running it locally in the notebook

Is this part of a pipeline process or just part of the workflow ?
(reason for asking is that if this is a pipeline thing we might be able to support it in v2)

  
  
Posted 3 years ago

Hi TrickySheep9 ,

so running a local notebook with execute_remotely kills the kernel? what version of clearml are you running?

  
  
Posted 3 years ago

👍 let me check it too

  
  
Posted 3 years ago