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
Hi, Actually Now A Saw In The Logs:


Actually now a saw in the logs:
ERROR: poetry 1.2.0 has requirement jsonschema<5.0.0,>=4.10.0, but you'll have jsonschema 3.2.0 which is incompatible.Poetry is not being installed, I have no idea of how to force a higher version of jsonschema

I have a github monorepo with the poetry files in a subfolder, that is the workingdir when I create the task.--
It seems that the clearml agent is not picking the poetry files, I think it is looking only under the root of the repository, so the agent is reverting to pip what makes the training fail.
Is there a way to point the agent to the right root for poetry?

Posted one year ago
Votes Newest

Answers 5

Tried using a custom python version:

` FROM nvidia/cuda:11.7.0-runtime-ubuntu22.04
ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update && apt-get install -y
build-essential libssl-dev zlib1g-dev libbz2-dev
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev
xz-utils tk-dev libffi-dev liblzma-dev git
&& rm -rf /var/lib/apt/lists/*

RUN git clone ~/.pyenv
RUN /root/.pyenv/bin/pyenv install 3.10.6
ENV PATH="/root/.pyenv/versions/3.10.6/bin:$PATH"
RUN pip install poetry `Also, set the pip version to an empty string on the clearml.conf on the agent.

In this configuration poetry is not even called, don't now if it is because the poetry files are in the working dir not in the root of the repo or if it is something else.

Posted one year ago

Do I have to have the lock file in the root? or it can be on the working dir?

Posted one year ago

I just called the script with:
# docker_arguments="--privileged -v /dev:/dev",

Then in the console:
Exception: Command '['/usr/bin/python3', '-m', 'poetry', 'config', '--local', 'virtualenvs.in-project', 'true']' returned non-zero exit status 1. Error: Failed configuring Poetry virtualenvs.in-project failed installing poetry requirements: Command '['/usr/bin/python3', '-m', 'poetry', 'config', '--local', 'virtualenvs.in-project', 'true']' returned non-zero exit status 1.The agent tries to use poetry from python but it did not install it.
If I try to install poetry beforehand in the image, I get the dependency error above, if I install it with the installation script it makes no difference.

Posted one year ago

I edited the clearml.conf on the agent and set the manager to poetry, do I need to have poetry installed on the agent beforehand, considering that I am using docker?

Posted one year ago

Hi SkinnyPanda43 , did you set poetry as your package manager or do you simply want to install it as part of the environment?

Posted one year ago
5 Answers
one year ago
8 months ago
Similar posts