mpi

package
v2.1.0-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2025 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "MPI"

Variables

This section is empty.

Functions

Types

type MPI

type MPI struct {
	// contains filtered or unexported fields
}

func (*MPI) Build

func (m *MPI) Build(ctx context.Context, info *runtime.Info, trainJob *trainer.TrainJob) ([]any, error)

func (*MPI) EnforceMLPolicy

func (m *MPI) EnforceMLPolicy(info *runtime.Info, trainJob *trainer.TrainJob) error

func (*MPI) Name

func (m *MPI) Name() string

func (*MPI) ReconcilerBuilders

func (m *MPI) ReconcilerBuilders() []runtime.ReconcilerBuilder

func (*MPI) Validate

func (m *MPI) Validate(_ context.Context, runtimeInfo *runtime.Info, _, newJobObj *trainer.TrainJob) (admission.Warnings, field.ErrorList)

TODO (andreyvelich): Add validation to check that TrainJob doesn't have MPI envs. TODO (andreyvelich): We should validate that envs from different plugins don't conflict with each other. Ref: https://github.com/kubeflow/trainer/pull/2308#discussion_r1823229940

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL