Skip to main content

No project description provided

Project description

aiSSEMBLE™ Model Training API

PyPI PyPI - Python Version PyPI - Wheel

This module contains the implementation and baseline Docker image for the aiSSEMBLE model training service. This service allows you to create model training jobs, list jobs, retrieve job logs, and kill jobs.

Model Training API

POST /training-jobs?pipeline=PIPELINE_NAME

  • Request body contains all key/value pairs required for model training, such as model hyperparameters
  • Functionality:
    • Spawns appropriate model training Kubernetes job
      • Checks for existence of model training image with naming convention: "model-training-PIPELINE_NAME"
        • Returns error if not present
      • Job naming convention: "model-training-PIPELINE_NAME-RANDOM_UUID"
    • Passes in user-provided parameters
  • Returns model training job name

GET /training-jobs/TRAINING_JOB_NAME

  • Returns logs from pod running model training job or error if job doesn't exist

GET /training-jobs

  • Returns list of all model training jobs (active, failed, and completed) and statuses
  • Filters all jobs in cluster by reserved job name prefix "model-training"

GET /training-jobs?pipeline=PIPELINE_NAME

  • Returns list of all model training jobs (active, failed, and completed) and statuses for a given pipeline

DELETE /training-jobs/TRAINING_JOB_NAME

  • Deletes specified Kubernetes job
  • Returns error if job does not exist

Remaining Items

  • Ensure appropriate Kubernetes RBAC config in Helm charts
  • Deploy model training API in downstream projects with ML training step(s)
  • In downstream projects, ensure model training image is generated into "model-training-PIPELINE_NAME"
  • In downstream projects, ensure embeddings deployment name is "PIPELINE_NAME-STEP_NAME"
  • Configure permissions/implement PDP authorization for each API route

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file aissemble_foundation_model_training_api-1.13.0rc2.tar.gz.

File metadata

File hashes

Hashes for aissemble_foundation_model_training_api-1.13.0rc2.tar.gz
Algorithm Hash digest
SHA256 61a623433cfc6d78517dbb0ffa696be2a8a63c2a32702fa7cf5533f1f504a8c6
MD5 b728045f7061f8c3b1c7dd2c97c91735
BLAKE2b-256 f74b80dfbcc1e0b2765471a84564b83ebb86881daf4f57a0e1a1bf928742dc1f

See more details on using hashes here.

File details

Details for the file aissemble_foundation_model_training_api-1.13.0rc2-py3-none-any.whl.

File metadata

File hashes

Hashes for aissemble_foundation_model_training_api-1.13.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 f4b2bf789fb2009a3af2816e2367957ff9f852e5a70b3986a44cb39e88224690
MD5 ae4dace261db101774f83f5dd06016ca
BLAKE2b-256 59dce5f224d8531a2ede7523b88784b6f45c0b875c11c4fbfc4929eec9c5de71

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page