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 There All! Is There A Way To Set Empty Requirements When Creating A Remote Task? I Have Tried To Set Packages To None Or Empty Array, But It Doesn’T Work, Which Is Corroborated By The Documentation Of That Function

Hi there all! is there a way to set empty requirements when creating a remote task? I have tried to set packages to none or empty array, but it doesn’t work, which is corroborated by the documentation of that function . It’s automatically detecting the list of imports and trying to install all those. my docker image already contains all the requirements I need.

  
  
Posted 10 months ago
Votes Newest

Answers 6


Inside Python code task.execute_remotely()

  
  
Posted 10 months ago

Hi @<1659005876989595648:profile|ExcitedMouse44> , you can simply configure the agent not to install anything and just use the existing environment 🙂

The relevant env variables for this are: CLEARML_AGENT_SKIP_PIP_VENV_INSTALL
CLEARML_AGENT_SKIP_PYTHON_ENV_INSTALL
None

  
  
Posted 10 months ago

@<1659005876989595648:profile|ExcitedMouse44> how are you creating the task?

  
  
Posted 10 months ago

Yes, I can test that .
However, it will still show all of those automatically detected packages in my configuration, which I want to avoid

  
  
Posted 10 months ago

This will disable Pip installations for all of the tasks running on that Agent, correct?

  
  
Posted 10 months ago

Yes, however I think you might be able to expose this via an env variable on the Task object itself

  
  
Posted 10 months ago
923 Views
6 Answers
10 months ago
10 months ago
Tags