Get Job Status#

Prerequisites#

Before you can get the status of a customization job, make sure that you have:

  • Obtained the base URL of your NeMo Customizer service.


Get the Status of a Customization Job#

API#

  1. Perform a GET request to the /v1/customizer/jobs/{job_id}/status endpoint.

    curl -X GET \
      "https://${CUSTOMIZER_HOSTNAME}/v1/customization/jobs/{job_id}/status" \
      -H 'Accept: application/json' \
      | jq
    
  2. Review the returned customization job status.

    Example Response
    {
      "id": "cust-JGTaMbJMdqjJU8WbQdN9Q2",
      "created_at": "2024-12-09T04:06:28.542884",
      "updated_at": "2024-12-09T04:06:28.542884",
      "config": {
        "schema_version": "1.0",
        "id": "af783f5b-d985-4e5b-bbb7-f9eec39cc0b1",
        "created_at": "2024-12-09T04:06:28.542657",
        "updated_at": "2024-12-09T04:06:28.569837",
        "custom_fields": {},
        "name": "meta/llama-3_1-8b-instruct",
        "base_model": "meta/llama-3_1-8b-instruct",
        "model_path": "llama-3_1-8b-instruct",
        "training_types": [],
        "finetuning_types": [
          "lora"
        ],
        "precision": "bf16",
        "num_gpus": 4,
        "num_nodes": 1,
        "micro_batch_size": 1,
        "tensor_parallel_size": 1,
        "max_seq_length": 4096
      },
      "dataset": {
        "schema_version": "1.0",
        "id": "dataset-XU4pvGzr5tvawnbVxeJMTb",
        "created_at": "2024-12-09T04:06:28.542657",
        "updated_at": "2024-12-09T04:06:28.542660",
        "custom_fields": {},
        "name": "default/sample-basic-test",
        "version_id": "main",
        "version_tags": []
      },
      "hyperparameters": {
        "finetuning_type": "lora",
        "training_type": "sft",
        "batch_size": 16,
        "epochs": 10,
        "learning_rate": 0.0001,
        "lora": {
          "adapter_dim": 16
        }
      },
      "output_model": "test-example-model@v1",
      "status": "created",
      "project": "test-project",
      "custom_fields": {},
      "ownership": {
        "created_by": "me",
        "access_policies": {
          "arbitrary": "json"
        }
      }
    }