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, I Am Trying To Run A Task In An Agent From A Repository With An

Hi, I am trying to run a task in an agent from a repository with an environment.yaml , generated by conda . I changed the package manager to conda on the clearml.conf , but I noticed that clearml won't install packages form environment file. How can I make clearml use the environment.yaml file on my repository?

  
  
Posted 2 years ago
Votes Newest

Answers 8


Notice this is only when:
Using Conda as package manager in the agent the requested python version is already installed (multiple python version installation on the same machine/container are supported)

  
  
Posted 2 years ago

Hi SkinnyPanda43
Do you mean the cleaml-agent or the cleaml python (a.k.a the auto package detection) ?

  
  
Posted 2 years ago

It will always set it's own environment, wither with static analysis or with "pip freeze" / "conda freeze"
It needs to log the exact setup that was actually installed.
When you later launch it on a remote machine, it can either use this to recreate the environment (using pip or conda), or you can clear the entire section, where it will fall back to "requirements.txt"
Any reason for specifically using the "environment.yaml" ?

  
  
Posted 2 years ago

So I guess I am referring to the auto package detection. I am running the job though the web ui. My actual problem is that I have a private repo on my requirements.txt (listed with the github url) that is not being installed. Also, my environment.yaml uses python 3.8, while 3.9 is being installed.

  
  
Posted 2 years ago

The only reason is that I can specify the python version to be used and conda will install it. On requirements.txt, the default python version will be used.

  
  
Posted 2 years ago

python version to be used and conda will install it

clearml does that automatically (albeit it is not shown in the UI, which should be fixed)

  
  
Posted 2 years ago

Thank you, I set it, but clearml still creates its own evironment regardless of my environment.yaml.

  
  
Posted 2 years ago