Open dwyatte opened 2 months ago
hi @dwyatte - thank you for the issue!
increasing the capability of the vertex worker like this sounds useful and reasonable
do you have any interest / capacity to contribute this?
here are docs which might be a useful reference, but it would essentially just be adding a field to the config model that specifies the current work pool variables
Thanks @zzstoatzz
I or one of my colleagues plan to contribute soon!
Describe the current behavior
Prefect's GCP Vertex integration exposes a subset of the arguments required to run a flow using a Vertex job. GCP recently integrated Vertex jobs with its Dynamic Workload Scheduler which allows users to pass an additional request parameter
scheduling
to allow more control over the start times of their jobs. This is especially useful for flows that require high-demand resources such as GPUs (e.g., by waiting up to 30 minutes for a GPU to become available from the flex start pool)https://cloud.google.com/vertex-ai/docs/training/schedule-jobs-dws
Describe the proposed behavior
https://github.com/PrefectHQ/prefect/blob/main/src/integrations/prefect-gcp/prefect_gcp/workers/vertex.py should expose the ability to specify the
scheduling
parameterExample Use
No response
Additional context
Partial duplicate of https://github.com/PrefectHQ/prefect/issues/5495, we might consider just addressing that at the same time