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
Hey, I Have Another Question, Now About The

Hey, I have another question, now about the PYTHONPATH and its relationship to repo root.
Let's say I have the following repo structute:
├── projects │   └── project_a │   └── main.py └── utils  └── utils.pyThe main.py contains some dependencies that are imported from utils.py . I also have a remote agent running in docker.
If I submit this script using clearml-task , everything runs correctly, the working dir is set to the repo root, then the working dir is added to PYTHONPATH and the util dependencies are found when main.py is executed.
However, if I submit the main.py with .execute_remotely() by running the script locally, there is an error. The working dir is set to projects/project_a , and repo root is not added to PYTHONPATH , only the working dir is added. Because of this, imports of dependencies from utils.py fail.
Dependencies are found if I manually add CLEARML_AGENT_EXTRA_PYTHON_PATH=/root/.clearml/venvs-builds/3.8/task_repository/repo_name.git in the clearml.conf for the agent.
Am I missing a step, is there an automatic way to add the repo root to PYTHONPATH when running execute_remotely() ?

Posted 2 years ago
Votes Newest

Answers 2

in this case this is just an example, it could be any module, e.g. for dataloading etc, which is part of a project. For utils as package, we will discuss this in the team, thanks for a suggestion!

Posted 2 years ago

Out of curiosity, is there a reason why utils is not a package in its own right?

I have found that a private PyPi repo really does help with managing dependencies

Posted 2 years ago