@flyteorg/flyteidl2 2.0.15 → 2.0.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/flyteidl2/actions/actions_service_pb.ts +36 -74
- package/flyteidl2/app/app_definition_pb.ts +185 -24
- package/flyteidl2/app/app_logs_payload_pb.ts +18 -2
- package/flyteidl2/app/app_payload_pb.ts +90 -12
- package/flyteidl2/artifact/artifact_pb.ts +271 -0
- package/flyteidl2/artifact/artifact_service_pb.ts +378 -0
- package/flyteidl2/cluster/payload_pb.ts +61 -2
- package/flyteidl2/common/cache_pb.ts +37 -0
- package/flyteidl2/common/identifier_pb.ts +38 -16
- package/flyteidl2/common/list_pb.ts +22 -2
- package/flyteidl2/common/phase_pb.ts +11 -1
- package/flyteidl2/common/run_pb.ts +89 -3
- package/flyteidl2/core/artifact_id_pb.ts +112 -11
- package/flyteidl2/core/execution_pb.ts +190 -15
- package/flyteidl2/core/literals_pb.ts +14 -1
- package/flyteidl2/core/tasks_pb.ts +170 -14
- package/flyteidl2/dataproxy/dataproxy_service_pb.ts +76 -5
- package/flyteidl2/imagebuilder/definition_pb.ts +22 -1
- package/flyteidl2/logs/dataplane/payload_pb.ts +66 -2
- package/flyteidl2/notification/definition_pb.ts +58 -7
- package/flyteidl2/plugins/clustered_pb.ts +232 -0
- package/flyteidl2/plugins/ray_pb.ts +104 -7
- package/flyteidl2/settings/settings_definition_pb.ts +52 -41
- package/flyteidl2/task/common_pb.ts +131 -6
- package/flyteidl2/task/run_pb.ts +157 -9
- package/flyteidl2/task/task_definition_pb.ts +25 -4
- package/flyteidl2/task/task_service_pb.ts +18 -2
- package/flyteidl2/trigger/trigger_definition_pb.ts +26 -5
- package/flyteidl2/workflow/internal_run_service_pb.ts +37 -1
- package/flyteidl2/workflow/run_definition_pb.ts +219 -16
- package/flyteidl2/workflow/run_info_pb.ts +30 -1
- package/flyteidl2/workflow/run_service_pb.ts +703 -12
- package/flyteidl2/workflow/tracked_run_service_pb.ts +368 -0
- package/flyteidl2/workflow/translator_service_pb.ts +43 -2
- package/package.json +2 -2
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
6
6
|
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
7
|
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
-
import type { RunIdentifier } from "../common/identifier_pb.ts";
|
|
8
|
+
import type { ActionIdentifier, RunIdentifier } from "../common/identifier_pb.ts";
|
|
9
9
|
import { file_flyteidl2_common_identifier } from "../common/identifier_pb.ts";
|
|
10
10
|
import type { ActionPhase } from "../common/phase_pb.ts";
|
|
11
11
|
import { file_flyteidl2_common_phase } from "../common/phase_pb.ts";
|
|
@@ -15,7 +15,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
15
15
|
* Describes the file flyteidl2/notification/definition.proto.
|
|
16
16
|
*/
|
|
17
17
|
export const file_flyteidl2_notification_definition: GenFile = /*@__PURE__*/
|
|
18
|
-
fileDesc("
|
|
18
|
+
fileDesc("CidmbHl0ZWlkbDIvbm90aWZpY2F0aW9uL2RlZmluaXRpb24ucHJvdG8SFmZseXRlaWRsMi5ub3RpZmljYXRpb24ijgIKFkRlbGl2ZXJ5Q29uZmlnVGVtcGxhdGUSQAoHd2ViaG9vaxgBIAEoCzIvLmZseXRlaWRsMi5ub3RpZmljYXRpb24uV2ViaG9va0RlbGl2ZXJ5VGVtcGxhdGUSPAoFZW1haWwYAiABKAsyLS5mbHl0ZWlkbDIubm90aWZpY2F0aW9uLkVtYWlsRGVsaXZlcnlUZW1wbGF0ZTp0ukhxGm8KFWF0X2xlYXN0X29uZV9yZXF1aXJlZBIwYXQgbGVhc3Qgb25lIG9mIHRoZSBkZWxpdmVyeSBvcHRpb25zIG11c3QgYmUgc2V0GiRoYXModGhpcy53ZWJob29rKSB8fCBoYXModGhpcy5lbWFpbCk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NUEAYSFwoTSFRUUF9NRVRIT0RfT1BUSU9OUxAHEhUKEUhUVFBfTUVUSE9EX1RSQUNFEAgSFQoRSFRUUF9NRVRIT0RfUEFUQ0gQCULkAQoaY29tLmZseXRlaWRsMi5ub3RpZmljYXRpb25CD0RlZmluaXRpb25Qcm90b0gCUAFaOmdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi9ub3RpZmljYXRpb26iAgNGTliqAhZGbHl0ZWlkbDIuTm90aWZpY2F0aW9uygIWRmx5dGVpZGwyXE5vdGlmaWNhdGlvbuICIkZseXRlaWRsMlxOb3RpZmljYXRpb25cR1BCTWV0YWRhdGHqAhdGbHl0ZWlkbDI6Ok5vdGlmaWNhdGlvbmIGcHJvdG8z", [file_buf_validate_validate, file_flyteidl2_common_identifier, file_flyteidl2_common_phase]);
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* @generated from message flyteidl2.notification.DeliveryConfigTemplate
|
|
@@ -66,6 +66,52 @@ export type RunCompletedNotificationTemplateData = Message<"flyteidl2.notificati
|
|
|
66
66
|
export const RunCompletedNotificationTemplateDataSchema: GenMessage<RunCompletedNotificationTemplateData> = /*@__PURE__*/
|
|
67
67
|
messageDesc(file_flyteidl2_notification_definition, 1);
|
|
68
68
|
|
|
69
|
+
/**
|
|
70
|
+
* ActionPausedNotificationTemplateData is the template data available to
|
|
71
|
+
* delivery templates on rules subscribed to ACTION_PHASE_PAUSED.
|
|
72
|
+
*
|
|
73
|
+
* @generated from message flyteidl2.notification.ActionPausedNotificationTemplateData
|
|
74
|
+
*/
|
|
75
|
+
export type ActionPausedNotificationTemplateData = Message<"flyteidl2.notification.ActionPausedNotificationTemplateData"> & {
|
|
76
|
+
/**
|
|
77
|
+
* Identifier of the condition action that paused awaiting a signal.
|
|
78
|
+
*
|
|
79
|
+
* @generated from field: flyteidl2.common.ActionIdentifier action = 1;
|
|
80
|
+
*/
|
|
81
|
+
action?: ActionIdentifier;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Prompt shown to the user when the condition is awaited.
|
|
85
|
+
*
|
|
86
|
+
* @generated from field: string prompt = 2;
|
|
87
|
+
*/
|
|
88
|
+
prompt: string;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Description of the condition.
|
|
92
|
+
*
|
|
93
|
+
* @generated from field: string description = 3;
|
|
94
|
+
*/
|
|
95
|
+
description: string;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* How to render the prompt: "TEXT", "MARKDOWN", or "" when unspecified.
|
|
99
|
+
* Mirrors flyteidl2.workflow.ConditionPromptType with the enum prefix
|
|
100
|
+
* trimmed (the workflow package cannot be imported here without an import
|
|
101
|
+
* cycle through flyteidl2/task/run.proto).
|
|
102
|
+
*
|
|
103
|
+
* @generated from field: string prompt_type = 4;
|
|
104
|
+
*/
|
|
105
|
+
promptType: string;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Describes the message flyteidl2.notification.ActionPausedNotificationTemplateData.
|
|
110
|
+
* Use `create(ActionPausedNotificationTemplateDataSchema)` to create a new message.
|
|
111
|
+
*/
|
|
112
|
+
export const ActionPausedNotificationTemplateDataSchema: GenMessage<ActionPausedNotificationTemplateData> = /*@__PURE__*/
|
|
113
|
+
messageDesc(file_flyteidl2_notification_definition, 2);
|
|
114
|
+
|
|
69
115
|
/**
|
|
70
116
|
* @generated from message flyteidl2.notification.WebhookDeliveryTemplate
|
|
71
117
|
*/
|
|
@@ -98,7 +144,7 @@ export type WebhookDeliveryTemplate = Message<"flyteidl2.notification.WebhookDel
|
|
|
98
144
|
* Use `create(WebhookDeliveryTemplateSchema)` to create a new message.
|
|
99
145
|
*/
|
|
100
146
|
export const WebhookDeliveryTemplateSchema: GenMessage<WebhookDeliveryTemplate> = /*@__PURE__*/
|
|
101
|
-
messageDesc(file_flyteidl2_notification_definition,
|
|
147
|
+
messageDesc(file_flyteidl2_notification_definition, 3);
|
|
102
148
|
|
|
103
149
|
/**
|
|
104
150
|
* @generated from message flyteidl2.notification.EmailRecipient
|
|
@@ -120,7 +166,7 @@ export type EmailRecipient = Message<"flyteidl2.notification.EmailRecipient"> &
|
|
|
120
166
|
* Use `create(EmailRecipientSchema)` to create a new message.
|
|
121
167
|
*/
|
|
122
168
|
export const EmailRecipientSchema: GenMessage<EmailRecipient> = /*@__PURE__*/
|
|
123
|
-
messageDesc(file_flyteidl2_notification_definition,
|
|
169
|
+
messageDesc(file_flyteidl2_notification_definition, 4);
|
|
124
170
|
|
|
125
171
|
/**
|
|
126
172
|
* InlineEmailTemplate contains subject and body content rendered by the
|
|
@@ -156,7 +202,7 @@ export type InlineEmailTemplate = Message<"flyteidl2.notification.InlineEmailTem
|
|
|
156
202
|
* Use `create(InlineEmailTemplateSchema)` to create a new message.
|
|
157
203
|
*/
|
|
158
204
|
export const InlineEmailTemplateSchema: GenMessage<InlineEmailTemplate> = /*@__PURE__*/
|
|
159
|
-
messageDesc(file_flyteidl2_notification_definition,
|
|
205
|
+
messageDesc(file_flyteidl2_notification_definition, 5);
|
|
160
206
|
|
|
161
207
|
/**
|
|
162
208
|
* ProviderEmailTemplate references an externally managed email template owned
|
|
@@ -187,7 +233,7 @@ export type ProviderEmailTemplate = Message<"flyteidl2.notification.ProviderEmai
|
|
|
187
233
|
* Use `create(ProviderEmailTemplateSchema)` to create a new message.
|
|
188
234
|
*/
|
|
189
235
|
export const ProviderEmailTemplateSchema: GenMessage<ProviderEmailTemplate> = /*@__PURE__*/
|
|
190
|
-
messageDesc(file_flyteidl2_notification_definition,
|
|
236
|
+
messageDesc(file_flyteidl2_notification_definition, 6);
|
|
191
237
|
|
|
192
238
|
/**
|
|
193
239
|
* @generated from message flyteidl2.notification.EmailDeliveryTemplate
|
|
@@ -233,7 +279,7 @@ export type EmailDeliveryTemplate = Message<"flyteidl2.notification.EmailDeliver
|
|
|
233
279
|
* Use `create(EmailDeliveryTemplateSchema)` to create a new message.
|
|
234
280
|
*/
|
|
235
281
|
export const EmailDeliveryTemplateSchema: GenMessage<EmailDeliveryTemplate> = /*@__PURE__*/
|
|
236
|
-
messageDesc(file_flyteidl2_notification_definition,
|
|
282
|
+
messageDesc(file_flyteidl2_notification_definition, 7);
|
|
237
283
|
|
|
238
284
|
/**
|
|
239
285
|
* @generated from enum flyteidl2.notification.EventType
|
|
@@ -248,6 +294,11 @@ export enum EventType {
|
|
|
248
294
|
* @generated from enum value: EVENT_TYPE_RUN_COMPLETED = 1;
|
|
249
295
|
*/
|
|
250
296
|
RUN_COMPLETED = 1,
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* @generated from enum value: EVENT_TYPE_ACTION_PAUSED = 2;
|
|
300
|
+
*/
|
|
301
|
+
ACTION_PAUSED = 2,
|
|
251
302
|
}
|
|
252
303
|
|
|
253
304
|
/**
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/plugins/clustered.proto (package flyteidl2.plugins, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
+
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
+
import { file_google_protobuf_wrappers } from "@bufbuild/protobuf/wkt";
|
|
9
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Describes the file flyteidl2/plugins/clustered.proto.
|
|
13
|
+
*/
|
|
14
|
+
export const file_flyteidl2_plugins_clustered: GenFile = /*@__PURE__*/
|
|
15
|
+
fileDesc("CiFmbHl0ZWlkbDIvcGx1Z2lucy9jbHVzdGVyZWQucHJvdG8SEWZseXRlaWRsMi5wbHVnaW5zIrYC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VnaW5z4gIdRmx5dGVpZGwyXFBsdWdpbnNcR1BCTWV0YWRhdGHqAhJGbHl0ZWlkbDI6OlBsdWdpbnNiBnByb3RvMw", [file_buf_validate_validate, file_google_protobuf_wrappers]);
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Top-level spec for a clustered task execution. Packed into TaskTemplate.custom.
|
|
19
|
+
*
|
|
20
|
+
* @generated from message flyteidl2.plugins.ClusteredTaskSpec
|
|
21
|
+
*/
|
|
22
|
+
export type ClusteredTaskSpec = Message<"flyteidl2.plugins.ClusteredTaskSpec"> & {
|
|
23
|
+
/**
|
|
24
|
+
* Number of pods (== number of nodes). Required, must be >= 1.
|
|
25
|
+
*
|
|
26
|
+
* @generated from field: int32 replicas = 1;
|
|
27
|
+
*/
|
|
28
|
+
replicas: number;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Number of processes per node passed to torchrun as --nproc-per-node (typically one per GPU). Required, must be >= 1.
|
|
32
|
+
*
|
|
33
|
+
* @generated from field: int32 nproc_per_node = 2;
|
|
34
|
+
*/
|
|
35
|
+
nprocPerNode: number;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Selects the launcher and its per-launcher configuration.
|
|
39
|
+
*
|
|
40
|
+
* @generated from field: flyteidl2.plugins.Runtime runtime = 3;
|
|
41
|
+
*/
|
|
42
|
+
runtime?: Runtime;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Network fabric for collective communications (NCCL all-reduce etc). Defaults to TCP.
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: flyteidl2.plugins.Interconnect interconnect = 4;
|
|
48
|
+
*/
|
|
49
|
+
interconnect: Interconnect;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Controls restart behaviour on rank failure and host maintenance.
|
|
53
|
+
*
|
|
54
|
+
* @generated from field: flyteidl2.plugins.ClusterFailurePolicy failure_policy = 5;
|
|
55
|
+
*/
|
|
56
|
+
failurePolicy?: ClusterFailurePolicy;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* If set, the JobSet is deleted this many seconds after it finishes (success or failure).
|
|
60
|
+
*
|
|
61
|
+
* @generated from field: google.protobuf.UInt32Value ttl_seconds_after_finished = 6;
|
|
62
|
+
*/
|
|
63
|
+
ttlSecondsAfterFinished?: number;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Describes the message flyteidl2.plugins.ClusteredTaskSpec.
|
|
68
|
+
* Use `create(ClusteredTaskSpecSchema)` to create a new message.
|
|
69
|
+
*/
|
|
70
|
+
export const ClusteredTaskSpecSchema: GenMessage<ClusteredTaskSpec> = /*@__PURE__*/
|
|
71
|
+
messageDesc(file_flyteidl2_plugins_clustered, 0);
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Tagged union of supported launchers. Phase 1: TorchRun only.
|
|
75
|
+
* Future variants (DeepSpeed, Accelerate, JAX) add new oneof fields here;
|
|
76
|
+
* the JobSet shape and Go plugin are unchanged.
|
|
77
|
+
*
|
|
78
|
+
* @generated from message flyteidl2.plugins.Runtime
|
|
79
|
+
*/
|
|
80
|
+
export type Runtime = Message<"flyteidl2.plugins.Runtime"> & {
|
|
81
|
+
/**
|
|
82
|
+
* @generated from oneof flyteidl2.plugins.Runtime.kind
|
|
83
|
+
*/
|
|
84
|
+
kind: {
|
|
85
|
+
/**
|
|
86
|
+
* @generated from field: flyteidl2.plugins.TorchRuntime torchrun = 1;
|
|
87
|
+
*/
|
|
88
|
+
value: TorchRuntime;
|
|
89
|
+
case: "torchrun";
|
|
90
|
+
} | { case: undefined; value?: undefined };
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Describes the message flyteidl2.plugins.Runtime.
|
|
95
|
+
* Use `create(RuntimeSchema)` to create a new message.
|
|
96
|
+
*/
|
|
97
|
+
export const RuntimeSchema: GenMessage<Runtime> = /*@__PURE__*/
|
|
98
|
+
messageDesc(file_flyteidl2_plugins_clustered, 1);
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Configuration for the torchrun launcher.
|
|
102
|
+
*
|
|
103
|
+
* @generated from message flyteidl2.plugins.TorchRuntime
|
|
104
|
+
*/
|
|
105
|
+
export type TorchRuntime = Message<"flyteidl2.plugins.TorchRuntime"> & {
|
|
106
|
+
/**
|
|
107
|
+
* Rendezvous backend. Defaults to STATIC.
|
|
108
|
+
*
|
|
109
|
+
* @generated from field: flyteidl2.plugins.RdzvBackend rdzv_backend = 1;
|
|
110
|
+
*/
|
|
111
|
+
rdzvBackend: RdzvBackend;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Number of in-pod torchrun restarts before the pod is considered failed.
|
|
115
|
+
* Defaults to 0 — whole-cluster restart via JobSet failurePolicy is the
|
|
116
|
+
* recovery mechanism, so in-pod retries are disabled.
|
|
117
|
+
*
|
|
118
|
+
* @generated from field: int32 max_restarts = 2;
|
|
119
|
+
*/
|
|
120
|
+
maxRestarts: number;
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Describes the message flyteidl2.plugins.TorchRuntime.
|
|
125
|
+
* Use `create(TorchRuntimeSchema)` to create a new message.
|
|
126
|
+
*/
|
|
127
|
+
export const TorchRuntimeSchema: GenMessage<TorchRuntime> = /*@__PURE__*/
|
|
128
|
+
messageDesc(file_flyteidl2_plugins_clustered, 2);
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Controls how the JobSet responds to rank failures and host-maintenance evictions.
|
|
132
|
+
*
|
|
133
|
+
* @generated from message flyteidl2.plugins.ClusterFailurePolicy
|
|
134
|
+
*/
|
|
135
|
+
export type ClusterFailurePolicy = Message<"flyteidl2.plugins.ClusterFailurePolicy"> & {
|
|
136
|
+
/**
|
|
137
|
+
* Maximum number of whole-cluster restarts before the JobSet is marked failed.
|
|
138
|
+
* Each restart increments JOBSET_RESTART_ATTEMPT and rotates the torchrun RDZV_ID.
|
|
139
|
+
*
|
|
140
|
+
* @generated from field: int32 max_restarts = 1;
|
|
141
|
+
*/
|
|
142
|
+
maxRestarts: number;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* If true, pods evicted due to host maintenance (DisruptionTarget condition)
|
|
146
|
+
* trigger a free restart that does not count against max_restarts.
|
|
147
|
+
*
|
|
148
|
+
* @generated from field: bool restart_on_host_maintenance = 2;
|
|
149
|
+
*/
|
|
150
|
+
restartOnHostMaintenance: boolean;
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Describes the message flyteidl2.plugins.ClusterFailurePolicy.
|
|
155
|
+
* Use `create(ClusterFailurePolicySchema)` to create a new message.
|
|
156
|
+
*/
|
|
157
|
+
export const ClusterFailurePolicySchema: GenMessage<ClusterFailurePolicy> = /*@__PURE__*/
|
|
158
|
+
messageDesc(file_flyteidl2_plugins_clustered, 3);
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Rendezvous backend for torchrun.
|
|
162
|
+
*
|
|
163
|
+
* @generated from enum flyteidl2.plugins.RdzvBackend
|
|
164
|
+
*/
|
|
165
|
+
export enum RdzvBackend {
|
|
166
|
+
/**
|
|
167
|
+
* Static rendezvous: full membership declared upfront via --nnodes and
|
|
168
|
+
* --master-addr. Simple and deterministic. Recovery is whole-job restart
|
|
169
|
+
* (JobSet failurePolicy), not in-job re-rendezvous.
|
|
170
|
+
*
|
|
171
|
+
* @generated from enum value: STATIC = 0;
|
|
172
|
+
*/
|
|
173
|
+
STATIC = 0,
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* TCPStore-based dynamic rendezvous. Enables elastic membership
|
|
177
|
+
* (--nnodes=MIN:MAX) and in-job re-rendezvous on partial failure.
|
|
178
|
+
*
|
|
179
|
+
* @generated from enum value: C10D = 1;
|
|
180
|
+
*/
|
|
181
|
+
C10D = 1,
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Describes the enum flyteidl2.plugins.RdzvBackend.
|
|
186
|
+
*/
|
|
187
|
+
export const RdzvBackendSchema: GenEnum<RdzvBackend> = /*@__PURE__*/
|
|
188
|
+
enumDesc(file_flyteidl2_plugins_clustered, 0);
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Network fabric for gradient all-reduce and other collective ops.
|
|
192
|
+
* Non-TCP values cause the plugin to inject RDMA device resources,
|
|
193
|
+
* capabilities, and NCCL env vars into the pod spec.
|
|
194
|
+
*
|
|
195
|
+
* @generated from enum flyteidl2.plugins.Interconnect
|
|
196
|
+
*/
|
|
197
|
+
export enum Interconnect {
|
|
198
|
+
/**
|
|
199
|
+
* Plain TCP over the pod CNI network. Works on any cluster. Default.
|
|
200
|
+
*
|
|
201
|
+
* @generated from enum value: TCP = 0;
|
|
202
|
+
*/
|
|
203
|
+
TCP = 0,
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* AWS Elastic Fabric Adapter (EC2 p4d / p5 / trn1). ~100-400 Gbps GPUDirect RDMA.
|
|
207
|
+
*
|
|
208
|
+
* @generated from enum value: EFA = 1;
|
|
209
|
+
*/
|
|
210
|
+
EFA = 1,
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Mellanox / NVIDIA InfiniBand HCA (CoreWeave, Lambda, on-prem H100 clusters).
|
|
214
|
+
*
|
|
215
|
+
* @generated from enum value: INFINIBAND = 2;
|
|
216
|
+
*/
|
|
217
|
+
INFINIBAND = 2,
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* RDMA over Converged Ethernet (Azure ND-series, Oracle Cloud, on-prem Ethernet RDMA).
|
|
221
|
+
*
|
|
222
|
+
* @generated from enum value: ROCE = 3;
|
|
223
|
+
*/
|
|
224
|
+
ROCE = 3,
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Describes the enum flyteidl2.plugins.Interconnect.
|
|
229
|
+
*/
|
|
230
|
+
export const InterconnectSchema: GenEnum<Interconnect> = /*@__PURE__*/
|
|
231
|
+
enumDesc(file_flyteidl2_plugins_clustered, 1);
|
|
232
|
+
|
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
// @generated from file flyteidl2/plugins/ray.proto (package flyteidl2.plugins, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
-
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
-
import type {
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
+
import type { KeyValuePair } from "../core/literals_pb.ts";
|
|
8
|
+
import { file_flyteidl2_core_literals } from "../core/literals_pb.ts";
|
|
9
|
+
import type { ExtendedResources, K8sPod, Resources } from "../core/tasks_pb.ts";
|
|
8
10
|
import { file_flyteidl2_core_tasks } from "../core/tasks_pb.ts";
|
|
9
11
|
import type { Message } from "@bufbuild/protobuf";
|
|
10
12
|
|
|
@@ -12,7 +14,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
12
14
|
* Describes the file flyteidl2/plugins/ray.proto.
|
|
13
15
|
*/
|
|
14
16
|
export const file_flyteidl2_plugins_ray: GenFile = /*@__PURE__*/
|
|
15
|
-
fileDesc("
|
|
17
|
+
fileDesc("ChtmbHl0ZWlkbDIvcGx1Z2lucy9yYXkucHJvdG8SEWZseXRlaWRsMi5wbHVnaW5zIrgBCgZSYXlKb2ISMgoLcmF5X2NsdXN0ZXIYASABKAsyHS5mbHl0ZWlkbDIucGx1Z2lucy5SYXlDbHVzdGVyEhcKC3J1bnRpbWVfZW52GAIgASgJQgIYARIjChtzaHV0ZG93bl9hZnRlcl9qb2JfZmluaXNoZXMYAyABKAgSIgoadHRsX3NlY29uZHNfYWZ0ZXJfZmluaXNoZWQYBCABKAUSGAoQcnVudGltZV9lbnZfeW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HRlbmRlZFJlc291cmNlcxo1ChNSYXlTdGFydFBhcmFtc0VudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToCOAEi1AIKD1dvcmtlckdyb3VwU3BlYxISCgpncm91cF9uYW1lGAEgASgJEhAKCHJlcGxpY2FzGAIgASgFEhQKDG1pbl9yZXBsaWNhcxgDIAEoBRIUCgxtYXhfcmVwbGljYXMYBCABKAUSUAoQcmF5X3N0YXJ0X3BhcmFtcxgFIAMoCzI2LmZseXRlaWRsMi5wbHVnaW5zLldvcmtlckdyb3VwU3BlYy5SYXlTdGFydFBhcmFtc0VudHJ5EicKB2s4c19wb2QYBiABKAsyFi5mbHl0ZWlkbDIuY29yZS5LOHNQb2QSPQoSZXh0ZW5kZWRfcmVzb3VyY2VzGAcgASgLMiEuZmx5dGVpZGwyLmNvcmUuRXh0ZW5kZWRSZXNvdXJjZXMaNQoTUmF5U3RhcnRQYXJhbXNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBQr8BChVjb20uZmx5dGVpZGwyLnBsdWdpbnNCCFJheVByb3RvSAJQAVo1Z2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL3BsdWdpbnOiAgNGUFiqAhFGbHl0ZWlkbDIuUGx1Z2luc8oCEUZseXRlaWRsMlxQbHVnaW5z4gIdRmx5dGVpZGwyXFBsdWdpbnNcR1BCTWV0YWRhdGHqAhJGbHl0ZWlkbDI6OlBsdWdpbnNiBnByb3RvMw", [file_flyteidl2_core_literals, file_flyteidl2_core_tasks]);
|
|
16
18
|
|
|
17
19
|
/**
|
|
18
20
|
* RayJobSpec defines the desired state of RayJob
|
|
@@ -66,6 +68,80 @@ export type RayJob = Message<"flyteidl2.plugins.RayJob"> & {
|
|
|
66
68
|
export const RayJobSchema: GenMessage<RayJob> = /*@__PURE__*/
|
|
67
69
|
messageDesc(file_flyteidl2_plugins_ray, 0);
|
|
68
70
|
|
|
71
|
+
/**
|
|
72
|
+
* @generated from message flyteidl2.plugins.AutoscalerOptions
|
|
73
|
+
*/
|
|
74
|
+
export type AutoscalerOptions = Message<"flyteidl2.plugins.AutoscalerOptions"> & {
|
|
75
|
+
/**
|
|
76
|
+
* @generated from field: flyteidl2.plugins.AutoscalerOptions.UpscalingMode upscaling_mode = 1;
|
|
77
|
+
*/
|
|
78
|
+
upscalingMode: AutoscalerOptions_UpscalingMode;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @generated from field: int32 idle_timeout_seconds = 2;
|
|
82
|
+
*/
|
|
83
|
+
idleTimeoutSeconds: number;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* autoscaler sidecar env vars
|
|
87
|
+
*
|
|
88
|
+
* @generated from field: repeated flyteidl2.core.KeyValuePair env = 3;
|
|
89
|
+
*/
|
|
90
|
+
env: KeyValuePair[];
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* custom autoscaler image
|
|
94
|
+
*
|
|
95
|
+
* @generated from field: string image = 4;
|
|
96
|
+
*/
|
|
97
|
+
image: string;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* autoscaler container resources
|
|
101
|
+
*
|
|
102
|
+
* @generated from field: flyteidl2.core.Resources resources = 5;
|
|
103
|
+
*/
|
|
104
|
+
resources?: Resources;
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Describes the message flyteidl2.plugins.AutoscalerOptions.
|
|
109
|
+
* Use `create(AutoscalerOptionsSchema)` to create a new message.
|
|
110
|
+
*/
|
|
111
|
+
export const AutoscalerOptionsSchema: GenMessage<AutoscalerOptions> = /*@__PURE__*/
|
|
112
|
+
messageDesc(file_flyteidl2_plugins_ray, 1);
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @generated from enum flyteidl2.plugins.AutoscalerOptions.UpscalingMode
|
|
116
|
+
*/
|
|
117
|
+
export enum AutoscalerOptions_UpscalingMode {
|
|
118
|
+
/**
|
|
119
|
+
* @generated from enum value: UPSCALING_MODE_UNSPECIFIED = 0;
|
|
120
|
+
*/
|
|
121
|
+
UNSPECIFIED = 0,
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* @generated from enum value: UPSCALING_MODE_DEFAULT = 1;
|
|
125
|
+
*/
|
|
126
|
+
DEFAULT = 1,
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* @generated from enum value: UPSCALING_MODE_AGGRESSIVE = 2;
|
|
130
|
+
*/
|
|
131
|
+
AGGRESSIVE = 2,
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @generated from enum value: UPSCALING_MODE_CONSERVATIVE = 3;
|
|
135
|
+
*/
|
|
136
|
+
CONSERVATIVE = 3,
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Describes the enum flyteidl2.plugins.AutoscalerOptions.UpscalingMode.
|
|
141
|
+
*/
|
|
142
|
+
export const AutoscalerOptions_UpscalingModeSchema: GenEnum<AutoscalerOptions_UpscalingMode> = /*@__PURE__*/
|
|
143
|
+
enumDesc(file_flyteidl2_plugins_ray, 1, 0);
|
|
144
|
+
|
|
69
145
|
/**
|
|
70
146
|
* Define Ray cluster defines the desired state of RayCluster
|
|
71
147
|
*
|
|
@@ -92,6 +168,11 @@ export type RayCluster = Message<"flyteidl2.plugins.RayCluster"> & {
|
|
|
92
168
|
* @generated from field: bool enable_autoscaling = 3;
|
|
93
169
|
*/
|
|
94
170
|
enableAutoscaling: boolean;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* @generated from field: flyteidl2.plugins.AutoscalerOptions autoscaler_options = 4;
|
|
174
|
+
*/
|
|
175
|
+
autoscalerOptions?: AutoscalerOptions;
|
|
95
176
|
};
|
|
96
177
|
|
|
97
178
|
/**
|
|
@@ -99,7 +180,7 @@ export type RayCluster = Message<"flyteidl2.plugins.RayCluster"> & {
|
|
|
99
180
|
* Use `create(RayClusterSchema)` to create a new message.
|
|
100
181
|
*/
|
|
101
182
|
export const RayClusterSchema: GenMessage<RayCluster> = /*@__PURE__*/
|
|
102
|
-
messageDesc(file_flyteidl2_plugins_ray,
|
|
183
|
+
messageDesc(file_flyteidl2_plugins_ray, 2);
|
|
103
184
|
|
|
104
185
|
/**
|
|
105
186
|
* HeadGroupSpec are the spec for the head pod
|
|
@@ -121,6 +202,14 @@ export type HeadGroupSpec = Message<"flyteidl2.plugins.HeadGroupSpec"> & {
|
|
|
121
202
|
* @generated from field: flyteidl2.core.K8sPod k8s_pod = 2;
|
|
122
203
|
*/
|
|
123
204
|
k8sPod?: K8sPod;
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Encapsulates all non-standard resources, not captured by
|
|
208
|
+
* v1.ResourceRequirements, to allocate to a task.
|
|
209
|
+
*
|
|
210
|
+
* @generated from field: flyteidl2.core.ExtendedResources extended_resources = 3;
|
|
211
|
+
*/
|
|
212
|
+
extendedResources?: ExtendedResources;
|
|
124
213
|
};
|
|
125
214
|
|
|
126
215
|
/**
|
|
@@ -128,7 +217,7 @@ export type HeadGroupSpec = Message<"flyteidl2.plugins.HeadGroupSpec"> & {
|
|
|
128
217
|
* Use `create(HeadGroupSpecSchema)` to create a new message.
|
|
129
218
|
*/
|
|
130
219
|
export const HeadGroupSpecSchema: GenMessage<HeadGroupSpec> = /*@__PURE__*/
|
|
131
|
-
messageDesc(file_flyteidl2_plugins_ray,
|
|
220
|
+
messageDesc(file_flyteidl2_plugins_ray, 3);
|
|
132
221
|
|
|
133
222
|
/**
|
|
134
223
|
* WorkerGroupSpec are the specs for the worker pods
|
|
@@ -178,6 +267,14 @@ export type WorkerGroupSpec = Message<"flyteidl2.plugins.WorkerGroupSpec"> & {
|
|
|
178
267
|
* @generated from field: flyteidl2.core.K8sPod k8s_pod = 6;
|
|
179
268
|
*/
|
|
180
269
|
k8sPod?: K8sPod;
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* Encapsulates all non-standard resources, not captured by
|
|
273
|
+
* v1.ResourceRequirements, to allocate to a task.
|
|
274
|
+
*
|
|
275
|
+
* @generated from field: flyteidl2.core.ExtendedResources extended_resources = 7;
|
|
276
|
+
*/
|
|
277
|
+
extendedResources?: ExtendedResources;
|
|
181
278
|
};
|
|
182
279
|
|
|
183
280
|
/**
|
|
@@ -185,5 +282,5 @@ export type WorkerGroupSpec = Message<"flyteidl2.plugins.WorkerGroupSpec"> & {
|
|
|
185
282
|
* Use `create(WorkerGroupSpecSchema)` to create a new message.
|
|
186
283
|
*/
|
|
187
284
|
export const WorkerGroupSpecSchema: GenMessage<WorkerGroupSpec> = /*@__PURE__*/
|
|
188
|
-
messageDesc(file_flyteidl2_plugins_ray,
|
|
285
|
+
messageDesc(file_flyteidl2_plugins_ray, 4);
|
|
189
286
|
|