Skip to content
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

Decouple ray submitter, worker, and head resources #5933

Merged
merged 1 commit into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions flyteidl/gen/pb-es/flyteidl/plugins/ray_pb.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

193 changes: 111 additions & 82 deletions flyteidl/gen/pb-go/flyteidl/plugins/ray.pb.go

Large diffs are not rendered by default.

27 changes: 14 additions & 13 deletions flyteidl/gen/pb_python/flyteidl/plugins/ray_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 9 additions & 4 deletions flyteidl/gen/pb_python/flyteidl/plugins/ray_pb2.pyi

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions flyteidl/gen/pb_rust/flyteidl.plugins.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions flyteidl/protos/flyteidl/plugins/ray.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ package flyteidl.plugins;

option go_package = "github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/plugins";

import "flyteidl/core/tasks.proto";

// RayJobSpec defines the desired state of RayJob
message RayJob {
// RayClusterSpec is the cluster template to run the job
Expand Down Expand Up @@ -35,6 +37,8 @@ message HeadGroupSpec {
// Optional. RayStartParams are the params of the start command: address, object-store-memory.
// Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
map<string, string> ray_start_params = 1;
// Pod Spec for the ray head pod
core.K8sPod k8s_pod = 2;
Sovietaced marked this conversation as resolved.
Show resolved Hide resolved
}

// WorkerGroupSpec are the specs for the worker pods
Expand All @@ -50,4 +54,6 @@ message WorkerGroupSpec {
// Optional. RayStartParams are the params of the start command: address, object-store-memory.
// Refer to https://docs.ray.io/en/latest/ray-core/package-ref.html#ray-start
map<string, string> ray_start_params = 5;
// Pod Spec for ray worker pods
core.K8sPod k8s_pod = 6;
}
Loading
Loading