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 Everyone, What Is The Best Way To Setup The Environment In A Clearml Task Directly From The Repo I'M Cloning From? I'D Like To Run The Following Bash Commands After Cloning The Repo On My Remote Clearml Worker:

Hi everyone, what is the best way to setup the environment in a ClearML task directly from the repo I'm cloning from? I'd like to run the following bash commands after cloning the repo on my remote clearml worker:

pip install poetry
poetry install

I was considering using subprocesses in a python file and linking that to clearml task. Is there a more standardized way to do this directly from a repo? (e.g docker image or setup script that is part of the repo).

Thanks in advance for any tips 🙏

  
  
Posted one month ago
Votes Newest

Answers 3


Hi @<1861218295315697664:profile|FlutteringLobster45> ,

poetry is supported (all the information can be found here ), just need to configure the agent to work with it.
If you want to run the Task inside a container, this is also supported, just need to run the agent in docker mode .

  
  
Posted one month ago

Thank you, I used the UI to force "poetry usage" as well as set it in the configuration document. Unfortunately, it still doesn't read the poetry file so not sure what's wrong 😞

  
  
Posted one month ago

Hi @<1861218295315697664:profile|FlutteringLobster45> , can you provide the full log of the execution?

  
  
Posted one month ago
449 Views
3 Answers
one month ago
one month ago
Tags
Similar posts