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
Hello Clearml Friends

Hello clearml friends 🙂 ,

I have a question regarding the requirements_file arguments in Task.create() .
Can I put a path/link to requirements from git repo?

My use case is: I have an API application; I would like this API to be able to create clearml task/controller whose source code is hosted inside another package. I am able to easily point at the branch , script etc, but when is time to point at the requirements_file , it seems it looks for the file in the api application

  
  
Posted 2 years ago
Votes Newest

Answers 4


Hey CostlyOstrich36 Thank you very much for the answer!

You want the ability to create pipeline steps in the controller simply by specifying the source control parameters + packages, correct?

So I guess yes but there are 2 cases;

case A : my running application (whose source code is in ./git/repo_1/ ) wants to launch a simple clearml task (python script with Task.init() ) whose source code is ./git/repo_2 and specify branch, script and requirments_file ... the requirements_file is in repo_2

case B : my running application (whose source code is in ./git/repo_1/ ) wants to create a controller (with components using this syntax, https://www.youtube.com/watch?v=UVBk337xzZo ) whose source code is ./git/repo_2 and specify branch, script and requirments_file ... the requirements_file is in repo_2

  
  
Posted 2 years ago

FreshKangaroo33 , I'm sorry for the delay. It looks like it will require a feature request. Maybe open a github issue to track it? 🙂

  
  
Posted 2 years ago

Hello FreshKangaroo33 ,

This is a very interesting idea if I understand it correctly! Let me elaborate on it a bit to see if I understand your idea - You want the ability to create pipeline steps in the controller simply by specifying the source control parameters + packages, correct?

I'm not sure if it's available now but you can give specific packages to be used in a pipeline and it's possible to implement your use case with the current tools through a workaround. How do you currently run pipelines?

  
  
Posted 2 years ago

Hello CostlyOstrich36 any news about it ? 🙂

  
  
Posted 2 years ago
925 Views
4 Answers
2 years ago
one year ago
Tags