Skip to content

Commit 985eaf4

Browse files
committed
regenerated assets
1 parent 49c768a commit 985eaf4

File tree

12 files changed

+118
-10
lines changed

12 files changed

+118
-10
lines changed

api/openapi-spec/swagger.json

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/python_api/kubeflow_trainer_api/models/trainer_v1alpha1_ml_policy.py

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/python_api/kubeflow_trainer_api/models/trainer_v1alpha1_ml_policy_source.py

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

charts/kubeflow-trainer/crds/trainer.kubeflow.org_clustertrainingruntimes.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,12 +610,17 @@ spec:
610610
or int value
611611
rule: self > 0 || self in ['auto', 'cpu', 'gpu']
612612
type: object
613+
xgboost:
614+
description: xgboost defines the configuration for the XGBoost
615+
Runtime.
616+
type: object
613617
type: object
614618
x-kubernetes-validations:
615619
- message: numNodes should not be set if torch.elasticPolicy is configured
616620
rule: '!(has(self.numNodes) && (has(self.torch) && has(self.torch.elasticPolicy)))'
617621
- message: Only one of the policy can be configured
618-
rule: '!(has(self.torch) && has(self.mpi))'
622+
rule: '[has(self.torch), has(self.mpi), has(self.jax), has(self.xgboost)].filter(x,
623+
x).size() <= 1'
619624
podGroupPolicy:
620625
description: podGroupPolicy defines the configuration for the PodGroup
621626
to enable gang-scheduling via supported plugins.

charts/kubeflow-trainer/crds/trainer.kubeflow.org_trainingruntimes.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,12 +610,17 @@ spec:
610610
or int value
611611
rule: self > 0 || self in ['auto', 'cpu', 'gpu']
612612
type: object
613+
xgboost:
614+
description: xgboost defines the configuration for the XGBoost
615+
Runtime.
616+
type: object
613617
type: object
614618
x-kubernetes-validations:
615619
- message: numNodes should not be set if torch.elasticPolicy is configured
616620
rule: '!(has(self.numNodes) && (has(self.torch) && has(self.torch.elasticPolicy)))'
617621
- message: Only one of the policy can be configured
618-
rule: '!(has(self.torch) && has(self.mpi))'
622+
rule: '[has(self.torch), has(self.mpi), has(self.jax), has(self.xgboost)].filter(x,
623+
x).size() <= 1'
619624
podGroupPolicy:
620625
description: podGroupPolicy defines the configuration for the PodGroup
621626
to enable gang-scheduling via supported plugins.

hack/violation_exception_v1alpha1.list

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ API rule violation: list_type_missing,volcano.sh/apis/pkg/apis/scheduling/v1beta
88
API rule violation: list_type_missing,volcano.sh/apis/pkg/apis/scheduling/v1beta1,PodGroupStatus,Conditions
99
API rule violation: list_type_missing,volcano.sh/apis/pkg/apis/scheduling/v1beta1,QueueSpec,ExtendClusters
1010
API rule violation: list_type_missing,volcano.sh/apis/pkg/apis/scheduling/v1beta1,Reservation,Nodes
11+
API rule violation: names_match,github.com/kubeflow/trainer/v2/pkg/apis/trainer/v1alpha1,MLPolicySource,XGBoost
1112
API rule violation: names_match,k8s.io/api/core/v1,AzureDiskVolumeSource,DataDiskURI
1213
API rule violation: names_match,k8s.io/api/core/v1,ContainerStatus,LastTerminationState
1314
API rule violation: names_match,k8s.io/api/core/v1,DaemonEndpoint,Port

manifests/base/crds/trainer.kubeflow.org_clustertrainingruntimes.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,12 +610,17 @@ spec:
610610
or int value
611611
rule: self > 0 || self in ['auto', 'cpu', 'gpu']
612612
type: object
613+
xgboost:
614+
description: xgboost defines the configuration for the XGBoost
615+
Runtime.
616+
type: object
613617
type: object
614618
x-kubernetes-validations:
615619
- message: numNodes should not be set if torch.elasticPolicy is configured
616620
rule: '!(has(self.numNodes) && (has(self.torch) && has(self.torch.elasticPolicy)))'
617621
- message: Only one of the policy can be configured
618-
rule: '!(has(self.torch) && has(self.mpi))'
622+
rule: '[has(self.torch), has(self.mpi), has(self.jax), has(self.xgboost)].filter(x,
623+
x).size() <= 1'
619624
podGroupPolicy:
620625
description: podGroupPolicy defines the configuration for the PodGroup
621626
to enable gang-scheduling via supported plugins.

manifests/base/crds/trainer.kubeflow.org_trainingruntimes.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,12 +610,17 @@ spec:
610610
or int value
611611
rule: self > 0 || self in ['auto', 'cpu', 'gpu']
612612
type: object
613+
xgboost:
614+
description: xgboost defines the configuration for the XGBoost
615+
Runtime.
616+
type: object
613617
type: object
614618
x-kubernetes-validations:
615619
- message: numNodes should not be set if torch.elasticPolicy is configured
616620
rule: '!(has(self.numNodes) && (has(self.torch) && has(self.torch.elasticPolicy)))'
617621
- message: Only one of the policy can be configured
618-
rule: '!(has(self.torch) && has(self.mpi))'
622+
rule: '[has(self.torch), has(self.mpi), has(self.jax), has(self.xgboost)].filter(x,
623+
x).size() <= 1'
619624
podGroupPolicy:
620625
description: podGroupPolicy defines the configuration for the PodGroup
621626
to enable gang-scheduling via supported plugins.

pkg/apis/trainer/v1alpha1/zz_generated.deepcopy.go

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/trainer/v1alpha1/zz_generated.openapi.go

Lines changed: 26 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)