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
Profile picture
NuttyLobster9
Moderator
10 Questions, 48 Answers
  Active since 07 February 2023
  Last activity 4 months ago

Reputation

0

Badges 1

43 × Eureka!
0 Votes
6 Answers
1K Views
0 Votes 6 Answers 1K Views
I know at least one other person has posted about this previously, but when I interact with Datasets I keep getting a bunch of repeated logging messages with...
one year ago
0 Votes
9 Answers
1K Views
0 Votes 9 Answers 1K Views
one year ago
0 Votes
3 Answers
1K Views
0 Votes 3 Answers 1K Views
I’m wondering if someone has an example of how to use the base_task_factory option for adding a step to a PipelineController ? It’s not clear to me how we sh...
one year ago
0 Votes
10 Answers
693 Views
0 Votes 10 Answers 693 Views
I’m trying to understand the execution flow of pipelines when translating from local to remote execution. I’ve defined a pipeline using the PipelineDecorator...
9 months ago
0 Votes
4 Answers
675 Views
0 Votes 4 Answers 675 Views
9 months ago
0 Votes
8 Answers
675 Views
0 Votes 8 Answers 675 Views
8 months ago
0 Votes
6 Answers
635 Views
0 Votes 6 Answers 635 Views
Hi All, is there a way to clone a pipeline from the web UI like you can with a task? The goal is to be able to give the cloned version a different name so I ...
10 months ago
0 Votes
17 Answers
254 Views
0 Votes 17 Answers 254 Views
4 months ago
0 Votes
4 Answers
652 Views
0 Votes 4 Answers 652 Views
Hi All, I’m curious if anyone has an example of editing the configuration of a running TaskScheduler or TriggerScheduler . If I understand correctly the desc...
8 months ago
0 Votes
15 Answers
618 Views
0 Votes 15 Answers 618 Views
Are there any particular system dependencies needed to enable auto_resource_logging ? My understanding based on None is that this should be enabled by defaul...
8 months ago
0 Are There Any Particular System Dependencies Needed To Enable

To be clear Task.init() was called initially. I had to call it again later in the code in order to get the current task object instead of Task.current_task() , which only seems to work locally. That's the part that is not intuitive.

8 months ago
0 Are There Any Particular System Dependencies Needed To Enable

Ah interesting, okay. I'll try adding a sleep in here for testing it out. Thanks

8 months ago
0 Are There Any Particular System Dependencies Needed To Enable

Sure. I can send it on Monday. Thank you.

8 months ago
0 Are There Any Particular System Dependencies Needed To Enable

Hi @<1523701205467926528:profile|AgitatedDove14> , CLEARML_TASK_ID is set inside the agent's process, which is how I was able to get the task by running Task.get_task(environ["CLEARML_TASK_ID") . However I believe I've sorted out how to make both the resource logging and the tensorboard logging work in the agent. It seems that using Task.current_task() to get the task object does not work when running remotely, but calling Task.init() again does work. And after having called ...

8 months ago
0 Are There Any Particular System Dependencies Needed To Enable

Here's my example script:

from random import randint

from clearml import Task

if __name__ == "__main__":
    task: Task = Task.init(
        project_name="clearml-examples", task_name="try-to-make-logging-work"
    )
    task.execute_remotely(queue_name="5da90f42dd4c40edab972a4bef8eab04")
    logger = task.get_logger()
    for i in range(10):
        logger.report_scalar("example plot", series="random", value=randint(0, 100), iteration=i)
8 months ago
0 Are There Any Particular System Dependencies Needed To Enable

Hi @<1523701205467926528:profile|AgitatedDove14> , I've actually hit on something accidentally that might be a clue. I have noticed that when running inside an agent, there is a bug wherein both Task.current_task() and Logger.current_logger() return None . If these are being used by the clearml package under the hood, this could be the reason we aren't seeing the metrics.

