Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Velichkevich <[email protected]>
  • Loading branch information
andreyvelich committed Aug 26, 2024
1 parent 06e7653 commit 338cc29
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/apis/kubeflow.org/v2alpha1/trainingruntime_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ type TrainingRuntimeList struct {

// TrainingRuntimeSpec represents a specification of the desired training runtime.
type TrainingRuntimeSpec struct {

// Configuration for the model training with ML-specific parameters.
MLPolicy *MLPolicy `json:"mlPolicy,omitempty"`

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

// PodGroupPolicy represents a PodGroup configuration for gang-scheduling.
type PodGroupPolicy struct {

// Configuration for gang-scheduling using various plugins.
PodGroupPolicySource `json:",inline"`
}

// PodGroupPolicySource represents supported plugins for gang-scheduling.
// Only one of its members may be specified.
type PodGroupPolicySource struct {

// Coscheduling plugin from the Kubernetes scheduler-plugins for gang-scheduling.
Coscheduling *CoschedulingPodGroupPolicySource `json:"coscheduling,omitempty"`

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

// CoschedulingPodGroupPolicySource represents configuration for coscheduling plugin.
type CoschedulingPodGroupPolicySource struct {

// Time threshold to schedule PodGroup for gang-scheduling.
// If the scheduling timeout is equal to 0, the default value is used.
// Defaults to 60 seconds.
Expand All @@ -129,7 +125,6 @@ type CoschedulingPodGroupPolicySource struct {

// MLPolicy represents configuration for the model trining with ML-specific parameters.
type MLPolicy struct {

// Number of training nodes.
// Defaults to 1.
NumNodes *int32 `json:"numNodes,omitempty"`
Expand All @@ -142,7 +137,6 @@ type MLPolicy struct {
// MLPolicySource represents the runtime-specific configuration for various technologies.
// One of the following specs can be set.
type MLPolicySource struct {

// Configuration for the PyTorch runtime.
Torch *TorchMLPolicySource `json:"torch,omitempty"`

Expand Down

0 comments on commit 338cc29

Please sign in to comment.