github.com/kubeflow/training-operator@v1.7.0/sdk/python/docs/KubeflowOrgV1PyTorchJobSpec.md (about)

     1  # KubeflowOrgV1PyTorchJobSpec
     2  
     3  PyTorchJobSpec is a desired state description of the PyTorchJob.
     4  ## Properties
     5  Name | Type | Description | Notes
     6  ------------ | ------------- | ------------- | -------------
     7  **elastic_policy** | [**KubeflowOrgV1ElasticPolicy**](KubeflowOrgV1ElasticPolicy.md) |  | [optional] 
     8  **nproc_per_node** | **str** | Number of workers per node; supported values: [auto, cpu, gpu, int]. For more, https://github.com/pytorch/pytorch/blob/26f7f470df64d90e092081e39507e4ac751f55d6/torch/distributed/run.py#L629-L658. Defaults to auto. | [optional] 
     9  **pytorch_replica_specs** | [**dict(str, KubeflowOrgV1ReplicaSpec)**](KubeflowOrgV1ReplicaSpec.md) | A map of PyTorchReplicaType (type) to ReplicaSpec (value). Specifies the PyTorch cluster configuration. For example,   {     \"Master\": PyTorchReplicaSpec,     \"Worker\": PyTorchReplicaSpec,   } | 
    10  **run_policy** | [**KubeflowOrgV1RunPolicy**](KubeflowOrgV1RunPolicy.md) |  | 
    11  
    12  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
    13  
    14