update-version

Description

Update the training job definition version.

Synopsis

$ abeja training update-version [--help]
Usage: abeja training update-version [OPTIONS]

Options:
  -v, --version TEXT      Job definition version. By default, latest version
                          is used
  -d, --description TEXT  Description for the training job, which must be less
                          than or equal to 256 characters.
  --help                  Show this message and exit.

Options

-v, --version

Specify the training definition version you want to update. If not specified, the latest training definition version is specified.

-d, --description

Describe of training definition version

Example

Update training definition version

Update the training definition version in this example.

Default training configuration file (training.yaml):

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

Command:

$ abeja training update-version --version 1 --description 'description here'

Output:

{
  "job_definition_id": "1010101010101",
  "job_definition_version": 1,
  "handler": "train:handler",
  "datasets": {
    "mnist": "1111111111111"
  },
  "description": "description here",
  "image": "abeja-inc/all-gpu:19.04",
  "source_code_base64": "",
  "user_parameters": {},
  "archived": false,
  "created_at": "2019-06-05T02:53:40.702435Z",
  "modified_at": "2019-06-05T02:53:40.760087Z"
}