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
Another Question Is If I Have A Conda Env Available On My Workers Systemwide.. Can I Use That Env Directly When Running Tasks With

another question is if i have a conda env available on my workers systemwide.. can i use that env directly when running tasks with trains-agent or trains-agent have to recreate that env ?

  
  
Posted 4 years ago
Votes Newest

Answers 8


hmm... try to run the trains-agent from the ml environment with "system_site_packages: true", it might do the trick. Anyhow please let me know if it worked 🙂

  
  
Posted 4 years ago

AgitatedDove14 no it doesn't work

  
  
Posted 4 years ago

ok will report back

  
  
Posted 4 years ago

Thanks!

  
  
Posted 4 years ago

it still tries to create a new env

  
  
Posted 4 years ago

PompousParrot44 , so you mean like a base conda env?
Configuring trains-agent to use conda is done here:
https://github.com/allegroai/trains-agent/blob/699d13bbb34649c7e5337b4187cda59b7fa6fd33/docs/trains.conf#L44

Then for every experiment trains-agent will create a new conda environment based on the requirements of that experiment.
You can tell it to inherit the base conda env (or the one it is running from, I think) by setting
system_site_packages: truehttps://github.com/allegroai/trains-agent/blob/699d13bbb34649c7e5337b4187cda59b7fa6fd33/docs/trains.conf#L50

  
  
Posted 4 years ago

i know it support conda.. but i have another system wide env which is not base .. say ml so wondering if i can comnfigure trains-agent to use that... not standard practice but just asking if it is possible

  
  
Posted 4 years ago

PompousParrot44
It should still create a new venv, but inherit the packages from the system-wide (or specific venv) installed packages. Meaning it will not reinstalled packages you already installed, but it will ive you the option of just replacing a specific package (or install a new one) without reinstalling the entire venv

  
  
Posted 4 years ago
891 Views
8 Answers
4 years ago
one year ago
Tags