SageMaker Compilation Job

An AWS SageMaker Compilation Job optimizes trained machine learning models for deployment on specific hardware targets such as CPUs, GPUs, or edge devices. It converts models into an efficient format that improves performance and reduces latency without changing accuracy. This helps accelerate inference and lower resource costs when running predictions.

aws.sagemaker_compilation_job

Fields

TitleIDTypeData TypeDescription
_keycorestring
account_idcorestring
compilation_end_timecoretimestampThe time when the model compilation job on a compilation job instance ended. For a successful or stopped job, this is when the job's model artifacts have finished uploading. For a failed job, this is when Amazon SageMaker AI detected that the job failed.
compilation_job_arncorestringThe Amazon Resource Name (ARN) of the model compilation job.
compilation_job_namecorestringThe name of the model compilation job.
compilation_job_statuscorestringThe status of the model compilation job.
compilation_start_timecoretimestampThe time when the model compilation job started the CompilationJob instances. You are billed for the time between this timestamp and the timestamp in the CompilationEndTime field. In Amazon CloudWatch Logs, the start time might be later than this time. That's because it takes time to download the compilation job, which depends on the size of the compilation job container.
creation_timecoretimestampThe time that the model compilation job was created.
derived_informationcorejsonInformation that SageMaker Neo automatically derived about the model.
failure_reasoncorestringIf a model compilation job failed, the reason it failed.
inference_imagecorestringThe inference image to use when compiling a model. Specify an image only if the target device is a cloud instance.
input_configcorejsonInformation about the location in Amazon S3 of the input model artifacts, the name and shape of the expected data inputs, and the framework in which the model was trained.
last_modified_timecoretimestampThe time that the status of the model compilation job was last modified.
model_artifactscorejsonInformation about the location in Amazon S3 that has been configured for storing the model artifacts used in the compilation job.
model_digestscorejsonProvides a BLAKE2 hash value that identifies the compiled model artifacts in Amazon S3.
model_package_version_arncorestringThe Amazon Resource Name (ARN) of the versioned model package that was provided to SageMaker Neo when you initiated a compilation job.
output_configcorejsonInformation about the output location for the compiled model and the target device that the model runs on.
role_arncorestringThe Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker AI assumes to perform the model compilation job.
stopping_conditioncorejsonSpecifies a limit to how long a model compilation job can run. When the job reaches the time limit, Amazon SageMaker AI ends the compilation job. Use this API to cap model training costs.
tagscorehstore
vpc_configcorejsonA VpcConfig object that specifies the VPC that you want your compilation job to connect to. Control access to your models by configuring the VPC. For more information, see Protect Compilation Jobs by Using an Amazon Virtual Private Cloud.