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
Can Steps Be Removed From Pipelines, And/Or Can Pipelines Be Generally Modified Other Than Adding Steps To Them?

Can steps be removed from pipelines, and/or can pipelines be generally modified other than adding steps to them?

  
  
Posted one year ago
Votes Newest

Answers 13


This is related to my other thread, so I’ll provide an example there -->

  
  
Posted one year ago

Hey SmugDolphin23 , thanks for the reply! I’m aware of the caching — that’s not the issue I’m trying to resolve 🙂

  
  
Posted one year ago

Oh nono, more like:

  • Create a pipeline
  • Add N steps to it
  • Run the pipeline
  • It fails/succeeds, the user does something with the output
  • The user would like to add/modify some steps based on the results now (after closer inspection).I wonder if at (5), do I have to recreate the pipeline every time? 🤔
  
  
Posted one year ago

UnevenDolphin73 are you composing the code you want to execute remotely by copy pasting it from various cells in one standalone cell?

  
  
Posted one year ago

Yeah I was basically trying to avoid clutter in the Pipelines page. But see my other thread for the background, maybe you have some good input there? 🙏

  
  
Posted one year ago

See e None SuccessfulKoala55

  
  
Posted one year ago

Hi UnevenDolphin73 ! Steps can be cached using the cache=True arg, so when a new step is added, the other steps will not be ran (only their outputs will be fetched). If a step is modified, then clearml will recognise that and not use the cached result. Of course, the whole pipeline will have to be reran, but the execution should be quick for the cached steps.
The pipeline can't be modified while it is running.
Does this help your case?

  
  
Posted one year ago

Dynamic pipelines in a notebook, so I don’t have to recreate a pipeline every time a step is changed 🤔

  
  
Posted one year ago

Do you want to remove steps/add steps from the pipeline after it has ran basically? If that is the case, then it is theoretically possible, but we don't expose and methods that would allow you to do that...
What you would need to do is modify all the pipeline configuration entries you find in the CONFIGURATION section (see the screenshot), Not sure if that is worth the effort. I would simply create another version of the pipeline with the added/removed steps
image

  
  
Posted one year ago

UnevenDolphin73 at what point exactly? What's the scenario you're thinking of?

  
  
Posted one year ago

A step is changed while the pipeline is running?

  
  
Posted one year ago

btw, to avoid clutter you could also archive runs you don't need anymore

  
  
Posted one year ago

Yeah I will probably end up archiving them for the time being (or deleting if possible?).

Otherwise (regarding the code question), I think it’s better if we continue the original thread, as it has a sample code snippet to illustrate what I’m trying to do.

  
  
Posted one year ago