torch

package
v2.1.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2025 License: Apache-2.0 Imports: 18 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 *trainer.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(_ context.Context, runtimeInfo *runtime.Info, _, newObj *trainer.TrainJob) (admission.Warnings, field.ErrorList)

Jump to

Keyboard shortcuts

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