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
Getting This Error At

Getting this error at task.execute_remotely()

  
  
Posted 3 years ago
Votes Newest

Answers 29


This is a Sagemaker notebook instances - Python 3.6.13

  
  
Posted 3 years ago

Any idea why the Pipeline Controller is Running despite the task passing?

  
  
Posted 3 years ago

Jupyter server v 6.0.3

  
  
Posted 3 years ago

Just a bit of background, the execute)remotely will kill the current process (after the Task is synced) and enqueue the Task that was created for remote execution. What seems to fail is actually killing the current process. You can just pass exit_process=False

  
  
Posted 3 years ago

BTW:
TrickySheep9 what's the jupyter version / python version / OS ?

  
  
Posted 3 years ago

This is a Sagemaker notebook instances

Yes I think this is the issue

  
  
Posted 3 years ago

AgitatedDove14 - tried exit(0) from the notebook and it worked

  
  
Posted 3 years ago

image

  
  
Posted 3 years ago

I just called exit(0) in a notebooke and it closed it (the kernel) no exception

  
  
Posted 3 years ago

Having a pipeline controller and running actually seems to work as long as i have them as separate notebooks

  
  
Posted 3 years ago

Any idea why the Pipeline Controller is Running despite the task passing?

What do you mean by "the task passing"

  
  
Posted 3 years ago

PipelineController with 1 task. That 1 task passed but the pipeline says running

  
  
Posted 3 years ago

I verified the "exit(0)" error, let me check something

  
  
Posted 3 years ago

Lot of time had passed though

  
  
Posted 3 years ago

Ohh then YES!
the Task will be closed by the process, and since the process is inside the Jupyter and the notebook kernel is running, it is still running

  
  
Posted 3 years ago

Maybe related to doing in notebook. Doing a task.close() finished it as expected

  
  
Posted 3 years ago

Hi TrickySheep9
could you verify the fix 😉
!git install git+

  
  
Posted 3 years ago

Got it, makes sense on that part!

  
  
Posted 3 years ago

That’s great, will try it out soon (it’s 2.30am here, about to crash 🙂 )

  
  
Posted 3 years ago

Hmm let me test the call itself.

  
  
Posted 3 years ago

The console output in the UI says done but the pipeline is still “running”

  
  
Posted 3 years ago

You cannot call exit(0) and kill the kernel from the SageMake notebook

  
  
Posted 3 years ago

Why do you think?

  
  
Posted 3 years ago

image

  
  
Posted 3 years ago

could it be the polling on the Task (can't remember whats the interval), but it will update it's state once every X minutes/seconds

  
  
Posted 3 years ago

No worries 🙂

  
  
Posted 3 years ago

Hi TrickySheep9
Hmm I think you are correct, exit remotely will not work inside a jupyter notebook because it will not be able to close it.

I was just revising workflows that might be similar, wdyt?
https://clearml.slack.com/archives/CTK20V944/p1620506210463400?thread_ts=1614234125.066600&cid=CTK20V944

  
  
Posted 3 years ago
851 Views
29 Answers
3 years ago
6 months ago
Tags
Similar posts