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
Hi, Is There Any Way To Say Clearml Which Python To Use Inside A Docker Container To Run The Task? Or Maybe Is There An Option That Says Clearml To Install The Needed Python?

Hi, Is there any way to say ClearML which python to use inside a docker container to run the Task?
Or maybe is there an option that says clearml to install the needed python?

  
  
Posted 3 years ago
Votes Newest

Answers 4


Hi LazyFish41 , You can specify the pip version in the agent’s configuration file: https://github.com/allegroai/clearml-agent/blob/master/docs/clearml.conf#L57

the ClearML agent will install pip

  
  
Posted 3 years ago

Hi LazyFish41 ,

You can use agent.docker_init_bash_script to execute any command at the startup of any docker, so you can use it to install the python version you want to use.

You can specify Set the python version to use when creating the virtual environment and launching the experiment with agent.python_binary

  
  
Posted 3 years ago

Thank you!
Do I have to manually install pip for python that I specify in agent.python_binary ? Or ClearML installs pip itself?

  
  
Posted 3 years ago

LazyFish41 continuing TimelyPenguin76 's response, you can simply specify which version to run, and make sure the docker image you're using contains that version (for optimal speed and performance)

  
  
Posted 3 years ago