Skip to content

Commit 338cc29

Browse files
committed
Update comments
Signed-off-by: Andrey Velichkevich <[email protected]>
1 parent 06e7653 commit 338cc29

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pkg/apis/kubeflow.org/v2alpha1/trainingruntime_types.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ type TrainingRuntimeList struct {
8080

8181
// TrainingRuntimeSpec represents a specification of the desired training runtime.
8282
type TrainingRuntimeSpec struct {
83-
8483
// Configuration for the model training with ML-specific parameters.
8584
MLPolicy *MLPolicy `json:"mlPolicy,omitempty"`
8685

@@ -103,15 +102,13 @@ type JobSetTemplateSpec struct {
103102

104103
// PodGroupPolicy represents a PodGroup configuration for gang-scheduling.
105104
type PodGroupPolicy struct {
106-
107105
// Configuration for gang-scheduling using various plugins.
108106
PodGroupPolicySource `json:",inline"`
109107
}
110108

111109
// PodGroupPolicySource represents supported plugins for gang-scheduling.
112110
// Only one of its members may be specified.
113111
type PodGroupPolicySource struct {
114-
115112
// Coscheduling plugin from the Kubernetes scheduler-plugins for gang-scheduling.
116113
Coscheduling *CoschedulingPodGroupPolicySource `json:"coscheduling,omitempty"`
117114

@@ -120,7 +117,6 @@ type PodGroupPolicySource struct {
120117

121118
// CoschedulingPodGroupPolicySource represents configuration for coscheduling plugin.
122119
type CoschedulingPodGroupPolicySource struct {
123-
124120
// Time threshold to schedule PodGroup for gang-scheduling.
125121
// If the scheduling timeout is equal to 0, the default value is used.
126122
// Defaults to 60 seconds.
@@ -129,7 +125,6 @@ type CoschedulingPodGroupPolicySource struct {
129125

130126
// MLPolicy represents configuration for the model trining with ML-specific parameters.
131127
type MLPolicy struct {
132-
133128
// Number of training nodes.
134129
// Defaults to 1.
135130
NumNodes *int32 `json:"numNodes,omitempty"`
@@ -142,7 +137,6 @@ type MLPolicy struct {
142137
// MLPolicySource represents the runtime-specific configuration for various technologies.
143138
// One of the following specs can be set.
144139
type MLPolicySource struct {
145-
146140
// Configuration for the PyTorch runtime.
147141
Torch *TorchMLPolicySource `json:"torch,omitempty"`
148142

0 commit comments

Comments
 (0)