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
Hello, What Exactly Is The Difference Between The Pip Mode And The Docker Mode Of The

Hello,

What exactly is the difference between the pip mode and the docker mode of the clearml-agent ?

In the typical workflow shown in https://clear.ml/docs/latest/docs/clearml_agent you mention an agent spinning up a docker container, but there's an implication this describes pip mode since it is the default

  
  
Posted 2 years ago
Votes Newest

Answers 7


CostlyOstrich36 this sounds great. How do I accomplish that?

  
  
Posted 2 years ago

RotundHedgehog76 , Hi 🙂

In none-docker mode, the agent simply runs on the target machine and creates a python virtual environment and runs the experiment in it. This means that you need to handle CUDA and other system installations for the agent to run your experiments.

When agent runs in docker mode, it will set up a docker image (that was pre-defined) and will create the virtual environment in that docker.

Basically the docker option gives you the most surgical and exactly pre-defined system to run it 🙂

Does that help?

  
  
Posted 2 years ago

This means that an agent only ever spins up one particular image? I'd like to define different container images for different tasks, possibly even build them in the process of starting a task. Is such a thing possible?

  
  
Posted 2 years ago

You can specify a different docker image per experiment, so the same agent can run many different docker images (As long as it is run in docker mode from the start) 🙂

  
  
Posted 2 years ago

Just to emphasize, pip and docker are not different modes, and are not interchangeable - when running in docker mode, the agent will still create a virtual environment and install python packages in it using the selected package manager - pip, conda etc.

  
  
Posted 2 years ago

In the UI when looking at a task under 'execution' tab, if you scroll down you have a 'container' option. If you define an image there the agent will use it if you use the '--docker' argument

  
  
Posted 2 years ago

Thank you, I understand now :D

  
  
Posted 2 years ago
1K Views
7 Answers
2 years ago
one year ago
Tags