-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Vertex AI Pipeline - Container OP set_cpu_limit
does not work with parameter_values nor at runtime
#6681
Comments
set_cpu_limit
does not work with parameter_valuesset_cpu_limit
does not work with parameter_values
set_cpu_limit
does not work with parameter_valuesset_cpu_limit
does not work with parameter_values (at runtime)
set_cpu_limit
does not work with parameter_values (at runtime)set_cpu_limit
does not work with parameter_values nor at runtime
set_cpu_limit
does not work with parameter_values nor at runtimeset_cpu_limit
does not work with **parameter_values** nor at **runtime**
set_cpu_limit
does not work with **parameter_values** nor at **runtime**set_cpu_limit
does not work with parameter_values nor at runtime
cc @chensun |
Morning |
Hi @SaschaHeyer , this is indeed a known limitation and we plan to discuss the best solution for this in Q1/Q2 2022. Can you help us understand what's your use case to set a dynamic value for cpu limit, and how critical is this feature to you? Thanks! |
Hi @chensun I work for one of the biggest Google Cloud partners, we get this request regularly from our customers, at least once every 2 weeks. Changing those hyperparameters also might require bigger machines. Currently, a re-compile of the pipeline is required. Would be useful if we could do this via parameter as well. |
in this line, would be nice also if when a task throws an kfp error for being out of memory, that |
@SaschaHeyer Thanks for the context! |
Yes, caching would help here if the upstream doesn't have any changes on their inputs.
This might create some surprise billing issue :) |
yep, in case implemented, there should be an |
Huge +1 on this! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
are plans to support this? or is explored in another ticket? |
Hi |
+++ I agree with @SaschaHeyer, we are building reusable pipeline templates with only data changing and depending on the data size, we would want to be able to configure the CPU and Memory for each of the components through pipeline params or any other way. |
Hi guys, do we have any updates on this? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had recent activity. Please comment "/reopen" to reopen it. |
@entsarangi: You can't reopen an issue/PR unless you authored it or you are a collaborator. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
This is an useful feature to have |
This has been resolved. |
Hello Kubeflow Team,
Hello Google Team,
The container OP
.set_cpu_limit
only works when the value is set explicit and not via parameter_values or at runtimepipelines/sdk/python/kfp/dsl/_container_op.py
Line 378 in 4906ab2
Reproduce
Environment
Steps to reproduce
Not working
Working
Expected result
The CPU limits can be set via parameter_values
Looking forward to your feedback
The text was updated successfully, but these errors were encountered: