#7111 [Flyte-7005] Supporting Ray autoscalerOptions
Pull request opened by
0yukali0
Tracking issue
Related #7005
Why are the changes needed?
Ray autoScalerOptions is not supportted in flyte v1
What changes were proposed in this pull request?
1. Add autoscalerOptions to ray.proto
2. Generate go files of grpc proto
3. Parsing the options from grpc and translate it to crd of ray operator.
How was this patch tested?
Labels
Please add one or more of the following labels to categorize your PR:
•
added: For new features.
•
changed: For changes in existing functionality.
•
deprecated: For soon-to-be-removed features.
•
removed: For features being removed.
•
fixed: For any bug fixed.
•
security: In case of vulnerabilities
This is important to improve the readability of release notes.
Setup process
1. clone flyte and flytekit (branch flyte-7005 and flytekit-7005)
2. run the flyte backend in sandbox
2.1 flytectl demo start --dev
2.2 make compile && POD_NAMESPACE=flyte ./flyte start --config flyte-single-binary-local.yaml
3. Update ray example like
Ray example
3.1 uv venv -p 3.11 && source .venv/bin/activate && uv pip install -e ~/flytekit ~/flytekit/plugins/flytekit-ray && uv pip install -e ~/flyte/flyteidl
3.2 "pyflyte run --remote ray_example.py ray_workflow --n 10"
Screenshots
image image
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
Related PRs
Docs link
flyteorg/flyte