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 Everyone! I’Ve Been Using

Hi everyone!
I’ve been using clearml-agent for a while and it’s been great, mostly we’ve been running our tasks in docker mode. Now we need to run a task in python 3.7 in docker mode. However I’m having hard time finding the correct way to instruct clearml-agent inside the docker container to install the correct python version (in my case python 3.7). I’ve tried the following:

  • Using pyenv to switch the host machine of the agent to python 3.7
  • Adding agent.defaut_python=3.7 to the clearml.conf configuration file on the agent host.However, the clearml-agent is still installing python 3.10 inside the docker container.
    May I ask what I’m missing? Or do I have to manually build an image that has python-3.7 preinstalled in it? The image I’m using right now is nvidia/cuda:12.1.0-devel-ubuntu22.04 .

Thanks in advance! 🙂

  
  
Posted one year ago
Votes Newest

Answers 2


@<1523701087100473344:profile|SuccessfulKoala55> Thank you so much! I’ll try it out. I don’t have the original task id so I’ll try the CLEARML_AGENT_SKIP_PIP_VENV_INSTALL first and let you know :-D

  
  
Posted one year ago

Hi @<1593051277598658560:profile|DizzyDove33> , the agent will use the closest python version it can find to the original version used to run the task when you created it (when creating the original task, before running it remotely) - this version is stored on the task when the SDK creates it.
If this version is not found in the container (let's say python3.7 ) the agent will look for python3 , and afterwards will look for python . So the easiest was to make sure the version you want will be used, is to use a container with only this version.
Alternatively, you can use the CLEARML_AGENT_SKIP_PIP_VENV_INSTALL environment variable (when running the agent) to provide a path to the python binary you'd like to use.

  
  
Posted one year ago