domino logo
Latest (5.8)
  • Overview
  • Domino Cloud
  • Domino Nexus
  • Code Assist
  • Get started
  • Work with data
  • Develop models
  • Scale out distributed computing
  • Register and govern models
  • Deploy models
  • Monitor models
  • Publish Apps
  • Projects
  • Collaborate
  • Workspaces
  • Jobs
  • Environments
  • Executions
  • Launchers
  • Environment variables
  • Secure credential store
  • Organizations
  • Domino API
  • Domino CLI
  • Troubleshooting
  • Get help
  • Additional resources
  • Send feedback
domino logo
About Domino
Domino Data LabKnowledge BaseData Science BlogTraining
>
User guide
>
Deploy models
>
Export models to NVIDIA Fleet Command

Export models to NVIDIA Fleet Command

Domino’s integration with NVIDIA Fleet Command simplifies model deployment to the edge.

Scaling AI at the edge is a critical way of deploying data science work, and is useful for scenarios like anomaly detection at cellphone towers and quality control in manufacturing.

Export to NVIDIA Fleet Command

  1. Deploy a model API from any project and run tests to ensure your model API is functioning properly.

  2. After the deployment status changes to Ready to Run, invoke the Domino API call to register the model image with NVIDIA.

    /:modelId/:modelVersionId/exportImageForNvidia

  3. Wait for the API to register the model API container image and an associated Helm chart to the Fleet Command registry.

    See the model API details to learn how to invoke the export API to push the image to Fleet Command and check the status endpoint to track the progress of the export.

  4. Use Fleet Command to configure the distributed edge system.

With Domino’s model export catalog, you can see a unified view of all exported models and their performance. With this view, you can track and manage all production assets from a single pane.

Invoke the export API

curl =
--location --request POST 'https://<deployment>/v4/models/<model-id>/<model-version-id>/exportImageForNvidia' \
--header 'Content-Type: application/json' \
--header 'X-Domino-Api-Key: <domino-api-key>' \
--data-raw '{
 "containerRepository": "<path-to-container-repo>",
 "tag": "<image-tag>",
 "helmRepository": "<path-to-helm-repo>",
 "helmVersion": "<version>",
 "ngcApiKey": "<ngc-api-key>"
}'

Here is a description of the parameters:

  • model-id: unique identifier for the Model API

  • Model-version-id: version ID for the Model API

  • containerRepository: Repository name for a private container repository in NVIDIA NGC. For example, <organization-name>/<team-name>/<container-repository-name>. The user can provide a container repository that already exists in NVIDIA NGC. Here are the acceptable elements for a Container repository name:

    • Alphanumeric characters

    • Lowercase characters

    • Dashes and slashes (for organization and team names)

    • No spaces

  • tag: Tag for the container. The tag must be alphanumeric. It can also contain underscores, periods, and dashes.

  • helmRepository: Repository name for a private helm repository in NVIDIA NGC. For example, <organization-name>/<team-name>/<container-repository-name>. The user can provide a helm repository that already exists in NVIDIA NGC. Here are the acceptable elements in a Helm repository name:

    • Alphanumeric characters

    • Lowercase characters

    • Dashes and slashes (for organization and team names)

    • No spaces

  • helmVersion: Version of the Helm chart. Helm versions must be in Semver format.

  • ngcApiKey: NVIDIA NGC API key. See generate an NVIDIA NGC API Key.

    Note

Track the status of the export

Use the export-id you get as the return value from the export endpoint to monitor the export status.

Here is a sample command:

curl --include \
    --header 'Content-Type: application/json' \
    --header 'Accept: application/json' \
    --header 'X-Domino-Api-Key: <domino-api-key>' \
 'https://<deployment>/v4/models/<export-id>/getExportImageStatus'

Next steps

Integrate model deployment with CI/CD workflows

Domino Data Lab
Knowledge Base
Data Science Blog
Training
Copyright © 2023 Domino Data Lab. All rights reserved.