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
Is There Anyone Who Is Using Clearml In A Jupyter Notebook. It Looks Like When Using Execute_Remotely Together With A Jupyter Noteebok, Clearml Tries To Launch A Jupyter Notebook Inside The Docker Container. It Fails Then With

Is there anyone who is using ClearML in a Jupyter Notebook. It looks like when using execute_remotely together with a jupyter noteebok, clearml tries to launch a jupyter notebook inside the docker container. It fails then with
ModuleNotFoundError: No module named 'ipython_genutils'

  
  
Posted 8 months ago
Votes Newest

Answers 8


Hey @<1582542029752111104:profile|GorgeousWoodpecker69> can you please tell whether you're running this jupyter notebook as part of a repo or as a standalone file, and what command did you run to launch your clearml-agent?

  
  
Posted 8 months ago

I created a ticket for the issue with a more detailed explanation and log file: None

  
  
Posted 8 months ago

I looked at your task log on the github issue. It seems the main issue is that your notebook is Not stored as python code. Are you running it on jupyter notebook or is it ipython that you are runnig it on? Is this reproducible? If so what's the jupyter version, python and OS versions?

  
  
Posted 8 months ago

Hi @<1582542029752111104:profile|GorgeousWoodpecker69> , can you elaborate please on the exact steps you took?

  
  
Posted 8 months ago

I executed the following code in a notebook:

from clearml import Task
task = Task.init(project_name='Test', task_name="TEST NOTEBOOK")
task.execute_remotely(queue_name="RTX A6000")
print("HELLO")

  
  
Posted 8 months ago

After reading the docs, is execute_remotely supported to be run from a notebook?

  
  
Posted 8 months ago

I could get rid of the error message not by adding

!pip install jupyter

But now the task starts and never finishes. I think it's because it starts a Jupyter Kernel in ClearML instead of just executing the code in my Notebook. Is there any configuration to tell ClearML it should just execute the code of the notebook remotely?

  
  
Posted 8 months ago

I ran the notebook as a standalone file. I don't have the exact start command, but it runs in docker mode on ubuntu 22.04 using the standard image. Is there anything to consider which might be related to the described issue?

  
  
Posted 8 months ago
501 Views
8 Answers
8 months ago
8 months ago
Tags