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
What The Best Practice To Configure Clearml-Agent In The Way To Don’T Install Packages That Are Already Available Every Time? I Use Nvidia-Docker To Run The Train Script For Example. I Initialized Clearml-Agent Inside A Running Nvidia-Docker Container

What the best practice to configure clearml-agent in the way to don’t install packages that are already available every time?

I use nvidia-docker to run the train script for example.
I initialized clearml-agent inside a running nvidia-docker container and when I enqueue task, it starts to install packages and even failing to install everything correctly đź« 

  
  
Posted 6 months ago
Votes Newest

Answers 5


It even failed to create correct enviroment
And when it tried to execute import torch
It raise large error:

ImportError: cannot import name '_get_sequence_nr' from 'torch._C._autograd' (unknown location) 
  
  
Posted 6 months ago

And one more thing(seems like agent didn’t pull all necessary code)
I’m trying to run task export.py with remote agent. But in this script there are some imports from my other .py scripts:

import torch - this module should be installed with pip
from from generate_triton_config import generate_configs - this import from generate_triton_config.py 

And it also raise an error:

Traceback (most recent call last):
  File "/root/.clearml/venvs-builds/3.10/code/export.py", line 8, in <module>
    from generate_triton_config import generate_configs
ModuleNotFoundError: No module named 'generate_triton_config'

And when I checked folder: /root/.clearml/venvs-builds/3.10/code/ there is only one script export.py

So what I’m doing wrong ?

  
  
Posted 6 months ago

Hi @<1706116294329241600:profile|MinuteMouse44> , you can use CLEARML_AGENT_SKIP_PIP_VENV_INSTALL & CLEARML_AGENT_SKIP_PYTHON_ENV_INSTALL

  
  
Posted 6 months ago

Thank you!
That works

CLEARML_AGENT_SKIP_PIP_VENV_INSTALL & CLEARML_AGENT_SKIP_PYTHON_ENV_INSTALL

But still have a problem with, agent didn’t pull all necessary code
Do you have any ideas why that happens?
In “Installed packages” section, I see:

# Local modules found - skipping:
# generate_triton_config == ../generate_triton_config.py

Mb this relate somehow?

  
  
Posted 6 months ago