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 Everyone! We'Re Working On Some Better Ux For Triggering And Scheduling Functions And Would Love To Pick Your Brains

Hi There everyone! We're working on some better UX for triggering and scheduling functions and would love to pick your brains 🙂 If anyone is using it \ intends to use it, let me know and I'd be glad to ask a few questions 😄 !
Have a great day!

  
  
Posted 3 years ago
Votes Newest

Answers 8


If this includes scheduling through pipelines, in my opinion there should be an option to execute a pipeline without an agent. Sometimes for development I just want to execute a pipeline on my local machine just as I would a task...

  
  
Posted 3 years ago

WackyRabbit7 pipeline.start_locally() should do the trick I think.

demo code code:
` from clearml.automation import PipelineController

p = PipelineController()

p.start_locally() `
Is that what you had in mind?

  
  
Posted 3 years ago

First of all I wasn't aware that was an option - but I think it's preferable to be able to do it through the command line. Because I'm developing the pipeline to be executed remotely, but for debugging I run it locally.

Using what you showed I can obviously write it, and delete it once it is ready, and rewrite it when I'm debugging or adding features - but I think DX-wise it would be nicer to be able to trigger this functionality through the command line

  
  
Posted 3 years ago

Yeah I totally get what you're saying. Basically you want the same code to run locally or remotely, and something external would control whether it runs locally or enqueued to a worker. Am I right?

  
  
Posted 3 years ago

Exactly

  
  
Posted 3 years ago

I was trying out the pipeline controller for the first time and I felt a bit of a burden that just for the sake of trying I had to launch an agent

  
  
Posted 3 years ago

Oki doke 🙂 I'll see what the great powers of beyond (AKA, R&D folks) will have to say about that!

  
  
Posted 3 years ago

Yeah, makes sense. We actually thought that the "best practice" would be to launch the "actual code" (as opposed to the pipeline controller) from agents. But obviously we were wrong, or at least it doesn't cover the fact that a lot of the time, code is being written for debugging. So yeah, that's where we're at, ATM

  
  
Posted 3 years ago
1K Views
8 Answers
3 years ago
one year ago
Tags