@flyteorg/flyteidl2 2.0.0-alpha9 → 2.0.0

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.
Files changed (50) hide show
  1. package/buf/validate/validate_pb.ts +4754 -0
  2. package/flyteidl2/app/app_definition_pb.ts +1112 -0
  3. package/flyteidl2/app/app_logs_payload_pb.ts +161 -0
  4. package/flyteidl2/app/app_logs_service_pb.ts +30 -0
  5. package/flyteidl2/app/app_payload_pb.ts +530 -0
  6. package/flyteidl2/app/app_service_pb.ts +104 -0
  7. package/flyteidl2/app/replica_definition_pb.ts +140 -0
  8. package/flyteidl2/cacheservice/cacheservice_pb.ts +506 -0
  9. package/flyteidl2/cacheservice/v2/cacheservice_pb.ts +249 -0
  10. package/flyteidl2/common/configuration_pb.ts +68 -0
  11. package/flyteidl2/common/phase_pb.ts +92 -0
  12. package/flyteidl2/connector/connector_pb.ts +722 -0
  13. package/flyteidl2/connector/service_pb.ts +109 -0
  14. package/flyteidl2/core/errors_pb.ts +104 -0
  15. package/flyteidl2/core/execution_pb.ts +6 -1
  16. package/flyteidl2/core/metrics_pb.ts +47 -0
  17. package/flyteidl2/core/security_pb.ts +42 -6
  18. package/flyteidl2/core/tasks_pb.ts +17 -1
  19. package/flyteidl2/datacatalog/datacatalog_pb.ts +1299 -0
  20. package/flyteidl2/event/cloudevents_pb.ts +217 -0
  21. package/flyteidl2/event/event_pb.ts +818 -0
  22. package/flyteidl2/imagebuilder/definition_pb.ts +45 -3
  23. package/flyteidl2/imagebuilder/payload_pb.ts +15 -2
  24. package/flyteidl2/plugins/common_pb.ts +82 -0
  25. package/flyteidl2/plugins/dask_pb.ts +109 -0
  26. package/flyteidl2/plugins/kubeflow/common_pb.ts +81 -0
  27. package/flyteidl2/plugins/kubeflow/mpi_pb.ts +125 -0
  28. package/flyteidl2/plugins/kubeflow/pytorch_pb.ts +156 -0
  29. package/flyteidl2/plugins/kubeflow/tensorflow_pb.ts +123 -0
  30. package/flyteidl2/plugins/mpi_pb.ts +52 -0
  31. package/flyteidl2/plugins/presto_pb.ts +49 -0
  32. package/flyteidl2/plugins/pytorch_pb.ts +82 -0
  33. package/flyteidl2/plugins/qubole_pb.ts +98 -0
  34. package/flyteidl2/plugins/ray_pb.ts +189 -0
  35. package/flyteidl2/plugins/spark_pb.ts +145 -0
  36. package/flyteidl2/plugins/tensorflow_pb.ts +57 -0
  37. package/flyteidl2/task/common_pb.ts +71 -41
  38. package/flyteidl2/task/environment_pb.ts +8 -1
  39. package/flyteidl2/task/run_pb.ts +116 -5
  40. package/flyteidl2/task/task_definition_pb.ts +184 -12
  41. package/flyteidl2/task/task_service_pb.ts +127 -2
  42. package/flyteidl2/trigger/trigger_definition_pb.ts +22 -1
  43. package/flyteidl2/trigger/trigger_service_pb.ts +1 -1
  44. package/flyteidl2/workflow/run_definition_pb.ts +117 -41
  45. package/flyteidl2/workflow/run_service_pb.ts +140 -4
  46. package/flyteidl2/workflow/state_service_pb.ts +7 -7
  47. package/google/api/annotations_pb.ts +39 -0
  48. package/google/api/http_pb.ts +478 -0
  49. package/google/rpc/status_pb.ts +74 -0
  50. package/package.json +11 -3
