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
Related To My Above Thread, I Think There Is Some More Customization That Needs To Be Supported To Use Docker Mode Properly For Different Use-Cases. It Seems In

Related to my above thread, I think there is some more customization that needs to be supported to use docker mode properly for different use-cases.
It seems in https://github.com/allegroai/clearml-agent/blob/b196ab57931f3c67efcb561df0c8a2fe7c0e76f9/clearml_agent/commands/worker.py#L2965 it is assumed that the docker container will be logged in as root in runtime.
I’m thinking of either adding docker_home_dir as a configurable and basing mounted_pip_dl_dir , mounted_vcs_cache , mounted_venv_dir on it or letting them be individually configurable (or both).
One related issue is it seems the mounted cache dir location is hardcode mounted_cache_dir = self._docker_fixed_user_cache # '/root/.clearml/cache' (see https://github.com/allegroai/clearml-agent/blob/b196ab57931f3c67efcb561df0c8a2fe7c0e76f9/clearml_agent/commands/worker.py#L2962 ). The comment seems to be incorrect as _docker_fixed_user_cache = '/clearml_agent_cache' . mounted_cache_dir should also be configurable.

In general, being root user in runtime is great for most people (it allows a lot of flexbility) but is not good practice for in serious production environment. In most production cases the correct assumption is non-sudo user, it should be easy to configure clearml to work in that setup.

EDIT: I wonder if this code has anything to do with it: https://github.com/allegroai/clearml-agent/blob/b196ab57931f3c67efcb561df0c8a2fe7c0e76f9/clearml_agent/commands/worker.py#L2179-L2184
Seems to allows specifying user home dir

  
  
Posted 2 years ago
Votes Newest

Answers 5


Hi LazyTurkey38
Configuring these folders will be pushed later today 🙂
Basically you'll have in your clearml.conf
agent { docker_internal_mounts { sdk_cache: "/clearml_agent_cache" apt_cache: "/var/cache/apt/archives" ssh_folder: "/root/.ssh" pip_cache: "/root/.cache/pip" poetry_cache: "/root/.cache/pypoetry" vcs_cache: "/root/.clearml/vcs-cache" venv_build: "/root/.clearml/venvs-builds" pip_download: "/root/.clearml/pip-download-cache" } }wdyt?

  
  
Posted 2 years ago

Great! Thank you

  
  
Posted 2 years ago

That looks great!

  
  
Posted 2 years ago

LazyTurkey38 configuration pushed to github :)

  
  
Posted 2 years ago
692 Views
5 Answers
2 years ago
one year ago
Tags
Similar posts