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
Metadata
Release files for aissemble-foundation-model-training-api 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aissemble_foundation_model_training_api-2.0.0.tar.gz | 8.1 kB | Without provenance | Details for aissemble_foundation_model_training_api-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aissemble_foundation_model_training_api-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for aissemble_foundation_model_training_api-2.0.0-py3-none-any.whl |
Total release size: 17.5 kB
Release files / aissemble_foundation_model_training_api-2.0.0.tar.gz
| Download URL | aissemble_foundation_model_training_api-2.0.0.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
50b153492201ba9076151cff7f4976bb0ba2b1b00f1939e1e6abb023cb6f429a
|
|
BLAKE2b-256 checksum How to use checksums |
ac7b5033cb45f06c205bb8191f91dd30833ba759d8489823150ccd7c08cfcea1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.4 CPython/3.11.4 Linux/6.12.37-61.105.amzn2023.aarch64
|
Release files / aissemble_foundation_model_training_api-2.0.0-py3-none-any.whl
| Download URL | aissemble_foundation_model_training_api-2.0.0-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
32597f5ddb1a079c73a336b9389e5686c7790fbb3dd05f1894e41bde00b0dc88
|
|
BLAKE2b-256 checksum How to use checksums |
4db7940d6d7644ae8bbeb0e7c83638e267ffd3533aff58bdd8701c754c1a1c26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.4 CPython/3.11.4 Linux/6.12.37-61.105.amzn2023.aarch64
|
Security for aissemble-foundation-model-training-api 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.