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
When In

When in PIP mode , how does a Worker installs the required python packages? Does it use the existing requirements.txt ? My problem is that the packages inside the requirements.txt are not being installed in my case.

  
  
Posted one year ago
Votes Newest

Answers 4


Hi GrievingDeer61 ,

The packages are automatically detected during the run and used by the worker. You can force the worker to use the requirements file with the following method:
https://clear.ml/docs/latest/docs/references/sdk/task#taskadd_requirements
Tell me if this helps 🙂

  
  
Posted one year ago

Hi SuccessfulKoala55 I am trying to switch to poetry I believe this will solve my problems. I will come back if not.

  
  
Posted one year ago

GrievingDeer61 just to make sure I understand - do you have a requirements.txt file in your code-base and the agent does not install it?

  
  
Posted one year ago

Thank you CostlyOstrich36 I use pipenv in my package and the dependencies are not being detected automatically. I see what you propose but I don’t want to add the requirements.txt for every task.

Maybe the workflow I am using is not a good one…

  
  
Posted one year ago
520 Views
4 Answers
one year ago
one year ago
Tags
Similar posts