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
BTW:
TrickySheep9 what's the jupyter version / python version / OS ?
Any idea why the Pipeline Controller is Running despite the task passing?
What do you mean by "the task passing"
Maybe related to doing in notebook. Doing a task.close() finished it as expected
This is a Sagemaker notebook instances
Yes I think this is the issue
Hi TrickySheep9
could you verify the fix 😉!git install git+
Also the pipeline ran as per this example - https://github.com/allegroai/clearml/blob/master/examples/pipeline/pipeline_controller.py
Having a pipeline controller and running actually seems to work as long as i have them as separate notebooks
Any idea why the Pipeline Controller is Running despite the task passing?
Doing this with one step - https://github.com/allegroai/clearml/blob/master/examples/pipeline/pipeline_controller.py
This is a Sagemaker notebook instances - Python 3.6.13
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
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
I verified the "exit(0)" error, let me check something
I just called exit(0)
in a notebooke and it closed it (the kernel) no exception
That’s great, will try it out soon (it’s 2.30am here, about to crash 🙂 )
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
The console output in the UI says done
but the pipeline is still “running”
You cannot call exit(0) and kill the kernel from the SageMake notebook
PipelineController with 1 task. That 1 task passed but the pipeline says running
AgitatedDove14 - tried exit(0) from the notebook and it worked