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 Everyone! When I Execute

Hi everyone! When I execute task.execute_remotely in ClearML, it starts installing every package in my environment, even those that aren't necessary for the project. Specifically, I encounter an error when it tries to install pywin32==305 . How can I make sure that only the relevant packages for this project or directory are installed?

  
  
Posted one year ago
Votes Newest

Answers 9


Hi @<1548839979558375424:profile|DelightfulFrog42> , you can use tasks.set_requirements to provide specific packages or a requirements.txt:
None

  
  
Posted one year ago

You can also use Task.force_requirements_env_freeze to freeze an exact copy of your environment.
None

  
  
Posted one year ago

I have a question regarding docker mode use here, I want to run my task remotely on docker, when I execute the script containing task.execute_remotely(), it analyzes the packages in the current env which are different from the ones needed.
I also tried using the task.set_packages('./requirements.txt')
but it didn't work

  
  
Posted one year ago

incompatibility issue because the agent was trying to setup a version of numpy not supported.
image
image

  
  
Posted one year ago

Hi @<1540867420321746944:profile|DespicableSeaturtle77> , what didn't work? What showed up in the experiment? What was logged in the installed packages?

  
  
Posted one year ago

tasks.set_requirements
image

  
  
Posted one year ago

In general I would suggest running in docker mode 🙂

  
  
Posted one year ago

?

  
  
Posted one year ago

Solved my issue by adding this before the Task.init()
Task.force_requirements_env_freeze(requirements_file='./requirements.txt')

  
  
Posted one year ago