@@ -0,0 +1,156 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
2
+ // @generated from file flyteidl2/plugins/kubeflow/pytorch.proto (package flyteidl2.plugins.kubeflow, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import type { Resources } from "../../core/tasks_pb.ts";
8
+ import { file_flyteidl2_core_tasks } from "../../core/tasks_pb.ts";
9
+ import type { CommonReplicaSpec, RestartPolicy } from "../common_pb.ts";
10
+ import { file_flyteidl2_plugins_common } from "../common_pb.ts";
11
+ import type { RunPolicy } from "./common_pb.ts";
12
+ import { file_flyteidl2_plugins_kubeflow_common } from "./common_pb.ts";
13
+ import type { Message } from "@bufbuild/protobuf";
14
+
15
+ /**
16
+ * Describes the file flyteidl2/plugins/kubeflow/pytorch.proto.
17
+ */
18
+ export const file_flyteidl2_plugins_kubeflow_pytorch: GenFile = /*@__PURE__*/
19
+ fileDesc("CihmbHl0ZWlkbDIvcGx1Z2lucy9rdWJlZmxvdy9weXRvcmNoLnByb3RvEhpmbHl0ZWlkbDIucGx1Z2lucy5rdWJlZmxvdyJ/Cg1FbGFzdGljQ29uZmlnEhQKDHJkenZfYmFja2VuZBgBIAEoCRIUCgxtaW5fcmVwbGljYXMYAiABKAUSFAoMbWF4X3JlcGxpY2FzGAMgASgFEhYKDm5wcm9jX3Blcl9ub2RlGAQgASgFEhQKDG1heF9yZXN0YXJ0cxgFIAEoBSLWAgoeRGlzdHJpYnV0ZWRQeVRvcmNoVHJhaW5pbmdUYXNrEloKD3dvcmtlcl9yZXBsaWNhcxgBIAEoCzJBLmZseXRlaWRsMi5wbHVnaW5zLmt1YmVmbG93LkRpc3RyaWJ1dGVkUHlUb3JjaFRyYWluaW5nUmVwbGljYVNwZWMSWgoPbWFzdGVyX3JlcGxpY2FzGAIgASgLMkEuZmx5dGVpZGwyLnBsdWdpbnMua3ViZWZsb3cuRGlzdHJpYnV0ZWRQeVRvcmNoVHJhaW5pbmdSZXBsaWNhU3BlYxI5CgpydW5fcG9saWN5GAMgASgLMiUuZmx5dGVpZGwyLnBsdWdpbnMua3ViZWZsb3cuUnVuUG9saWN5EkEKDmVsYXN0aWNfY29uZmlnGAQgASgLMikuZmx5dGVpZGwyLnBsdWdpbnMua3ViZWZsb3cuRWxhc3RpY0NvbmZpZyL2AQolRGlzdHJpYnV0ZWRQeVRvcmNoVHJhaW5pbmdSZXBsaWNhU3BlYxIUCghyZXBsaWNhcxgBIAEoBUICGAESEQoFaW1hZ2UYAiABKAlCAhgBEjAKCXJlc291cmNlcxgDIAEoCzIZLmZseXRlaWRsMi5jb3JlLlJlc291cmNlc0ICGAESPAoOcmVzdGFydF9wb2xpY3kYBCABKA4yIC5mbHl0ZWlkbDIucGx1Z2lucy5SZXN0YXJ0UG9saWN5QgIYARI0CgZjb21tb24YBSABKAsyJC5mbHl0ZWlkbDIucGx1Z2lucy5Db21tb25SZXBsaWNhU3BlY0L6AQoeY29tLmZseXRlaWRsMi5wbHVnaW5zLmt1YmVmbG93QgxQeXRvcmNoUHJvdG9IAlABWj5naXRodWIuY29tL2ZseXRlb3JnL2ZseXRlL3YyL2dlbi9nby9mbHl0ZWlkbDIvcGx1Z2lucy9rdWJlZmxvd6ICA0ZQS6oCGkZseXRlaWRsMi5QbHVnaW5zLkt1YmVmbG93ygIaRmx5dGVpZGwyXFBsdWdpbnNcS3ViZWZsb3fiAiZGbHl0ZWlkbDJcUGx1Z2luc1xLdWJlZmxvd1xHUEJNZXRhZGF0YeoCHEZseXRlaWRsMjo6UGx1Z2luczo6S3ViZWZsb3diBnByb3RvMw", [file_flyteidl2_core_tasks, file_flyteidl2_plugins_common, file_flyteidl2_plugins_kubeflow_common]);
20
+
21
+ /**
22
+ * Custom proto for torch elastic config for distributed training using
23
+ * https://github.com/kubeflow/training-operator/blob/master/pkg/apis/kubeflow.org/v1/pytorch_types.go
24
+ *
25
+ * @generated from message flyteidl2.plugins.kubeflow.ElasticConfig
26
+ */
27
+ export type ElasticConfig = Message<"flyteidl2.plugins.kubeflow.ElasticConfig"> & {
28
+ /**
29
+ * @generated from field: string rdzv_backend = 1;
30
+ */
31
+ rdzvBackend: string;
32
+
33
+ /**
34
+ * @generated from field: int32 min_replicas = 2;
35
+ */
36
+ minReplicas: number;
37
+
38
+ /**
39
+ * @generated from field: int32 max_replicas = 3;
40
+ */
41
+ maxReplicas: number;
42
+
43
+ /**
44
+ * @generated from field: int32 nproc_per_node = 4;
45
+ */
46
+ nprocPerNode: number;
47
+
48
+ /**
49
+ * @generated from field: int32 max_restarts = 5;
50
+ */
51
+ maxRestarts: number;
52
+ };
53
+
54
+ /**
55
+ * Describes the message flyteidl2.plugins.kubeflow.ElasticConfig.
56
+ * Use `create(ElasticConfigSchema)` to create a new message.
57
+ */
58
+ export const ElasticConfigSchema: GenMessage<ElasticConfig> = /*@__PURE__*/
59
+ messageDesc(file_flyteidl2_plugins_kubeflow_pytorch, 0);
60
+
61
+ /**
62
+ * Proto for plugin that enables distributed training using https://github.com/kubeflow/pytorch-operator
63
+ *
64
+ * @generated from message flyteidl2.plugins.kubeflow.DistributedPyTorchTrainingTask
65
+ */
66
+ export type DistributedPyTorchTrainingTask = Message<"flyteidl2.plugins.kubeflow.DistributedPyTorchTrainingTask"> & {
67
+ /**
68
+ * Worker replicas spec
69
+ *
70
+ * @generated from field: flyteidl2.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec worker_replicas = 1;
71
+ */
72
+ workerReplicas?: DistributedPyTorchTrainingReplicaSpec;
73
+
74
+ /**
75
+ * Master replicas spec, master replicas can only have 1 replica
76
+ *
77
+ * @generated from field: flyteidl2.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec master_replicas = 2;
78
+ */
79
+ masterReplicas?: DistributedPyTorchTrainingReplicaSpec;
80
+
81
+ /**
82
+ * RunPolicy encapsulates various runtime policies of the distributed training
83
+ * job, for example how to clean up resources and how long the job can stay
84
+ * active.
85
+ *
86
+ * @generated from field: flyteidl2.plugins.kubeflow.RunPolicy run_policy = 3;
87
+ */
88
+ runPolicy?: RunPolicy;
89
+
90
+ /**
91
+ * config for an elastic pytorch job
92
+ *
93
+ * @generated from field: flyteidl2.plugins.kubeflow.ElasticConfig elastic_config = 4;
94
+ */
95
+ elasticConfig?: ElasticConfig;
96
+ };
97
+
98
+ /**
99
+ * Describes the message flyteidl2.plugins.kubeflow.DistributedPyTorchTrainingTask.
100
+ * Use `create(DistributedPyTorchTrainingTaskSchema)` to create a new message.
101
+ */
102
+ export const DistributedPyTorchTrainingTaskSchema: GenMessage<DistributedPyTorchTrainingTask> = /*@__PURE__*/
103
+ messageDesc(file_flyteidl2_plugins_kubeflow_pytorch, 1);
104
+
105
+ /**
106
+ * @generated from message flyteidl2.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec
107
+ */
108
+ export type DistributedPyTorchTrainingReplicaSpec = Message<"flyteidl2.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec"> & {
109
+ /**
110
+ * 1~4 deprecated. Use common instead.
111
+ * Number of replicas
112
+ *
113
+ * @generated from field: int32 replicas = 1 [deprecated = true];
114
+ * @deprecated
115
+ */
116
+ replicas: number;
117
+
118
+ /**
119
+ * Image used for the replica group
120
+ *
121
+ * @generated from field: string image = 2 [deprecated = true];
122
+ * @deprecated
123
+ */
124
+ image: string;
125
+
126
+ /**
127
+ * Resources required for the replica group
128
+ *
129
+ * @generated from field: flyteidl2.core.Resources resources = 3 [deprecated = true];
130
+ * @deprecated
131
+ */
132
+ resources?: Resources;
133
+
134
+ /**
135
+ * Restart policy determines whether pods will be restarted when they exit
136
+ *
137
+ * @generated from field: flyteidl2.plugins.RestartPolicy restart_policy = 4 [deprecated = true];
138
+ * @deprecated
139
+ */
140
+ restartPolicy: RestartPolicy;
141
+
142
+ /**
143
+ * The common replica spec
144
+ *
145
+ * @generated from field: flyteidl2.plugins.CommonReplicaSpec common = 5;
146
+ */
147
+ common?: CommonReplicaSpec;
148
+ };
149
+
150
+ /**
151
+ * Describes the message flyteidl2.plugins.kubeflow.DistributedPyTorchTrainingReplicaSpec.
152
+ * Use `create(DistributedPyTorchTrainingReplicaSpecSchema)` to create a new message.
153
+ */
154
+ export const DistributedPyTorchTrainingReplicaSpecSchema: GenMessage<DistributedPyTorchTrainingReplicaSpec> = /*@__PURE__*/
155
+ messageDesc(file_flyteidl2_plugins_kubeflow_pytorch, 2);
156
+
@@ -0,0 +1,123 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
2
+ // @generated from file flyteidl2/plugins/kubeflow/tensorflow.proto (package flyteidl2.plugins.kubeflow, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import type { Resources } from "../../core/tasks_pb.ts";
8
+ import { file_flyteidl2_core_tasks } from "../../core/tasks_pb.ts";
9
+ import type { CommonReplicaSpec, RestartPolicy } from "../common_pb.ts";
10
+ import { file_flyteidl2_plugins_common } from "../common_pb.ts";
11
+ import type { RunPolicy } from "./common_pb.ts";
12
+ import { file_flyteidl2_plugins_kubeflow_common } from "./common_pb.ts";
13
+ import type { Message } from "@bufbuild/protobuf";
14
+
15
+ /**
16
+ * Describes the file flyteidl2/plugins/kubeflow/tensorflow.proto.
17
+ */
18
+ export const file_flyteidl2_plugins_kubeflow_tensorflow: GenFile = /*@__PURE__*/
19
+ fileDesc("CitmbHl0ZWlkbDIvcGx1Z2lucy9rdWJlZmxvdy90ZW5zb3JmbG93LnByb3RvEhpmbHl0ZWlkbDIucGx1Z2lucy5rdWJlZmxvdyLYAwohRGlzdHJpYnV0ZWRUZW5zb3JmbG93VHJhaW5pbmdUYXNrEl0KD3dvcmtlcl9yZXBsaWNhcxgBIAEoCzJELmZseXRlaWRsMi5wbHVnaW5zLmt1YmVmbG93LkRpc3RyaWJ1dGVkVGVuc29yZmxvd1RyYWluaW5nUmVwbGljYVNwZWMSWQoLcHNfcmVwbGljYXMYAiABKAsyRC5mbHl0ZWlkbDIucGx1Z2lucy5rdWJlZmxvdy5EaXN0cmlidXRlZFRlbnNvcmZsb3dUcmFpbmluZ1JlcGxpY2FTcGVjElwKDmNoaWVmX3JlcGxpY2FzGAMgASgLMkQuZmx5dGVpZGwyLnBsdWdpbnMua3ViZWZsb3cuRGlzdHJpYnV0ZWRUZW5zb3JmbG93VHJhaW5pbmdSZXBsaWNhU3BlYxI5CgpydW5fcG9saWN5GAQgASgLMiUuZmx5dGVpZGwyLnBsdWdpbnMua3ViZWZsb3cuUnVuUG9saWN5EmAKEmV2YWx1YXRvcl9yZXBsaWNhcxgFIAEoCzJELmZseXRlaWRsMi5wbHVnaW5zLmt1YmVmbG93LkRpc3RyaWJ1dGVkVGVuc29yZmxvd1RyYWluaW5nUmVwbGljYVNwZWMi+QEKKERpc3RyaWJ1dGVkVGVuc29yZmxvd1RyYWluaW5nUmVwbGljYVNwZWMSFAoIcmVwbGljYXMYASABKAVCAhgBEhEKBWltYWdlGAIgASgJQgIYARIwCglyZXNvdXJjZXMYAyABKAsyGS5mbHl0ZWlkbDIuY29yZS5SZXNvdXJjZXNCAhgBEjwKDnJlc3RhcnRfcG9saWN5GAQgASgOMiAuZmx5dGVpZGwyLnBsdWdpbnMuUmVzdGFydFBvbGljeUICGAESNAoGY29tbW9uGAUgASgLMiQuZmx5dGVpZGwyLnBsdWdpbnMuQ29tbW9uUmVwbGljYVNwZWNC/QEKHmNvbS5mbHl0ZWlkbDIucGx1Z2lucy5rdWJlZmxvd0IPVGVuc29yZmxvd1Byb3RvSAJQAVo+Z2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL3BsdWdpbnMva3ViZWZsb3eiAgNGUEuqAhpGbHl0ZWlkbDIuUGx1Z2lucy5LdWJlZmxvd8oCGkZseXRlaWRsMlxQbHVnaW5zXEt1YmVmbG934gImRmx5dGVpZGwyXFBsdWdpbnNcS3ViZWZsb3dcR1BCTWV0YWRhdGHqAhxGbHl0ZWlkbDI6OlBsdWdpbnM6Okt1YmVmbG93YgZwcm90bzM", [file_flyteidl2_core_tasks, file_flyteidl2_plugins_common, file_flyteidl2_plugins_kubeflow_common]);
20
+
21
+ /**
22
+ * Proto for plugin that enables distributed training using https://github.com/kubeflow/tf-operator
23
+ *
24
+ * @generated from message flyteidl2.plugins.kubeflow.DistributedTensorflowTrainingTask
25
+ */
26
+ export type DistributedTensorflowTrainingTask = Message<"flyteidl2.plugins.kubeflow.DistributedTensorflowTrainingTask"> & {
27
+ /**
28
+ * Worker replicas spec
29
+ *
30
+ * @generated from field: flyteidl2.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec worker_replicas = 1;
31
+ */
32
+ workerReplicas?: DistributedTensorflowTrainingReplicaSpec;
33
+
34
+ /**
35
+ * Parameter server replicas spec
36
+ *
37
+ * @generated from field: flyteidl2.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec ps_replicas = 2;
38
+ */
39
+ psReplicas?: DistributedTensorflowTrainingReplicaSpec;
40
+
41
+ /**
42
+ * Chief replicas spec
43
+ *
44
+ * @generated from field: flyteidl2.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec chief_replicas = 3;
45
+ */
46
+ chiefReplicas?: DistributedTensorflowTrainingReplicaSpec;
47
+
48
+ /**
49
+ * RunPolicy encapsulates various runtime policies of the distributed training
50
+ * job, for example how to clean up resources and how long the job can stay
51
+ * active.
52
+ *
53
+ * @generated from field: flyteidl2.plugins.kubeflow.RunPolicy run_policy = 4;
54
+ */
55
+ runPolicy?: RunPolicy;
56
+
57
+ /**
58
+ * Evaluator replicas spec
59
+ *
60
+ * @generated from field: flyteidl2.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec evaluator_replicas = 5;
61
+ */
62
+ evaluatorReplicas?: DistributedTensorflowTrainingReplicaSpec;
63
+ };
64
+
65
+ /**
66
+ * Describes the message flyteidl2.plugins.kubeflow.DistributedTensorflowTrainingTask.
67
+ * Use `create(DistributedTensorflowTrainingTaskSchema)` to create a new message.
68
+ */
69
+ export const DistributedTensorflowTrainingTaskSchema: GenMessage<DistributedTensorflowTrainingTask> = /*@__PURE__*/
70
+ messageDesc(file_flyteidl2_plugins_kubeflow_tensorflow, 0);
71
+
72
+ /**
73
+ * @generated from message flyteidl2.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec
74
+ */
75
+ export type DistributedTensorflowTrainingReplicaSpec = Message<"flyteidl2.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec"> & {
76
+ /**
77
+ * 1~4 deprecated. Use common instead.
78
+ * Number of replicas
79
+ *
80
+ * @generated from field: int32 replicas = 1 [deprecated = true];
81
+ * @deprecated
82
+ */
83
+ replicas: number;
84
+
85
+ /**
86
+ * Image used for the replica group
87
+ *
88
+ * @generated from field: string image = 2 [deprecated = true];
89
+ * @deprecated
90
+ */
91
+ image: string;
92
+
93
+ /**
94
+ * Resources required for the replica group
95
+ *
96
+ * @generated from field: flyteidl2.core.Resources resources = 3 [deprecated = true];
97
+ * @deprecated
98
+ */
99
+ resources?: Resources;
100
+
101
+ /**
102
+ * Restart policy determines whether pods will be restarted when they exit
103
+ *
104
+ * @generated from field: flyteidl2.plugins.RestartPolicy restart_policy = 4 [deprecated = true];
105
+ * @deprecated
106
+ */
107
+ restartPolicy: RestartPolicy;
108
+
109
+ /**
110
+ * The common replica spec
111
+ *
112
+ * @generated from field: flyteidl2.plugins.CommonReplicaSpec common = 5;
113
+ */
114
+ common?: CommonReplicaSpec;
115
+ };
116
+
117
+ /**
118
+ * Describes the message flyteidl2.plugins.kubeflow.DistributedTensorflowTrainingReplicaSpec.
119
+ * Use `create(DistributedTensorflowTrainingReplicaSpecSchema)` to create a new message.
120
+ */
121
+ export const DistributedTensorflowTrainingReplicaSpecSchema: GenMessage<DistributedTensorflowTrainingReplicaSpec> = /*@__PURE__*/
122
+ messageDesc(file_flyteidl2_plugins_kubeflow_tensorflow, 1);
123
+
@@ -0,0 +1,52 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
2
+ // @generated from file flyteidl2/plugins/mpi.proto (package flyteidl2.plugins, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import type { Message } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * Describes the file flyteidl2/plugins/mpi.proto.
11
+ */
12
+ export const file_flyteidl2_plugins_mpi: GenFile = /*@__PURE__*/
13
+ fileDesc("ChtmbHl0ZWlkbDIvcGx1Z2lucy9tcGkucHJvdG8SEWZseXRlaWRsMi5wbHVnaW5zIl8KGkRpc3RyaWJ1dGVkTVBJVHJhaW5pbmdUYXNrEhMKC251bV93b3JrZXJzGAEgASgFEh0KFW51bV9sYXVuY2hlcl9yZXBsaWNhcxgCIAEoBRINCgVzbG90cxgDIAEoBUK/AQoVY29tLmZseXRlaWRsMi5wbHVnaW5zQghNcGlQcm90b0gCUAFaNWdpdGh1Yi5jb20vZmx5dGVvcmcvZmx5dGUvdjIvZ2VuL2dvL2ZseXRlaWRsMi9wbHVnaW5zogIDRlBYqgIRRmx5dGVpZGwyLlBsdWdpbnPKAhFGbHl0ZWlkbDJcUGx1Z2luc+ICHUZseXRlaWRsMlxQbHVnaW5zXEdQQk1ldGFkYXRh6gISRmx5dGVpZGwyOjpQbHVnaW5zYgZwcm90bzM");
14
+
15
+ /**
16
+ * MPI operator proposal https://github.com/kubeflow/community/blob/master/proposals/mpi-operator-proposal.md
17
+ * Custom proto for plugin that enables distributed training using https://github.com/kubeflow/mpi-operator
18
+ *
19
+ * @generated from message flyteidl2.plugins.DistributedMPITrainingTask
20
+ */
21
+ export type DistributedMPITrainingTask = Message<"flyteidl2.plugins.DistributedMPITrainingTask"> & {
22
+ /**
23
+ * number of worker spawned in the cluster for this job
24
+ *
25
+ * @generated from field: int32 num_workers = 1;
26
+ */
27
+ numWorkers: number;
28
+
29
+ /**
30
+ * number of launcher replicas spawned in the cluster for this job
31
+ * The launcher pod invokes mpirun and communicates with worker pods through MPI.
32
+ *
33
+ * @generated from field: int32 num_launcher_replicas = 2;
34
+ */
35
+ numLauncherReplicas: number;
36
+
37
+ /**
38
+ * number of slots per worker used in hostfile.
39
+ * The available slots (GPUs) in each pod.
40
+ *
41
+ * @generated from field: int32 slots = 3;
42
+ */
43
+ slots: number;
44
+ };
45
+
46
+ /**
47
+ * Describes the message flyteidl2.plugins.DistributedMPITrainingTask.
48
+ * Use `create(DistributedMPITrainingTaskSchema)` to create a new message.
49
+ */
50
+ export const DistributedMPITrainingTaskSchema: GenMessage<DistributedMPITrainingTask> = /*@__PURE__*/
51
+ messageDesc(file_flyteidl2_plugins_mpi, 0);
52
+
@@ -0,0 +1,49 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
2
+ // @generated from file flyteidl2/plugins/presto.proto (package flyteidl2.plugins, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import type { Message } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * Describes the file flyteidl2/plugins/presto.proto.
11
+ */
12
+ export const file_flyteidl2_plugins_presto: GenFile = /*@__PURE__*/
13
+ fileDesc("Ch5mbHl0ZWlkbDIvcGx1Z2lucy9wcmVzdG8ucHJvdG8SEWZseXRlaWRsMi5wbHVnaW5zIlgKC1ByZXN0b1F1ZXJ5EhUKDXJvdXRpbmdfZ3JvdXAYASABKAkSDwoHY2F0YWxvZxgCIAEoCRIOCgZzY2hlbWEYAyABKAkSEQoJc3RhdGVtZW50GAQgASgJQsIBChVjb20uZmx5dGVpZGwyLnBsdWdpbnNCC1ByZXN0b1Byb3RvSAJQAVo1Z2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL3BsdWdpbnOiAgNGUFiqAhFGbHl0ZWlkbDIuUGx1Z2luc8oCEUZseXRlaWRsMlxQbHVnaW5z4gIdRmx5dGVpZGwyXFBsdWdpbnNcR1BCTWV0YWRhdGHqAhJGbHl0ZWlkbDI6OlBsdWdpbnNiBnByb3RvMw");
14
+
15
+ /**
16
+ * This message works with the 'presto' task type in the SDK and is the object that will be in the 'custom' field
17
+ * of a Presto task's TaskTemplate
18
+ *
19
+ * @generated from message flyteidl2.plugins.PrestoQuery
20
+ */
21
+ export type PrestoQuery = Message<"flyteidl2.plugins.PrestoQuery"> & {
22
+ /**
23
+ * @generated from field: string routing_group = 1;
24
+ */
25
+ routingGroup: string;
26
+
27
+ /**
28
+ * @generated from field: string catalog = 2;
29
+ */
30
+ catalog: string;
31
+
32
+ /**
33
+ * @generated from field: string schema = 3;
34
+ */
35
+ schema: string;
36
+
37
+ /**
38
+ * @generated from field: string statement = 4;
39
+ */
40
+ statement: string;
41
+ };
42
+
43
+ /**
44
+ * Describes the message flyteidl2.plugins.PrestoQuery.
45
+ * Use `create(PrestoQuerySchema)` to create a new message.
46
+ */
47
+ export const PrestoQuerySchema: GenMessage<PrestoQuery> = /*@__PURE__*/
48
+ messageDesc(file_flyteidl2_plugins_presto, 0);
49
+
@@ -0,0 +1,82 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
2
+ // @generated from file flyteidl2/plugins/pytorch.proto (package flyteidl2.plugins, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import type { Message } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * Describes the file flyteidl2/plugins/pytorch.proto.
11
+ */
12
+ export const file_flyteidl2_plugins_pytorch: GenFile = /*@__PURE__*/
13
+ fileDesc("Ch9mbHl0ZWlkbDIvcGx1Z2lucy9weXRvcmNoLnByb3RvEhFmbHl0ZWlkbDIucGx1Z2lucyJ/Cg1FbGFzdGljQ29uZmlnEhQKDHJkenZfYmFja2VuZBgBIAEoCRIUCgxtaW5fcmVwbGljYXMYAiABKAUSFAoMbWF4X3JlcGxpY2FzGAMgASgFEhYKDm5wcm9jX3Blcl9ub2RlGAQgASgFEhQKDG1heF9yZXN0YXJ0cxgFIAEoBSJrCh5EaXN0cmlidXRlZFB5VG9yY2hUcmFpbmluZ1Rhc2sSDwoHd29ya2VycxgBIAEoBRI4Cg5lbGFzdGljX2NvbmZpZxgCIAEoCzIgLmZseXRlaWRsMi5wbHVnaW5zLkVsYXN0aWNDb25maWdCwwEKFWNvbS5mbHl0ZWlkbDIucGx1Z2luc0IMUHl0b3JjaFByb3RvSAJQAVo1Z2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL3BsdWdpbnOiAgNGUFiqAhFGbHl0ZWlkbDIuUGx1Z2luc8oCEUZseXRlaWRsMlxQbHVnaW5z4gIdRmx5dGVpZGwyXFBsdWdpbnNcR1BCTWV0YWRhdGHqAhJGbHl0ZWlkbDI6OlBsdWdpbnNiBnByb3RvMw");
14
+
15
+ /**
16
+ * Custom proto for torch elastic config for distributed training using
17
+ * https://github.com/kubeflow/trainer/blob/e31d11faa9f6ce5111b60c01079d39295589e0ef/pkg/apis/kubeflow.org/v1/pytorch_types.go#L98
18
+ *
19
+ * @generated from message flyteidl2.plugins.ElasticConfig
20
+ */
21
+ export type ElasticConfig = Message<"flyteidl2.plugins.ElasticConfig"> & {
22
+ /**
23
+ * @generated from field: string rdzv_backend = 1;
24
+ */
25
+ rdzvBackend: string;
26
+
27
+ /**
28
+ * @generated from field: int32 min_replicas = 2;
29
+ */
30
+ minReplicas: number;
31
+
32
+ /**
33
+ * @generated from field: int32 max_replicas = 3;
34
+ */
35
+ maxReplicas: number;
36
+
37
+ /**
38
+ * @generated from field: int32 nproc_per_node = 4;
39
+ */
40
+ nprocPerNode: number;
41
+
42
+ /**
43
+ * @generated from field: int32 max_restarts = 5;
44
+ */
45
+ maxRestarts: number;
46
+ };
47
+
48
+ /**
49
+ * Describes the message flyteidl2.plugins.ElasticConfig.
50
+ * Use `create(ElasticConfigSchema)` to create a new message.
51
+ */
52
+ export const ElasticConfigSchema: GenMessage<ElasticConfig> = /*@__PURE__*/
53
+ messageDesc(file_flyteidl2_plugins_pytorch, 0);
54
+
55
+ /**
56
+ * Custom proto for plugin that enables distributed training using https://github.com/kubeflow/trainer
57
+ *
58
+ * @generated from message flyteidl2.plugins.DistributedPyTorchTrainingTask
59
+ */
60
+ export type DistributedPyTorchTrainingTask = Message<"flyteidl2.plugins.DistributedPyTorchTrainingTask"> & {
61
+ /**
62
+ * number of worker replicas spawned in the cluster for this job
63
+ *
64
+ * @generated from field: int32 workers = 1;
65
+ */
66
+ workers: number;
67
+
68
+ /**
69
+ * config for an elastic pytorch job
70
+ *
71
+ * @generated from field: flyteidl2.plugins.ElasticConfig elastic_config = 2;
72
+ */
73
+ elasticConfig?: ElasticConfig;
74
+ };
75
+
76
+ /**
77
+ * Describes the message flyteidl2.plugins.DistributedPyTorchTrainingTask.
78
+ * Use `create(DistributedPyTorchTrainingTaskSchema)` to create a new message.
79
+ */
80
+ export const DistributedPyTorchTrainingTaskSchema: GenMessage<DistributedPyTorchTrainingTask> = /*@__PURE__*/
81
+ messageDesc(file_flyteidl2_plugins_pytorch, 1);
82
+
@@ -0,0 +1,98 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
2
+ // @generated from file flyteidl2/plugins/qubole.proto (package flyteidl2.plugins, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import type { Message } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * Describes the file flyteidl2/plugins/qubole.proto.
11
+ */
12
+ export const file_flyteidl2_plugins_qubole: GenFile = /*@__PURE__*/
13
+ fileDesc("Ch5mbHl0ZWlkbDIvcGx1Z2lucy9xdWJvbGUucHJvdG8SEWZseXRlaWRsMi5wbHVnaW5zIkMKCUhpdmVRdWVyeRINCgVxdWVyeRgBIAEoCRITCgt0aW1lb3V0X3NlYxgCIAEoDRISCgpyZXRyeUNvdW50GAMgASgNIkQKE0hpdmVRdWVyeUNvbGxlY3Rpb24SLQoHcXVlcmllcxgCIAMoCzIcLmZseXRlaWRsMi5wbHVnaW5zLkhpdmVRdWVyeSKnAQoNUXVib2xlSGl2ZUpvYhIVCg1jbHVzdGVyX2xhYmVsGAEgASgJEkQKEHF1ZXJ5X2NvbGxlY3Rpb24YAiABKAsyJi5mbHl0ZWlkbDIucGx1Z2lucy5IaXZlUXVlcnlDb2xsZWN0aW9uQgIYARIMCgR0YWdzGAMgAygJEisKBXF1ZXJ5GAQgASgLMhwuZmx5dGVpZGwyLnBsdWdpbnMuSGl2ZVF1ZXJ5QsIBChVjb20uZmx5dGVpZGwyLnBsdWdpbnNCC1F1Ym9sZVByb3RvSAJQAVo1Z2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL3BsdWdpbnOiAgNGUFiqAhFGbHl0ZWlkbDIuUGx1Z2luc8oCEUZseXRlaWRsMlxQbHVnaW5z4gIdRmx5dGVpZGwyXFBsdWdpbnNcR1BCTWV0YWRhdGHqAhJGbHl0ZWlkbDI6OlBsdWdpbnNiBnByb3RvMw");
14
+
15
+ /**
16
+ * Defines a query to execute on a hive cluster.
17
+ *
18
+ * @generated from message flyteidl2.plugins.HiveQuery
19
+ */
20
+ export type HiveQuery = Message<"flyteidl2.plugins.HiveQuery"> & {
21
+ /**
22
+ * @generated from field: string query = 1;
23
+ */
24
+ query: string;
25
+
26
+ /**
27
+ * @generated from field: uint32 timeout_sec = 2;
28
+ */
29
+ timeoutSec: number;
30
+
31
+ /**
32
+ * @generated from field: uint32 retryCount = 3;
33
+ */
34
+ retryCount: number;
35
+ };
36
+
37
+ /**
38
+ * Describes the message flyteidl2.plugins.HiveQuery.
39
+ * Use `create(HiveQuerySchema)` to create a new message.
40
+ */
41
+ export const HiveQuerySchema: GenMessage<HiveQuery> = /*@__PURE__*/
42
+ messageDesc(file_flyteidl2_plugins_qubole, 0);
43
+
44
+ /**
45
+ * Defines a collection of hive queries.
46
+ *
47
+ * @generated from message flyteidl2.plugins.HiveQueryCollection
48
+ */
49
+ export type HiveQueryCollection = Message<"flyteidl2.plugins.HiveQueryCollection"> & {
50
+ /**
51
+ * @generated from field: repeated flyteidl2.plugins.HiveQuery queries = 2;
52
+ */
53
+ queries: HiveQuery[];
54
+ };
55
+
56
+ /**
57
+ * Describes the message flyteidl2.plugins.HiveQueryCollection.
58
+ * Use `create(HiveQueryCollectionSchema)` to create a new message.
59
+ */
60
+ export const HiveQueryCollectionSchema: GenMessage<HiveQueryCollection> = /*@__PURE__*/
61
+ messageDesc(file_flyteidl2_plugins_qubole, 1);
62
+
63
+ /**
64
+ * This message works with the 'hive' task type in the SDK and is the object that will be in the 'custom' field
65
+ * of a hive task's TaskTemplate
66
+ *
67
+ * @generated from message flyteidl2.plugins.QuboleHiveJob
68
+ */
69
+ export type QuboleHiveJob = Message<"flyteidl2.plugins.QuboleHiveJob"> & {
70
+ /**
71
+ * @generated from field: string cluster_label = 1;
72
+ */
73
+ clusterLabel: string;
74
+
75
+ /**
76
+ * @generated from field: flyteidl2.plugins.HiveQueryCollection query_collection = 2 [deprecated = true];
77
+ * @deprecated
78
+ */
79
+ queryCollection?: HiveQueryCollection;
80
+
81
+ /**
82
+ * @generated from field: repeated string tags = 3;
83
+ */
84
+ tags: string[];
85
+
86
+ /**
87
+ * @generated from field: flyteidl2.plugins.HiveQuery query = 4;
88
+ */
89
+ query?: HiveQuery;
90
+ };
91
+
92
+ /**
93
+ * Describes the message flyteidl2.plugins.QuboleHiveJob.
94
+ * Use `create(QuboleHiveJobSchema)` to create a new message.
95
+ */
96
+ export const QuboleHiveJobSchema: GenMessage<QuboleHiveJob> = /*@__PURE__*/
97
+ messageDesc(file_flyteidl2_plugins_qubole, 2);
98
+