Skip to content

Commit

Permalink
change to tf job worker spec (#4169)
Browse files Browse the repository at this point in the history
Signed-off-by: Future Outlier <[email protected]>
Co-authored-by: Future Outlier <[email protected]>
  • Loading branch information
Future-Outlier and Future Outlier authored Oct 5, 2023
1 parent 81b94a4 commit c88f8f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func (tensorflowOperatorResourceHandler) BuildResource(ctx context.Context, task
workerReplicaSpec := kfTensorflowTaskExtraArgs.GetWorkerReplicas()
if workerReplicaSpec != nil {
err := common.OverrideContainerSpec(
replicaSpecMap[kubeflowv1.MPIJobReplicaTypeWorker].PodSpec,
replicaSpecMap[kubeflowv1.TFJobReplicaTypeWorker].PodSpec,
kubeflowv1.TFJobDefaultContainerName,
workerReplicaSpec.GetImage(),
workerReplicaSpec.GetResources(),
Expand Down

0 comments on commit c88f8f5

Please sign in to comment.