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
DrabDolphin54
Moderator
16 Questions, 50 Answers
  Active since 10 January 2023
  Last activity one year ago

Reputation

0

Badges 1

49 × Eureka!
0 Votes
0 Answers
645 Views
0 Votes 0 Answers 645 Views
one year ago
0 Votes
1 Answers
795 Views
0 Votes 1 Answers 795 Views
May I know how to get task urls, task_name and project_name from task_id and project_id ?? I tried https://clear.ml/docs/latest/docs/references/api/definitio...
one year ago
0 Votes
7 Answers
670 Views
0 Votes 7 Answers 670 Views
"5451af93e0bf68a4ab09f654b222ccae": { "1b790a3da2e8d6cd939cf271694fe81b": { "metric": ":monitor:gpu", "variant": "gpu_0_utilization", "value": 0.0, "min_valu...
one year ago
0 Votes
2 Answers
697 Views
0 Votes 2 Answers 697 Views
one year ago
0 Votes
2 Answers
704 Views
0 Votes 2 Answers 704 Views
Is this graph for past 30 mins ? How can I check it's time duration?
one year ago
0 Votes
2 Answers
697 Views
0 Votes 2 Answers 697 Views
How is this possible. gpu_mem_used gb is 0 but usage in % and gpu utilization is high.
one year ago
0 Votes
19 Answers
779 Views
0 Votes 19 Answers 779 Views
Is there any specific version of numpy you recommend to use with clearml Python library? I am building an Python alpine docker image with clearml==1.7.2 but ...
one year ago
0 Votes
5 Answers
651 Views
0 Votes 5 Answers 651 Views
I found here https://github.com/allegroai/clearml-agent/blob/master/README.md Kubernetes Glue, map ClearML jobs directly to K8s jobs Is there any documentati...
one year ago
0 Votes
9 Answers
780 Views
0 Votes 9 Answers 780 Views
Hi, Experiments under Projects in UI is same as tasks in api endpoint? In other words, when iterating over https://clear.ml/docs/latest/docs/references/api/t...
one year ago
0 Votes
5 Answers
751 Views
0 Votes 5 Answers 751 Views
one year ago
0 Votes
30 Answers
728 Views
0 Votes 30 Answers 728 Views
Hi, I am trying to pull api data from /tasks.get_all endpoint https://clear.ml/docs/latest/docs/references/api/tasks#post-tasksget_all I can pull data from c...
one year ago
0 Votes
3 Answers
853 Views
0 Votes 3 Answers 853 Views
Do you have any base image recommendation to install clearml python library? I'm getting error with pip on python:3.9.11-alpine image.
one year ago
0 Votes
1 Answers
772 Views
0 Votes 1 Answers 772 Views
one year ago
0 Votes
3 Answers
798 Views
0 Votes 3 Answers 798 Views
I am moving a code using clearml Python library to use it's API as docker container image. Is there any alternate to use access, secret keys instead I COPY c...
one year ago
0 Votes
0 Answers
705 Views
0 Votes 0 Answers 705 Views
The brown one, gpu_0_mem_used_gb is independent of other gpu utilization metrics?
one year ago
0 Votes
0 Answers
745 Views
0 Votes 0 Answers 745 Views
Simiar to https://github.com/tslearn-team/tslearn/issues/399
one year ago
0 Hi, I Am Trying To Pull Api Data From /Tasks.Get_All Endpoint

How do I know what are possible options for status? Same for other parameters.
I don't see those in documentation.
https://clear.ml/docs/latest/docs/references/api/tasks#post-tasksget_all

one year ago
0 Hi, I Am Trying To Pull Api Data From /Tasks.Get_All Endpoint

same error for tasks.get_all() endpoint

one year ago
one year ago
0 Hi, I Am Trying To Pull Api Data From /Tasks.Get_All Endpoint

` # which python
/Users/anuj.tyagi/clearml_api/venv/bin/python
(venv) LMWPRW6F3:clearml_api root# pip freeze | grep clearml
clearml==1.7.2

Traceback (most recent call last):
File "get_all_task.py", line 8, in <module>
print (client.tasks.get_all())
File "/Users/anuj.tyagi/clearml_api/venv/lib/python3.8/site-packages/clearml/backend_api/session/client/client.py", line 422, in get
result=self.session.send(request_cls(*args, **kwargs)),
File "/Users/anuj.tyagi/clearml_api/venv/lib...

one year ago
0 Hi, I Am Trying To Pull Api Data From /Tasks.Get_All Endpoint

SuccessfulKoala55 Yeah, that's possible but then I don't get any firewall will block only one endpoint response. I tried both workers.get_all() and get_stats(), both worked.
Can you share the snippet you used for tasks.get_all() ?

` from clearml.backend_api.session.client import APIClient
from time import time

Create an instance of APIClient

client = APIClient()

tasks = client.tasks.get_all() `This is what I used.
Doc mentions required request Body parameter type. Do I need to add this...

one year ago
0 Hi, I Am Trying To Pull Api Data From /Tasks.Get_All Endpoint

oh! yeah. That worked out. Thanks a lot.

one year ago
0 Hi, I Am Trying To Pull Api Data From /Tasks.Get_All Endpoint

My goal is to detect events when task does not uses allocated resources (e.g. GPU) for some period of time.
I am still trying to understand clearml api response.

Do you have any clue how can I get it from client.tasks.get_all(status=["in_progress"]) ?
If task has GPU allocated but not using it, would it be in in_progress status also? I want to collect those task.

I see task runtime info. I guess it's current utilization not allocation but not sure.

"runtime": {
"progress": "0",...

one year ago
0 Hi, I Am Trying To Pull Api Data From /Tasks.Get_All Endpoint

Exactly. I am trying to create alert for tasks that have GPU/CPU allocated but not utilizing it from x period of time.
So, if task is there, GPU will be allocated to it. I will need to check if task is using it or just idle.

one year ago
0 Hi, I Am Trying To Pull Api Data From /Tasks.Get_All Endpoint

I found system_tags and all the metrics including CPU but can't find any field mentions GPU scalar reported or GPU utilization.

one year ago
0 Hi, I Am Trying To Pull Api Data From /Tasks.Get_All Endpoint

` "tags": [],
"system_tags": [
"interactive"
],
"status_changed": "2022-10-13 17:05:22.844000+00:00",
"status_message": "",
"status_reason": "",
"last_worker": "xxx01:!2c1:cpu:10:service:0a750bd8a09b4063a59c96b4370d0815",
"last_worker_report": "2022-10-30 15:23:18.695000+00:00",
"last_update": "2022-10-30 15:23:18.695000+00:00",
"last_change": "2022-10-30 15:23:18.695000+00:00",
"last_iteration": 0,
"last_metrics": {
"29c6dd717a649...

one year ago
0 Hi, I Am Trying To Pull Api Data From /Tasks.Get_All Endpoint

I see it now.

` "5451af93e0bf68a4ab09f654b222ccae": {
"1b790a3da2e8d6cd939cf271694fe81b": {
"metric": ":monitor:gpu",
"variant": "gpu_0_utilization",
"value": 0.0,
"min_value": 0.0,
"max_value": 3.542
},
"409d4e6ad9b69b3224fceeac6e265ddc": {
"metric": ":monitor:gpu",
"variant": "gpu_0_mem_used_gb",
"value": 0.0,
...

one year ago
0 I Found Here

I found a lot of questions from past chat in this group including by you related to k8 glue with clearml.
Do you mean it recently become part of enterprise version?
AgitatedDove14

one year ago
0 Hi, Experiments Under Projects In Ui Is Same As Tasks In Api Endpoint? In Other Words, When Iterating Over

https://clear.ml/docs/latest/docs/references/api/definitions#taskstask_urls
tasks.task_urls()
It doesn't mention request parameters in this.

` from clearml.backend_api.session.client import APIClient
from clearml import Task

Create an instance of APIClient

client = APIClient()

tasks = client.tasks.task_urls()
print (tasks) Traceback (most recent call last):
File "get_all_users.py", line 15, in <module>
tasks = client.tasks.task_urls()
AttributeError: 'Tasks' object has no attr...

one year ago
0 Hi, Experiments Under Projects In Ui Is Same As Tasks In Api Endpoint? In Other Words, When Iterating Over

Thanks SuccessfulKoala55
Also, https://clear.ml/docs/latest/docs/references/api/tasks#post-tasksget_all gives me userID

<tasks.Task: {
"id": "xxx",
"name": "Interactive Session",
"user": "6cfef1d32",
"company": "xxxx",
"type": "application",
"status": "in_progress",
.....

}
I can't find api endpoint to get user name from user_id like "user": "6cfef1d32" above.

one year ago
0 Hi, I Am Trying To Pull Api Data From /Tasks.Get_All Endpoint

How can it be even this kind of issue with Python when one endpoint is giving response and other not.

one year ago
0 "5451Af93E0Bf68A4Ab09F654B222Ccae": { "1B790A3Da2E8D6Cd939Cf271694Fe81B": { "Metric": ":Monitor:Gpu", "Variant": "Gpu_0_Utilization", "Value": 0.0, "Min_Value": 0.0,

Thanks for the reply. If gpu_0_mem_usage is % of GPU memory in use, what is gpu_0_utilization ?

Is gpu_0_utilization also in % then?

one year ago
0 Hi, Experiments Under Projects In Ui Is Same As Tasks In Api Endpoint? In Other Words, When Iterating Over

CostlyOstrich36 May I know what are the request params to get task urls, tasks.task_urls()

one year ago
0 I Found Here

ok thanks

one year ago
0 Is There Any Specific Version Of Numpy You Recommend To Use With Clearml Python Library? I Am Building An Python Alpine Docker Image With Clearml==1.7.2 But It Breaks When Building Image From Dockerfile.

AgitatedDove14 I found it's the issue with pycryptodome 😕
Error started coming from here. Maybe specific version of it. Digging more.
` #13 101.0 note: This error originates from a subprocess, and is likely not a problem with pip.
#13 101.0 ERROR: Failed building wheel for pycryptodome
#13 101.0 Running setup.py clean for pycryptodome
#13 104.9 Building wheel for numpy (pyproject.toml): started
#13 158.5 Building wheel for numpy (pyproject.toml): finished with status 'er...

one year ago
0 Is There Any Specific Version Of Numpy You Recommend To Use With Clearml Python Library? I Am Building An Python Alpine Docker Image With Clearml==1.7.2 But It Breaks When Building Image From Dockerfile.

RUN apk update && apk upgrade --no-cache RUN /usr/local/bin/python3 -m pip install --upgrade pip RUN /usr/local/bin/python3 -m pip install -r requirements.txt

one year ago
0 Hi, I Am Trying To Pull Api Data From /Tasks.Get_All Endpoint

Eg. To query tasks that are both Running --> You mean status=["in_progress"] ?? How do I figure out other possible parameter I can use with status parameter?

Another,
Filter only tasks that start say 10 min ago . Is there any parameter for it also ?

one year ago
0 Hi, Experiments Under Projects In Ui Is Same As Tasks In Api Endpoint? In Other Words, When Iterating Over

` from clearml.backend_api.session.client import APIClient

Create an instance of APIClient

client = APIClient()

users = client.users.get_all() `
I get

Traceback (most recent call last): File "get_all_users.py", line 13, in <module> users = client.users.get_all() AttributeError: 'APIClient' object has no attribute 'users'
Although,
user = Task._get_default_session().send_request("users", "get_all", json={"id": [user_id]})did the work.

one year ago
0 Hi, I Am Trying To Pull Api Data From /Tasks.Get_All Endpoint

I see. Dev tools is useful here for finding api endpoints used for the data and
https://github.com/allegroai/clearml/blob/master/clearml/task.py#L987 what I was looking for.
Thanks

one year ago
0 Hi Everyone, We Are Using Clearml In Our Setup. I Am Trying To Retrieve Workers And Gpu Utilization From Clearml Api. Can I Get Info How Do I Get Api Token For That And What Endpoints Should Be Useful In That Case? I Need To Retrieve Busy Workers For A Sp

This worked out.
`
from clearml.backend_api.session.client import APIClient

Create an instance of APIClient

client = APIClient()
project_list = client.workers.get_all()
print(project_list) `

one year ago
Show more results compactanswers