-
Notifications
You must be signed in to change notification settings - Fork 705
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KEP-2170: Implement Initializer builders in the JobSet plugin #2316
Changes from all commits
8e670ef
ba9e215
58d563d
e9f017c
1e14800
b9f9e8a
c35b8d1
cd0bc23
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -167,8 +167,9 @@ type DatasetConfig struct { | |
// These values will be merged with the TrainingRuntime's dataset initializer environments. | ||
Env []corev1.EnvVar `json:"env,omitempty"` | ||
|
||
// Reference to the TrainJob's secrets to download dataset. | ||
SecretRef *corev1.SecretReference `json:"secretRef,omitempty"` | ||
// Reference to the secret with credentials to download dataset. | ||
// Secret must be created in the TrainJob's namespace. | ||
SecretRef *corev1.LocalObjectReference `json:"secretRef,omitempty"` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @tenzen-y I updated the API to use |
||
} | ||
|
||
// ModelConfig represents the desired model configuration. | ||
|
@@ -193,8 +194,9 @@ type InputModel struct { | |
// These values will be merged with the TrainingRuntime's model initializer environments. | ||
Env []corev1.EnvVar `json:"env,omitempty"` | ||
|
||
// Reference to the TrainJob's secrets to download model. | ||
SecretRef *corev1.SecretReference `json:"secretRef,omitempty"` | ||
// Reference to the secret with credentials to download model. | ||
// Secret must be created in the TrainJob's namespace. | ||
SecretRef *corev1.LocalObjectReference `json:"secretRef,omitempty"` | ||
} | ||
|
||
// OutputModel represents the desired trained model configuration. | ||
|
@@ -206,8 +208,9 @@ type OutputModel struct { | |
// These values will be merged with the TrainingRuntime's model exporter environments. | ||
Env []corev1.EnvVar `json:"env,omitempty"` | ||
|
||
// Reference to the TrainJob's secrets to export model. | ||
SecretRef *corev1.SecretReference `json:"secretRef,omitempty"` | ||
// Reference to the secret with credentials to export model. | ||
// Secret must be created in the TrainJob's namespace. | ||
SecretRef *corev1.LocalObjectReference `json:"secretRef,omitempty"` | ||
} | ||
|
||
// PodSpecOverride represents the custom overrides that will be applied for the TrainJob's resources. | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you remove this?
training-operator/.github/workflows/test-go.yaml
Lines 32 to 35 in 7c5ea70
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tenzen-y Oh, you want to separate it.
Don't we want to include
manifests
command into generate script ?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to say removing "Check manifests" from workflow because we will perform manifests verification with
make generate
since this PR.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, you are right!