Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

aiSSEMBLE™ Versioning

This module contains the implementation for the aiSSEMBLE versioning service. The service provides the ability to version artifacts produced by a Solution Baseline machine-learning pipeline, and uses Maven to package and deploy the artifacts to Nexus.

Model Versioning

The following GET endpoint is provided for model versioning: /version/model/{run_id}

run_id is the unique training run identifier assigned to an MLflow training experiment. The versioning service currently only supports models that have been trained using the MLflow implementation of a Solution Baseline machine-learning pipeline. It will package the training run artifacts produced by MLflow and the model artifacts produced when saving through MLflow.

The following environment variables are required for model versioning:

  • MLFLOW_TRACKING_URI: the MLflow tracking URI path specified in the training pipeline. This is where MLflow saves the training run artifacts.
  • MODEL_DIRECTORY: The model directory path specified in the training pipeline. This is where the training pipeline saves the trained models.
  • NEXUS_SERVER: The Nexus server to use to push the versioned artifact to. The credentials for this server must be provided in the Maven settings.xml file.

Example

Below is a basic example of how to leverage the versioning service:

  • Extending the baseline docker image to include Nexus credentials
    FROM boozallen/aissemble-versioning:${VERSION_AISSEMBLE}
    
    COPY /custom/maven/settings/containing/nexus/credentials.xml /root/.m2/settings.xml
    
  • Docker-compose configurations for running the service
    example-versioning-service:
        image: my-extended-versioning-service-image:latest
        ports:
          - '80:80'
        environment:
            MLFLOW_TRACKING_URI: /path/to/mlflow/tracking/uri
            MODEL_DIRECTORY: /path/to/saved/models
            NEXUS_SERVER: http://nexus-server:port
    
  • Note: By default Versioning requires authorization and therefore must have security services running (policy-decision-point).
    • Add the following to the above docker-compose file:
      policy-decision-point:
          image: ${CONTAINER_REGISTRY}boozallen/policy-decision-point-docker:latest
          hostname: policy-decision-point
          container_name: policy-decision-point
          ports:
            - "8780:8080"
            - "9700:9000"
      
    • Add an auth.properties file to your docker image with the following content.
      pdp_host_url=http://policy-decision-point:8080/api/pdp
      
    • Then add the following environment variable that points to your properties file.
      ENV KRAUSENING_BASE /path/to/auth.properties/file
    • To disable authorization you can add the following to the auth.properties file: is_authorization_enabled = False.

Metadata

Release files for aissemble-foundation-versioning-service 1.7.0.dev1715243074

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aissemble-foundation-versioning-service 1.7.0.dev1715243074
File Size Uploaded
aissemble_foundation_versioning_service-1.7.0.dev1715243074.tar.gz 7.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aissemble-foundation-versioning-service 1.7.0.dev1715243074
File Interpreter ABI Platform
aissemble_foundation_versioning_service-1.7.0.dev1715243074-py3-none-any.whl Python 3 none any Details

Total release size: 16.1 kB

Release files / aissemble_foundation_versioning_service-1.7.0.dev1715243074.tar.gz

Download URL aissemble_foundation_versioning_service-1.7.0.dev1715243074.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c20ac51d60562f2ac55bb46dde6a92786afcc7306c262200d9636400c200fa29
BLAKE2b-256 checksum
How to use checksums
bb276f37700c561dce0abc8352600848bb36b550944f70d197cf6bc5b59230cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.9.18 Linux/5.14.0-362.24.1.el9_3.x86_64

Release files / aissemble_foundation_versioning_service-1.7.0.dev1715243074-py3-none-any.whl

Download URL aissemble_foundation_versioning_service-1.7.0.dev1715243074-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83449fb5eb6247451f2a3a853fe1b3d74ac540d56a3ae122fabe4622df7d2e1b
BLAKE2b-256 checksum
How to use checksums
473560c3e36b2098f7d72b69e3240a27e9a8f118c5a25cfcfcf8ebc27faa928f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.9.18 Linux/5.14.0-362.24.1.el9_3.x86_64

Release history Release notifications | RSS feed

2.0.0

2 release files

1.12.1

2 release files

1.12.0

2 release files

1.11.1

2 release files

1.11.0

2 release files

1.10.0

2 release files

1.9.4

2 release files

1.9.3

2 release files

1.9.2

2 release files

1.9.1

2 release files

1.9.0

2 release files

1.8.2

2 release files

1.8.1

2 release files

1.8.0

2 release files

1.7.0

2 release files

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page