describe-jobs

Description

Describe training job information.

Synopsis

$ abeja training describe-jobs [--help]
Usage: abeja training describe-jobs [OPTIONS]

  Show training job list for a specific training definition name

Options:
  -j, --job_definition_name, --job-definition-name TEXT
                                  Training job definition name
  --include-archived              Includes archived training jobs.
  -l, --limit INTEGER             Number of pagings
  -o, --offset INTEGER            Paging start index
  --help  Show this message and exit.

Argument

Gets the training-definition name from the training configuration file (training.yaml) . If job-definition-name option is given, the option has priotiry.

Option

-j, --job_definition_name, --job-definition-name

Specify the ID of the job-definition name which the training jobs you want to get information belongs to.

--include-archived

Includes archived training jobs when listing training jobs. Archived training jobs are excluded when this option is not given.

-l, --limit

Specify number of items for paging.

-o, --offset

Specify start index of paging.

Example

How to describe training job information

Describe training job information in this example

Training configuration File (training.yaml) :

name: training1
handler: train:handler
image: abeja-inc/all-gpu:19.04
datasets:
  "mnist": "1111111111111"

Command:

$ abeja training describe-jobs

Output:

{
  "entries": [
    {
      "created_at": "2018-01-26T09:48:36.022744Z",
      "job_definition_version": 1,
      "modified_at": "2018-01-26T09:48:36.022923Z",
      "status": {
        "active": null,
        "completion_time": null,
        "conditions": null,
        "failed": null,
        "start_time": null,
        "succeeded": null
      },
      "training_job_id": "job-e45bc2647ab74427",
      "user_parameters": {}
    }
  ]
}