torch

package
v1.9.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const Name = "Torch"

Variables

This section is empty.

Functions

Types

type Torch

type Torch struct{}

func (*Torch) EnforceMLPolicy

func (t *Torch) EnforceMLPolicy(info *runtime.Info, trainJob *kubeflowv2.TrainJob) error

TODO (andreyvelich): Add support for PyTorch elastic when JobSet supports Elastic Jobs.

func (*Torch) Name

func (t *Torch) Name() string

func (*Torch) Validate

func (t *Torch) Validate(oldObj, newObj *kubeflowv2.TrainJob) (admission.Warnings, field.ErrorList)

TODO: Need to implement validateions for TorchJob.

Jump to

Keyboard shortcuts

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