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

Answers 8


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

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

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

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

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

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

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

  
  
Posted one year ago
1K Views
8 Answers
one year ago
one year ago
Tags