@@ -80,7 +80,6 @@ type TrainingRuntimeList struct {
80
80
81
81
// TrainingRuntimeSpec represents a specification of the desired training runtime.
82
82
type TrainingRuntimeSpec struct {
83
-
84
83
// Configuration for the model training with ML-specific parameters.
85
84
MLPolicy * MLPolicy `json:"mlPolicy,omitempty"`
86
85
@@ -103,15 +102,13 @@ type JobSetTemplateSpec struct {
103
102
104
103
// PodGroupPolicy represents a PodGroup configuration for gang-scheduling.
105
104
type PodGroupPolicy struct {
106
-
107
105
// Configuration for gang-scheduling using various plugins.
108
106
PodGroupPolicySource `json:",inline"`
109
107
}
110
108
111
109
// PodGroupPolicySource represents supported plugins for gang-scheduling.
112
110
// Only one of its members may be specified.
113
111
type PodGroupPolicySource struct {
114
-
115
112
// Coscheduling plugin from the Kubernetes scheduler-plugins for gang-scheduling.
116
113
Coscheduling * CoschedulingPodGroupPolicySource `json:"coscheduling,omitempty"`
117
114
@@ -120,7 +117,6 @@ type PodGroupPolicySource struct {
120
117
121
118
// CoschedulingPodGroupPolicySource represents configuration for coscheduling plugin.
122
119
type CoschedulingPodGroupPolicySource struct {
123
-
124
120
// Time threshold to schedule PodGroup for gang-scheduling.
125
121
// If the scheduling timeout is equal to 0, the default value is used.
126
122
// Defaults to 60 seconds.
@@ -129,7 +125,6 @@ type CoschedulingPodGroupPolicySource struct {
129
125
130
126
// MLPolicy represents configuration for the model trining with ML-specific parameters.
131
127
type MLPolicy struct {
132
-
133
128
// Number of training nodes.
134
129
// Defaults to 1.
135
130
NumNodes * int32 `json:"numNodes,omitempty"`
@@ -142,7 +137,6 @@ type MLPolicy struct {
142
137
// MLPolicySource represents the runtime-specific configuration for various technologies.
143
138
// One of the following specs can be set.
144
139
type MLPolicySource struct {
145
-
146
140
// Configuration for the PyTorch runtime.
147
141
Torch * TorchMLPolicySource `json:"torch,omitempty"`
148
142
0 commit comments