ray.job_submission.JobInfo
ray.job_submission.JobInfo#
- class ray.job_submission.JobInfo(status: ray.dashboard.modules.job.common.JobStatus, entrypoint: str, message: Optional[str] = None, error_type: Optional[str] = None, start_time: Optional[int] = None, end_time: Optional[int] = None, metadata: Optional[Dict[str, str]] = None, runtime_env: Optional[Dict[str, Any]] = None, entrypoint_num_cpus: Optional[Union[int, float]] = None, entrypoint_num_gpus: Optional[Union[int, float]] = None, entrypoint_resources: Optional[Dict[str, float]] = None, driver_agent_http_address: Optional[str] = None, driver_node_id: Optional[str] = None)[source]#
Bases:
objectA class for recording information associated with a job and its execution.
Please keep this in sync with the JobsAPIInfo proto in src/ray/protobuf/gcs.proto.
PublicAPI: This API is stable across Ray releases.
Methods
from_json(json_dict)Initialize this object from a JSON dictionary.
to_json()Convert this object to a JSON-serializable dictionary.
Attributes
Driver agent http address
The time when the job moved into a terminal state.
The quantity of CPU cores to reserve for the entrypoint command.
The number of GPUs to reserve for the entrypoint command.
The quantity of various custom resources to reserve for the entrypoint command.
A message describing the status in more detail.
Arbitrary user-provided metadata for the job.
The runtime environment for the job.
The time when the job was started.
The status of the job.
The entrypoint command for this job.