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 All, I'M A New User With Clearml-Agent. I Know It'S Supposed To Automatically Replicate The Environment Of A Task, Based On Installed Packages List. However, Installed Packages Of My Task Is Misses Many Of Installed Packages (Any Idea Why?) How Do I Co

Hi all, I'm a new user with clearml-agent.
I know it's supposed to automatically replicate the environment of a task, based on INSTALLED PACKAGES list.
However, INSTALLED PACKAGES of my task is misses many of installed packages (any idea why?)
How do I configure clearml-agent to use conda for virtual environment?
How do I configure clearml-agent to build the virtual environment based on the desired ‘environment.yaml’ file instead of INSTALLED PACKAGES?
On my local machine I used conda environment, installed some packages with conda and some with pip.
Thanks in advance!

  
  
Posted one year ago
Votes Newest

Answers 4


Hi @<1523702969063706624:profile|PoisedShark13>

However, INSTALLED PACKAGES of my task is misses many of installed packages (any idea why?)

It automatically detects the directly imported packages, literally analyzing your code base and looking for imports
The derivative packages (i.e. the one that any of the "main" packages need, will be listed after the first time the agent installs everything)
If something specific is missing, you can manually add it with:

Task.add_requirements("package", "version")
task = Task.init(...)

None

How do I configure clearml-agent to use conda for virtual environment?

Is this instead of pip? if so why? specifically: None

How do I configure clearml-agent to build the virtual environment based on the desired ‘environment.yaml’ file instead of INSTALLED PACKAGES?

Actually this is not really supported, it will always revert to "installed packages" section.
The reason is that the environment.yaml ius rarely updated with the entire package list, and one of the main goals of the agent is that once it provisioned the Task, it should be able to replicate the exact setup again.
What exactly do you have in the yaml that would be challenging ?
If this is regrading cuda and pytorch, the agent automatically does the resolving and install the correct pytorch wheel based on the installed cuda drivers (both in pip and in conda)

  
  
Posted one year ago

Could you put the log here?

  
  
Posted one year ago

Hi, Thanks! I thought it would be good to use conda since I used it on my local machine , but I understand now pip can manage everything.

  
  
Posted one year ago

I managed to get to the stage where 'Environment setup completed successfully' for the enqueued task!
However, now I encountered another issue - an error that did not occur on the manual run.
Related to
task.connect(config.model,name='model params')
I wonder if this is related to environment

  
  
Posted one year ago
1K Views
4 Answers
one year ago
one year ago
Tags
Similar posts