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'M Running Clearml-Agent In Docker Mode. I Want To Install My Package From Pyproject.Toml From My Project Before The Experiment Running. I'Ve Tried To Set

Hi! I'm running clearml-agent in docker mode. I want to install my package from pyproject.toml from my project before the experiment running. I've tried to set clearml-task ... --docker_bash_setup_script "pip install ." but it runs the command in the root path "/", but the repo is located in /root/.clearml/venvs-builds/3.10/task_repository/
How can I change the current directory to run "pip install ." in the proper directory?

  
  
Posted 11 months ago
Votes Newest

Answers 2


I've tried to run something like clearml-task ... --docker_bash_setup_script "cd $(echo /root/.clearml/venvs-builds/${PYTHON_VERSION%.*}/task_repository/...) && pip install ." but it not working because the repo is fetching after docker_bash_setup_script, so I need to run this command later

  
  
Posted 11 months ago

What we are doing is putting a requirements.txt with the content -e . in the top level of our repos and set the clearml config parameter agent/package_manager/force_repo_requirements_txt to true .

  
  
Posted 11 months ago
683 Views
2 Answers
11 months ago
11 months ago
Tags