No project description provided
Project description
aiSSEMBLE™ Model Training API
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"
- Checks for existence of model training image with naming convention: "model-training-PIPELINE_NAME"
- Passes in user-provided parameters
- Spawns appropriate model training Kubernetes job
- 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
Release history Release notifications | RSS feed
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
File details
Details for the file aissemble_foundation_model_training_api-1.9.3.tar.gz
.
File metadata
- Download URL: aissemble_foundation_model_training_api-1.9.3.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.9.18 Linux/5.14.0-427.40.1.el9_4.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb02cb72d52c4ef5f941f06c50c02baff976c79b9265e465e3442e85fefc0077 |
|
MD5 | 985bbcd45dc96231e2fd4f1f2be8cda7 |
|
BLAKE2b-256 | d368ba0d8ac20693e0b54984fc64e1067245afc712a70867afc3feed38927cf4 |
File details
Details for the file aissemble_foundation_model_training_api-1.9.3-py3-none-any.whl
.
File metadata
- Download URL: aissemble_foundation_model_training_api-1.9.3-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.9.18 Linux/5.14.0-427.40.1.el9_4.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7b1e3be2aff68bc02953ca6bee33113bf7cf43e27a57b00e968b07de0dbcddb |
|
MD5 | 82f9e3e25fd6270c345add2dc588d648 |
|
BLAKE2b-256 | 17b2c70ae9e326fa2b4c1eba3f8a105e2e2a302c92ac855751745def11257075 |