Module Values_0.ModelPackageContainerDefinitionSource

Describes the Docker container for the model package.

Sourcetype nonrec t = {
  1. containerHostname : ContainerHostname.t option;
    (*

    The DNS host name for the Docker container.

    *)
  2. image : ContainerImage.t option;
    (*

    The Amazon Elastic Container Registry (Amazon ECR) path where inference code is stored. If you are using your own custom algorithm instead of an algorithm provided by SageMaker, the inference code must meet SageMaker requirements. SageMaker supports both registry/repository[:tag] and registry/repository[@digest] image path formats. For more information, see Using Your Own Algorithms with Amazon SageMaker.

    *)
  3. imageDigest : ImageDigest.t option;
    (*

    An MD5 hash of the training algorithm that identifies the Docker image used for training.

    *)
  4. modelDataUrl : Url.t option;
    (*

    The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix). The model artifacts must be in an S3 bucket that is in the same region as the model package.

    *)
  5. modelDataSource : ModelDataSource.t option;
    (*

    Specifies the location of ML model data to deploy during endpoint creation.

    *)
  6. productId : ProductId.t option;
    (*

    The Amazon Web Services Marketplace product ID of the model package.

    *)
  7. environment : EnvironmentMap.t option;
    (*

    The environment variables to set in the Docker container. Each key and value in the Environment string to string map can have length of up to 1024. We support up to 16 entries in the map.

    *)
  8. modelInput : ModelInput.t option;
    (*

    A structure with Model Input details.

    *)
  9. framework : String_.t option;
    (*

    The machine learning framework of the model package container image.

    *)
  10. frameworkVersion : ModelPackageFrameworkVersion.t option;
    (*

    The framework version of the Model Package Container Image.

    *)
  11. nearestModelName : String_.t option;
    (*

    The name of a pre-trained machine learning benchmarked by Amazon SageMaker Inference Recommender model that matches your model. You can find a list of benchmarked models by calling ListModelMetadata.

    *)
  12. additionalModelDataSources : AdditionalModelDataSources.t option;
    (*

    Data sources that are available to your model in addition to the one that you specify for ModelDataSource when you use the CreateModelPackage action.

    *)
  13. additionalS3DataSource : AdditionalS3DataSource.t option;
    (*

    The additional data source that is used during inference in the Docker container for your model package.

    *)
  14. modelDataETag : String_.t option;
    (*

    The ETag associated with Model Data URL.

    *)
  15. isCheckpoint : Boolean.t option;
    (*

    Specifies whether the model data is a training checkpoint.

    *)
  16. baseModel : BaseModel.t option;
    (*

    Identifies the foundation model that was used as the starting point for model customization.

    *)
}
Sourceval make : ?containerHostname:??? -> ?image:??? -> ?imageDigest:??? -> ?modelDataUrl:??? -> ?modelDataSource:??? -> ?productId:??? -> ?environment:??? -> ?modelInput:??? -> ?framework:??? -> ?frameworkVersion:??? -> ?nearestModelName:??? -> ?additionalModelDataSources:??? -> ?additionalS3DataSource:??? -> ?modelDataETag:??? -> ?isCheckpoint:??? -> ?baseModel:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `List of [> `Structure of (string * [> `String of AdditionalModelChannelName.t | `Structure of (string * [> `Enum of string | `String of S3ModelUri.t | `Structure of (string * [> `Boolean of AcceptEula.t | `String of HubContentArn.t ]) list ]) list ]) list ] list | `Map of ([> `String of EnvironmentKey.t ] * [> `String of EnvironmentValue.t ]) list | `String of ContainerHostname.t | `Structure of (string * [> `Enum of string | `String of DataInputConfig.t | `Structure of (string * [> `Enum of string | `String of S3ModelUri.t | `Structure of (string * [> `Boolean of AcceptEula.t | `String of HubContentArn.t ]) list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t