-
Notifications
You must be signed in to change notification settings - Fork 777
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Pipelines] Add doc on disabling default caching flag and env var #3880
Conversation
a08d620
to
c20f893
Compare
Environment Variable `KFP_DISABLE_EXECUTION_CACHING_BY_DEFAULT`. | ||
|
||
You can also set the default caching behavior by using the environment variable. When set to true, 1, or other truthy values, it will disable execution caching by default for all pipelines. When set to false or when absent, the default of caching enabled remains.\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This Environment Variable KFP_DISABLE_EXECUTION_CACHING_BY_DEFAULT.
looks misplaced.
How about the following?
Environment Variable `KFP_DISABLE_EXECUTION_CACHING_BY_DEFAULT`. | |
You can also set the default caching behavior by using the environment variable. When set to true, 1, or other truthy values, it will disable execution caching by default for all pipelines. When set to false or when absent, the default of caching enabled remains.\ | |
You can also set the default caching behavior by using the `KFP_DISABLE_EXECUTION_CACHING_BY_DEFAULT` environment variable. When set to true, 1, or other truthy values, it will disable execution caching by default for all pipelines. When set to false or when absent, the default of caching enabled remains.\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I'd taken it out but didn't get pushed by mistake. Updated now, thanks!
``` | ||
will result in `task_2` having caching disabled. | ||
|
||
Note: Since Python initializes configurations during the import process, setting the KFP_DISABLE_EXECUTION_CACHING_BY_DEFAULT environment variable after importing pipeline components will not affect the caching behavior. Therefore, always set it before importing any Kubeflow Pipelines components. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: Since Python initializes configurations during the import process, setting the KFP_DISABLE_EXECUTION_CACHING_BY_DEFAULT environment variable after importing pipeline components will not affect the caching behavior. Therefore, always set it before importing any Kubeflow Pipelines components. | |
Note: Since Python initializes configurations during the import process, setting the `KFP_DISABLE_EXECUTION_CACHING_BY_DEFAULT` environment variable after importing pipeline components will not affect the caching behavior. Therefore, always set it before importing any Kubeflow Pipelines components. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, updated to add ``.
Signed-off-by: ddalvi <[email protected]>
c20f893
to
a90bd6f
Compare
Looks good to me! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hbelmiro The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
… var (kubeflow#3880)" This reverts commit 7b7c037.
… var (kubeflow#3880)" This reverts commit 7b7c037. Signed-off-by: ddalvi <[email protected]>
… var (kubeflow#3880)" This reverts commit 7b7c037. Signed-off-by: ddalvi <[email protected]>
) * Revert "[Pipelines] Specify KFP SDK version where new caching flag will be available (#3881)" This reverts commit 090f09b. Signed-off-by: ddalvi <[email protected]> * Revert "[Pipelines] Add doc on disabling default caching flag and env var (#3880)" This reverts commit 7b7c037. Signed-off-by: ddalvi <[email protected]> * Fix enable_caching option's comment typo Signed-off-by: ddalvi <[email protected]> --------- Signed-off-by: ddalvi <[email protected]>
Ref: kubeflow/pipelines#11222