Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Latest commit

 

History

History
84 lines (56 loc) · 3.41 KB

pytorch_generated.asciidoc

File metadata and controls

84 lines (56 loc) · 3.41 KB

API Reference

Packages

kubeflow.org/v1

Package v1 is the v1 version of the API.

Package v1 contains API Schema definitions for the kubeflow.org v1 API group

Resource Types

Definitions

PyTorchJob

PyTorchJob Represents a PyTorchJob resource.

Appears In:
Field Description

apiVersion string

kubeflow.org/v1

kind string

PyTorchJob

TypeMeta TypeMeta

Standard Kubernetes type metadata.

metadata ObjectMeta

Refer to Kubernetes API documentation for fields of metadata.

Specification of the desired state of the PyTorchJob.

status JobStatus

Most recently observed status of the PyTorchJob. Read-only (modified by the system).

PyTorchJobList

PyTorchJobList is a list of PyTorchJobs.

Field Description

apiVersion string

kubeflow.org/v1

kind string

PyTorchJobList

TypeMeta TypeMeta

Standard type metadata.

metadata ListMeta

Refer to Kubernetes API documentation for fields of metadata.

items PyTorchJob

List of PyTorchJobs.

PyTorchJobSpec

PyTorchJobSpec is a desired state description of the PyTorchJob.

Appears In:
Field Description

runPolicy RunPolicy

RunPolicy encapsulates various runtime policies of the distributed training job, for example how to clean up resources and how long the job can stay active.

pytorchReplicaSpecs object (keys:ReplicaType, values:ReplicaSpec)

A map of PyTorchReplicaType (type) to ReplicaSpec (value). Specifies the PyTorch cluster configuration. For example, { "Master": PyTorchReplicaSpec, "Worker": PyTorchReplicaSpec, }