Generic node executions are not cached by Kubeflow Pipelines #2717
Labels
inactive:deferred
platform: pipeline-Kubeflow
Related to usage of Kubeflow Pipelines as pipeline runtime
status:Needs Discussion
Describe the issue
While investigating potential options how to support partial pipeline execution, I've noticed that nodes that are implemented using generic components are not cached by Kubeflow Pipelines. This is an unintentional side effect of a unique environment variable value that we are passing to the container. In a nutshell this variable contains a unique run id, which is a constant value across all nodes in the same pipeline.
Caching can have significant benefits with respect to resource usage and performance. Imagine, if you will, a notebook that downloads a data set archive, extracts it, and performs some processing. If the archive content doesn't change at the source, downloading and processing it again is completely unnecessary if the produced outputs are identical during multiple runs.
I've created this issue to discus how we should deal with caching in general:
The text was updated successfully, but these errors were encountered: