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
Hey, Can Anyone Please Explain To Me How The /Tmp/.Clearml_Agent.Something.Cfg File Is Generated Which Next Is Used In Docker? Because This File Is Slightly Different From Mine For Example In Mine /Home/Asa/Clearml.Conf I Set System_Site_Packages = False

Hey,
Can anyone please explain to me how the /tmp/.clearml_agent.something.cfg file is generated which next is used in docker?
because this file is slightly different from mine
for example in mine /home/asa/clearml.conf I set system_site_packages = false but in this file system_site_packages = true

  
  
Posted 3 years ago
Votes Newest

Answers 10


Hi ResponsiveCamel97
The agent generates a new configuration file to be mounted into the docker, with all the new folders as they will be seen inside the docker itself. One of the changes is the system_site_packages as inside the docker we want the new venv to inherit everything from the docker system installed packages.
Make sense ?

  
  
Posted 3 years ago

But if I don’t want that new venv to inherit everything? I prepared my own image and want use this venv

  
  
Posted 3 years ago

I prepared my own image and want use this venv

No worries, it creates a "transparent" venv, it uses everything from the docker (the penalty of create a new venv is negligible 🙂 , you end up with the exact same set of packages)

  
  
Posted 3 years ago

ResponsiveCamel97
BTW: any reason not to allow this flexibility ?

  
  
Posted 3 years ago

In our case some packages are taken from /usr/lib/python3/dist-packages, others from the local environment and this causes a conflict when importing the attr module

  
  
Posted 3 years ago

others from the local environment and this causes a conflict when importing the attr module

Inside the docker ? " local environment" ?
This is all under "root" no?

  
  
Posted 3 years ago

Yes, it’s the same. I realized my failure and now everything works) many thanks

  
  
Posted 3 years ago

And one more questions
Could I provide an argument for docker not in clearml.conf, but in the start daemon?
for example
clearml-agent --config-file ~/clearml.conf daemon --docker agent-image-test “-v /home/trains/clearml-agent-data/3/.cache:/root/.cache” --queue test --create-queue --foreground --gpus=3
Or I can do it only in clearml.conf?

  
  
Posted 3 years ago

Only as "default docker + argument" , if you need the "extra_docker_arguments" (which I think a mount point is a good example for), then you have to add it in the conf file

https://github.com/allegroai/clearml-agent/blob/60a58f6fadf755cb91b39a30c6462cc8788f3c9f/docs/clearml.conf#L133

  
  
Posted 3 years ago

Any reason not to do so in the conf file ?

  
  
Posted 3 years ago
898 Views
10 Answers
3 years ago
one year ago
Tags