As a workaround, I created this utility function, which works for explicit logging (though it doesn't c...

8 months ago
0 Are There Any Particular System Dependencies Needed To Enable

Yes, that did make it work in this case, thank you.

8 months ago
0 Are There Any Particular System Dependencies Needed To Enable

Hi @<1523701205467926528:profile|AgitatedDove14> , on the resource logging: I tried with a sleep test and it works when I'm running it from my local machine, but when I run remotely in an agent, i do not see resource logging.

And, similarly, with tensorboard logging, it works fine when running from my machine, but not when running remotely in an agent. For this, I've decided to just re-write the logging code to use ClearML's built-in logging methods, which work fine in the agent. Would stil...

8 months ago
0 Hi All, I’M Curious If Anyone Has An Example Of Editing The Configuration Of A Running

Ahhh okay, thank you. Perhaps in the future, it would be great to allow this from the UI as well?

8 months ago
0 Hi All, I’M Curious If Anyone Has An Example Of Editing The Configuration Of A Running

That could happen with any task when it’s cloned. To be honest, the cron and trigger schedulers probably deserve their own UI panel since they operate differently than other tasks. Ideally, a user would be able to add and remove jobs from the schedulers purely through the UI.

8 months ago
0 Hi All! Question About Pipelines Using Decorators. The First Step Of My Pipeline Uses A Specific Repo, Specified Using

Hi Max, thanks very much for your message! I understand what you’re saying now, though I suppose this is not my issue since I’m not setting any of the decorator values with variables. I’ll post a query in the main channel with code snippets to see if anyone has ideas. Thank you!

one year ago
8 months ago
0 Hi Everyone, I'M Running Into A Weird Error When Trying To Clone And Run And Task That Has Completed Successfully. I Have A Test Task That Loads A Dummy Dataset And Trains A Toy Model With Pytorch. When Running Remotely, I Use My Own Docker Image That Has

Okay so I discovered that setting -e CLEARML_AGENT_PACKAGE_PYTORCH_RESOLVE=none solves the issue.

That said, if someone could explain to me why this error was occurring and why it only happens in the case of cloning, I'd love to understand. Thanks!

8 months ago
0 Hi All, I’M Looking For Suggestions On Best Practices For Easily Going Between Local Development And Remote Execution. Currently, The Approach I’Ve Been Using Is To Have A Gitlab Ci/Cd Pipeline That Builds A New Docker Image For Each Commit And Then Setti

The requirements option using git+https does work, at least for the main install_requires dependences in my setup.cfg. It didn’t install extra dependencies of i tried to do something like pip install my-package[with-optional] @ git+ None

9 months ago
0 Hi All, I’M Looking For Suggestions On Best Practices For Easily Going Between Local Development And Remote Execution. Currently, The Approach I’Ve Been Using Is To Have A Gitlab Ci/Cd Pipeline That Builds A New Docker Image For Each Commit And Then Setti

The bash setup script option doesn’t work because that runs before the repo is cloned. I could add the git clone step there, but not sure how to access the git credentials stored in the agent.

9 months ago
0 I’M Wondering If Someone Has An Example Of How To Use The

Hi @<1523701205467926528:profile|AgitatedDove14> , thanks so the code to be executed by the task needs to be provided to the Task.create() method as script=some/path.py or does it work to have something like

def my_node_task_factory(node: PipelineController.Node) -> Task:
  task = Task.create(...)
  my_function()
  return task 
one year ago
0 Are There Any Particular System Dependencies Needed To Enable

Correction: it works when I am running the code in my local VSCode session. I still don't get resource logging when I run in an agent. 🤔 . And on a similar topic, I have a separate task that is logging metrics with tensorboard. When running locally, I see the metrics appear in the "scalars" tab in ClearML, but when running in an agent, nothing. Any suggestions on where to look?

8 months ago
0 Hello, All. I’Ve Recently Started Experiencing A Weird Issue With Arg Parsing Where Any String Values Are Being Repeated As Lists Of Strings When The Values Are Sent To The Clearml Server (See Attached Screenshot). I Believe This Issue Started Around The

@<1576381444509405184:profile|ManiacalLizard2> ,that’s interesting. So you actually need the imports to be in a certain order. That’s definitely new and a bit of an anti-pattern as it goes against recommended import statement order (built-in packages imported first) but if it works, that’s good news at least. I’ll try that as well. Thanks!

one year ago
0 Hi All! Is There Any Simple Way To Use

Okay, I take it back. os.getenv("CLEARML_TASK_ID") does work. I forgot to rebuild my container after making the change. Thanks for bringing this option to my attention!

one year ago
0 I’M Trying To Understand The Execution Flow Of Pipelines When Translating From Local To Remote Execution. I’Ve Defined A Pipeline Using The
import json
import os
import sys
from argparse import ArgumentParser
from logging import getLogger
from pathlib import Path
from typing import Callable

from clearml import PipelineDecorator, Task

from clearml_pipelines_examples.base.pipeline_settings import ExecutionMode
from clearml_pipelines_examples.pipelines.examples.train_model_on_random_data import (
    TrainModelPipelineKwargs,
    TrainModelPipelineSettings,
)
from clearml_pipelines_examples.tasks.examples import generate_dat...
9 months ago
0 I Know At Least One Other Person Has Posted About This Previously, But When I Interact With

I’m using SDK version 1.10.2 and yes, it’s self-hosted. Here is the version info for the server:

 WebApp: 1.9.1-312 • Server: 1.9.1-312 • API: 2.23 

Thanks!

one year ago
0 Hi All! Is There Any Simple Way To Use

I actually have a question about your original code snipped, @<1556450111259676672:profile|PlainSeaurchin97> . I have been trying to figure out a way to access the task object when running remotely so that I can instantiate the logger but when I tried task_id = os.getenv("CLEARML_TASK_ID") , it’s returning None . I also tried Task.current_task() and also got None back. What is the recommended way to access the Task object from within the remote agent?

one year ago
0 Hello, All. I’Ve Recently Started Experiencing A Weird Issue With Arg Parsing Where Any String Values Are Being Repeated As Lists Of Strings When The Values Are Sent To The Clearml Server (See Attached Screenshot). I Believe This Issue Started Around The

Hi @<1523701070390366208:profile|CostlyOstrich36> , I would expect the loss_func parameter to be FocalLoss instead of ['FocalLoss', 'FocalLoss', 'FocalLoss', 'FocalLoss'] (and same for the validation_split_name parameter. I will try to put together an example, though it might take a little time before I can do it.

one year ago
0 Hi All, Is There A Way To Clone A Pipeline From The Web Ui Like You Can With A Task? The Goal Is To Be Able To Give The Cloned Version A Different Name So I Can Organize Pipeline Runs By Project.

Hi @<1523701205467926528:profile|AgitatedDove14> , sorry for the delayed reply. So what you’re saying is to first kick off a new run and then rename the underlying Pipeline Task, which will cause that particular run to become a new pipeline name? But you have to do this only after you’ve started the run.

What would be most ideal would be to be able to right-click on a pipeline run and have a “clone” option, like you can with a task, where you can start a new run with a new name in a single ...

10 months ago
Show more results compactanswers