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! I Have Couple Of Questions Regarding The Agent And Spawned By It Worker Containers. I Have A 2 Step Pipeline:

Hi everyone!
I have couple of questions regarding the Agent and spawned by it worker containers.
I have a 2 step pipeline:

pipe.add_function_step(
    name="heavy_compute", function=heavy_compute,
    function_kwargs=..., function_return=["results"],
    repo=".", packages="requirements.txt",
)
pipe.add_function_step(
    name="predict", function=predict,
    function_kwargs=dict(results), function_return=["preds"],
    repo=".", packages="requirements.txt"
)
pipe.start(queue="prediction-queue")

And I have ClearML server and Agent listening to the prediction-queue both running on the same machine (they share CPU and RAM, no GPU need).

My questions are:

  • How to achieve advantage with such Agent configuration? Set up 2-3 Agents with dedicated CPU cores, listening to the shared queue?
  • Is there way to distribute pipeline execution parts between agents aka conveyor? (Is it worth it?)
  • How can i optimize containers spawned by agents to execute pipeline parts? Is it running container per every step of the pipeline?
    Kind regards, Aleksei
  
  
Posted one month ago
Votes Newest

Answers


Hi @<1736556867255013376:profile|ImpressionableElk3> , I don't think there is currently a capability to assign/dedicate cores to the agent. They basically run on whatever is available.

If you have some mechanism to do it using docker then it can be used by the agent.

  
  
Posted one month ago
158 Views
1 Answer
one month ago
one month ago
Tags