@aws-sdk/client-sagemaker 3.540.0 → 3.545.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +91 -0
- package/dist-es/models/models_0.js +82 -0
- package/dist-es/protocols/Aws_json1_1.js +9 -0
- package/dist-types/commands/CreateAppCommand.d.ts +1 -1
- package/dist-types/commands/CreateAppImageConfigCommand.d.ts +18 -0
- package/dist-types/commands/CreateDomainCommand.d.ts +12 -5
- package/dist-types/commands/CreateSpaceCommand.d.ts +4 -4
- package/dist-types/commands/CreateStudioLifecycleConfigCommand.d.ts +2 -1
- package/dist-types/commands/CreateUserProfileCommand.d.ts +12 -5
- package/dist-types/commands/DescribeAppCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAppImageConfigCommand.d.ts +18 -0
- package/dist-types/commands/DescribeDomainCommand.d.ts +12 -5
- package/dist-types/commands/DescribeSpaceCommand.d.ts +6 -5
- package/dist-types/commands/DescribeUserProfileCommand.d.ts +12 -5
- package/dist-types/commands/ListAppImageConfigsCommand.d.ts +18 -0
- package/dist-types/commands/ListAppsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAppImageConfigCommand.d.ts +18 -0
- package/dist-types/commands/UpdateDomainCommand.d.ts +12 -5
- package/dist-types/commands/UpdateSpaceCommand.d.ts +4 -4
- package/dist-types/commands/UpdateUserProfileCommand.d.ts +12 -5
- package/dist-types/models/models_0.d.ts +139 -303
- package/dist-types/models/models_1.d.ts +304 -33
- package/dist-types/models/models_2.d.ts +17 -87
- package/dist-types/models/models_3.d.ts +87 -13
- package/dist-types/models/models_4.d.ts +18 -2
- package/dist-types/ts3.4/commands/CreateStudioLifecycleConfigCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeSpaceCommand.d.ts +2 -4
- package/dist-types/ts3.4/models/models_0.d.ts +94 -11
- package/dist-types/ts3.4/models/models_1.d.ts +14 -10
- package/dist-types/ts3.4/models/models_2.d.ts +7 -20
- package/dist-types/ts3.4/models/models_3.d.ts +19 -3
- package/dist-types/ts3.4/models/models_4.d.ts +5 -1
- package/package.json +1 -1
|
@@ -3853,6 +3853,33 @@ export declare const AppInstanceType: {
|
|
|
3853
3853
|
readonly ML_C5_9XLARGE: "ml.c5.9xlarge";
|
|
3854
3854
|
readonly ML_C5_LARGE: "ml.c5.large";
|
|
3855
3855
|
readonly ML_C5_XLARGE: "ml.c5.xlarge";
|
|
3856
|
+
readonly ML_C6ID_12XLARGE: "ml.c6id.12xlarge";
|
|
3857
|
+
readonly ML_C6ID_16XLARGE: "ml.c6id.16xlarge";
|
|
3858
|
+
readonly ML_C6ID_24XLARGE: "ml.c6id.24xlarge";
|
|
3859
|
+
readonly ML_C6ID_2XLARGE: "ml.c6id.2xlarge";
|
|
3860
|
+
readonly ML_C6ID_32XLARGE: "ml.c6id.32xlarge";
|
|
3861
|
+
readonly ML_C6ID_4XLARGE: "ml.c6id.4xlarge";
|
|
3862
|
+
readonly ML_C6ID_8XLARGE: "ml.c6id.8xlarge";
|
|
3863
|
+
readonly ML_C6ID_LARGE: "ml.c6id.large";
|
|
3864
|
+
readonly ML_C6ID_XLARGE: "ml.c6id.xlarge";
|
|
3865
|
+
readonly ML_C6I_12XLARGE: "ml.c6i.12xlarge";
|
|
3866
|
+
readonly ML_C6I_16XLARGE: "ml.c6i.16xlarge";
|
|
3867
|
+
readonly ML_C6I_24XLARGE: "ml.c6i.24xlarge";
|
|
3868
|
+
readonly ML_C6I_2XLARGE: "ml.c6i.2xlarge";
|
|
3869
|
+
readonly ML_C6I_32XLARGE: "ml.c6i.32xlarge";
|
|
3870
|
+
readonly ML_C6I_4XLARGE: "ml.c6i.4xlarge";
|
|
3871
|
+
readonly ML_C6I_8XLARGE: "ml.c6i.8xlarge";
|
|
3872
|
+
readonly ML_C6I_LARGE: "ml.c6i.large";
|
|
3873
|
+
readonly ML_C6I_XLARGE: "ml.c6i.xlarge";
|
|
3874
|
+
readonly ML_C7I_12XLARGE: "ml.c7i.12xlarge";
|
|
3875
|
+
readonly ML_C7I_16XLARGE: "ml.c7i.16xlarge";
|
|
3876
|
+
readonly ML_C7I_24XLARGE: "ml.c7i.24xlarge";
|
|
3877
|
+
readonly ML_C7I_2XLARGE: "ml.c7i.2xlarge";
|
|
3878
|
+
readonly ML_C7I_48XLARGE: "ml.c7i.48xlarge";
|
|
3879
|
+
readonly ML_C7I_4XLARGE: "ml.c7i.4xlarge";
|
|
3880
|
+
readonly ML_C7I_8XLARGE: "ml.c7i.8xlarge";
|
|
3881
|
+
readonly ML_C7I_LARGE: "ml.c7i.large";
|
|
3882
|
+
readonly ML_C7I_XLARGE: "ml.c7i.xlarge";
|
|
3856
3883
|
readonly ML_G4DN_12XLARGE: "ml.g4dn.12xlarge";
|
|
3857
3884
|
readonly ML_G4DN_16XLARGE: "ml.g4dn.16xlarge";
|
|
3858
3885
|
readonly ML_G4DN_2XLARGE: "ml.g4dn.2xlarge";
|
|
@@ -3884,12 +3911,40 @@ export declare const AppInstanceType: {
|
|
|
3884
3911
|
readonly ML_M5_8XLARGE: "ml.m5.8xlarge";
|
|
3885
3912
|
readonly ML_M5_LARGE: "ml.m5.large";
|
|
3886
3913
|
readonly ML_M5_XLARGE: "ml.m5.xlarge";
|
|
3914
|
+
readonly ML_M6ID_12XLARGE: "ml.m6id.12xlarge";
|
|
3915
|
+
readonly ML_M6ID_16XLARGE: "ml.m6id.16xlarge";
|
|
3916
|
+
readonly ML_M6ID_24XLARGE: "ml.m6id.24xlarge";
|
|
3917
|
+
readonly ML_M6ID_2XLARGE: "ml.m6id.2xlarge";
|
|
3918
|
+
readonly ML_M6ID_32XLARGE: "ml.m6id.32xlarge";
|
|
3919
|
+
readonly ML_M6ID_4XLARGE: "ml.m6id.4xlarge";
|
|
3920
|
+
readonly ML_M6ID_8XLARGE: "ml.m6id.8xlarge";
|
|
3921
|
+
readonly ML_M6ID_LARGE: "ml.m6id.large";
|
|
3922
|
+
readonly ML_M6ID_XLARGE: "ml.m6id.xlarge";
|
|
3923
|
+
readonly ML_M6I_12XLARGE: "ml.m6i.12xlarge";
|
|
3924
|
+
readonly ML_M6I_16XLARGE: "ml.m6i.16xlarge";
|
|
3925
|
+
readonly ML_M6I_24XLARGE: "ml.m6i.24xlarge";
|
|
3926
|
+
readonly ML_M6I_2XLARGE: "ml.m6i.2xlarge";
|
|
3927
|
+
readonly ML_M6I_32XLARGE: "ml.m6i.32xlarge";
|
|
3928
|
+
readonly ML_M6I_4XLARGE: "ml.m6i.4xlarge";
|
|
3929
|
+
readonly ML_M6I_8XLARGE: "ml.m6i.8xlarge";
|
|
3930
|
+
readonly ML_M6I_LARGE: "ml.m6i.large";
|
|
3931
|
+
readonly ML_M6I_XLARGE: "ml.m6i.xlarge";
|
|
3932
|
+
readonly ML_M7I_12XLARGE: "ml.m7i.12xlarge";
|
|
3933
|
+
readonly ML_M7I_16XLARGE: "ml.m7i.16xlarge";
|
|
3934
|
+
readonly ML_M7I_24XLARGE: "ml.m7i.24xlarge";
|
|
3935
|
+
readonly ML_M7I_2XLARGE: "ml.m7i.2xlarge";
|
|
3936
|
+
readonly ML_M7I_48XLARGE: "ml.m7i.48xlarge";
|
|
3937
|
+
readonly ML_M7I_4XLARGE: "ml.m7i.4xlarge";
|
|
3938
|
+
readonly ML_M7I_8XLARGE: "ml.m7i.8xlarge";
|
|
3939
|
+
readonly ML_M7I_LARGE: "ml.m7i.large";
|
|
3940
|
+
readonly ML_M7I_XLARGE: "ml.m7i.xlarge";
|
|
3887
3941
|
readonly ML_P3DN_24XLARGE: "ml.p3dn.24xlarge";
|
|
3888
3942
|
readonly ML_P3_16XLARGE: "ml.p3.16xlarge";
|
|
3889
3943
|
readonly ML_P3_2XLARGE: "ml.p3.2xlarge";
|
|
3890
3944
|
readonly ML_P3_8XLARGE: "ml.p3.8xlarge";
|
|
3891
3945
|
readonly ML_P4DE_24XLARGE: "ml.p4de.24xlarge";
|
|
3892
3946
|
readonly ML_P4D_24XLARGE: "ml.p4d.24xlarge";
|
|
3947
|
+
readonly ML_P5_48XLARGE: "ml.p5.48xlarge";
|
|
3893
3948
|
readonly ML_R5_12XLARGE: "ml.r5.12xlarge";
|
|
3894
3949
|
readonly ML_R5_16XLARGE: "ml.r5.16xlarge";
|
|
3895
3950
|
readonly ML_R5_24XLARGE: "ml.r5.24xlarge";
|
|
@@ -3898,6 +3953,33 @@ export declare const AppInstanceType: {
|
|
|
3898
3953
|
readonly ML_R5_8XLARGE: "ml.r5.8xlarge";
|
|
3899
3954
|
readonly ML_R5_LARGE: "ml.r5.large";
|
|
3900
3955
|
readonly ML_R5_XLARGE: "ml.r5.xlarge";
|
|
3956
|
+
readonly ML_R6ID_12XLARGE: "ml.r6id.12xlarge";
|
|
3957
|
+
readonly ML_R6ID_16XLARGE: "ml.r6id.16xlarge";
|
|
3958
|
+
readonly ML_R6ID_24XLARGE: "ml.r6id.24xlarge";
|
|
3959
|
+
readonly ML_R6ID_2XLARGE: "ml.r6id.2xlarge";
|
|
3960
|
+
readonly ML_R6ID_32XLARGE: "ml.r6id.32xlarge";
|
|
3961
|
+
readonly ML_R6ID_4XLARGE: "ml.r6id.4xlarge";
|
|
3962
|
+
readonly ML_R6ID_8XLARGE: "ml.r6id.8xlarge";
|
|
3963
|
+
readonly ML_R6ID_LARGE: "ml.r6id.large";
|
|
3964
|
+
readonly ML_R6ID_XLARGE: "ml.r6id.xlarge";
|
|
3965
|
+
readonly ML_R6I_12XLARGE: "ml.r6i.12xlarge";
|
|
3966
|
+
readonly ML_R6I_16XLARGE: "ml.r6i.16xlarge";
|
|
3967
|
+
readonly ML_R6I_24XLARGE: "ml.r6i.24xlarge";
|
|
3968
|
+
readonly ML_R6I_2XLARGE: "ml.r6i.2xlarge";
|
|
3969
|
+
readonly ML_R6I_32XLARGE: "ml.r6i.32xlarge";
|
|
3970
|
+
readonly ML_R6I_4XLARGE: "ml.r6i.4xlarge";
|
|
3971
|
+
readonly ML_R6I_8XLARGE: "ml.r6i.8xlarge";
|
|
3972
|
+
readonly ML_R6I_LARGE: "ml.r6i.large";
|
|
3973
|
+
readonly ML_R6I_XLARGE: "ml.r6i.xlarge";
|
|
3974
|
+
readonly ML_R7I_12XLARGE: "ml.r7i.12xlarge";
|
|
3975
|
+
readonly ML_R7I_16XLARGE: "ml.r7i.16xlarge";
|
|
3976
|
+
readonly ML_R7I_24XLARGE: "ml.r7i.24xlarge";
|
|
3977
|
+
readonly ML_R7I_2XLARGE: "ml.r7i.2xlarge";
|
|
3978
|
+
readonly ML_R7I_48XLARGE: "ml.r7i.48xlarge";
|
|
3979
|
+
readonly ML_R7I_4XLARGE: "ml.r7i.4xlarge";
|
|
3980
|
+
readonly ML_R7I_8XLARGE: "ml.r7i.8xlarge";
|
|
3981
|
+
readonly ML_R7I_LARGE: "ml.r7i.large";
|
|
3982
|
+
readonly ML_R7I_XLARGE: "ml.r7i.xlarge";
|
|
3901
3983
|
readonly ML_T3_2XLARGE: "ml.t3.2xlarge";
|
|
3902
3984
|
readonly ML_T3_LARGE: "ml.t3.large";
|
|
3903
3985
|
readonly ML_T3_MEDIUM: "ml.t3.medium";
|
|
@@ -4057,6 +4139,23 @@ export interface FileSystemConfig {
|
|
|
4057
4139
|
*/
|
|
4058
4140
|
DefaultGid?: number;
|
|
4059
4141
|
}
|
|
4142
|
+
/**
|
|
4143
|
+
* <p>The configuration for the file system and kernels in a SageMaker image running as a Code Editor app.
|
|
4144
|
+
* The <code>FileSystemConfig</code> object is not supported.</p>
|
|
4145
|
+
* @public
|
|
4146
|
+
*/
|
|
4147
|
+
export interface CodeEditorAppImageConfig {
|
|
4148
|
+
/**
|
|
4149
|
+
* <p>The Amazon Elastic File System storage configuration for a SageMaker image.</p>
|
|
4150
|
+
* @public
|
|
4151
|
+
*/
|
|
4152
|
+
FileSystemConfig?: FileSystemConfig;
|
|
4153
|
+
/**
|
|
4154
|
+
* <p>The configuration used to run the application image container.</p>
|
|
4155
|
+
* @public
|
|
4156
|
+
*/
|
|
4157
|
+
ContainerConfig?: ContainerConfig;
|
|
4158
|
+
}
|
|
4060
4159
|
/**
|
|
4061
4160
|
* <p>The configuration for the file system and kernels in a SageMaker image running as a JupyterLab app. The <code>FileSystemConfig</code> object is not supported.</p>
|
|
4062
4161
|
* @public
|
|
@@ -4141,6 +4240,12 @@ export interface AppImageConfigDetails {
|
|
|
4141
4240
|
* @public
|
|
4142
4241
|
*/
|
|
4143
4242
|
JupyterLabAppImageConfig?: JupyterLabAppImageConfig;
|
|
4243
|
+
/**
|
|
4244
|
+
* <p>The configuration for the file system and the runtime,
|
|
4245
|
+
* such as the environment variables and entry point.</p>
|
|
4246
|
+
* @public
|
|
4247
|
+
*/
|
|
4248
|
+
CodeEditorAppImageConfig?: CodeEditorAppImageConfig;
|
|
4144
4249
|
}
|
|
4145
4250
|
/**
|
|
4146
4251
|
* @public
|
|
@@ -8280,6 +8385,28 @@ export interface ClusterSummary {
|
|
|
8280
8385
|
*/
|
|
8281
8386
|
ClusterStatus: ClusterStatus | undefined;
|
|
8282
8387
|
}
|
|
8388
|
+
/**
|
|
8389
|
+
* <p>A custom SageMaker image. For more information, see
|
|
8390
|
+
* <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/studio-byoi.html">Bring your own SageMaker image</a>.</p>
|
|
8391
|
+
* @public
|
|
8392
|
+
*/
|
|
8393
|
+
export interface CustomImage {
|
|
8394
|
+
/**
|
|
8395
|
+
* <p>The name of the CustomImage. Must be unique to your account.</p>
|
|
8396
|
+
* @public
|
|
8397
|
+
*/
|
|
8398
|
+
ImageName: string | undefined;
|
|
8399
|
+
/**
|
|
8400
|
+
* <p>The version number of the CustomImage.</p>
|
|
8401
|
+
* @public
|
|
8402
|
+
*/
|
|
8403
|
+
ImageVersionNumber?: number;
|
|
8404
|
+
/**
|
|
8405
|
+
* <p>The name of the AppImageConfig.</p>
|
|
8406
|
+
* @public
|
|
8407
|
+
*/
|
|
8408
|
+
AppImageConfigName: string | undefined;
|
|
8409
|
+
}
|
|
8283
8410
|
/**
|
|
8284
8411
|
* <p>The Code Editor application settings.</p>
|
|
8285
8412
|
* <p>For more information about Code Editor, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/code-editor.html">Get started with Code
|
|
@@ -8293,6 +8420,11 @@ export interface CodeEditorAppSettings {
|
|
|
8293
8420
|
* @public
|
|
8294
8421
|
*/
|
|
8295
8422
|
DefaultResourceSpec?: ResourceSpec;
|
|
8423
|
+
/**
|
|
8424
|
+
* <p>A list of custom SageMaker images that are configured to run as a Code Editor app.</p>
|
|
8425
|
+
* @public
|
|
8426
|
+
*/
|
|
8427
|
+
CustomImages?: CustomImage[];
|
|
8296
8428
|
/**
|
|
8297
8429
|
* <p>The Amazon Resource Name (ARN) of the Code Editor application
|
|
8298
8430
|
* lifecycle configuration.</p>
|
|
@@ -9598,6 +9730,13 @@ export interface CreateAppImageConfigRequest {
|
|
|
9598
9730
|
* @public
|
|
9599
9731
|
*/
|
|
9600
9732
|
JupyterLabAppImageConfig?: JupyterLabAppImageConfig;
|
|
9733
|
+
/**
|
|
9734
|
+
* <p>The <code>CodeEditorAppImageConfig</code>. You can only specify one image kernel
|
|
9735
|
+
* in the AppImageConfig API. This kernel is shown to users before the image starts.
|
|
9736
|
+
* After the image runs, all kernels are visible in Code Editor.</p>
|
|
9737
|
+
* @public
|
|
9738
|
+
*/
|
|
9739
|
+
CodeEditorAppImageConfig?: CodeEditorAppImageConfig;
|
|
9601
9740
|
}
|
|
9602
9741
|
/**
|
|
9603
9742
|
* @public
|
|
@@ -10427,306 +10566,3 @@ export interface TargetPlatform {
|
|
|
10427
10566
|
*/
|
|
10428
10567
|
Accelerator?: TargetPlatformAccelerator;
|
|
10429
10568
|
}
|
|
10430
|
-
/**
|
|
10431
|
-
* <p>Contains information about the output location for the compiled model and the target
|
|
10432
|
-
* device that the model runs on. <code>TargetDevice</code> and <code>TargetPlatform</code>
|
|
10433
|
-
* are mutually exclusive, so you need to choose one between the two to specify your target
|
|
10434
|
-
* device or platform. If you cannot find your device you want to use from the
|
|
10435
|
-
* <code>TargetDevice</code> list, use <code>TargetPlatform</code> to describe the
|
|
10436
|
-
* platform of your edge device and <code>CompilerOptions</code> if there are specific
|
|
10437
|
-
* settings that are required or recommended to use for particular TargetPlatform.</p>
|
|
10438
|
-
* @public
|
|
10439
|
-
*/
|
|
10440
|
-
export interface OutputConfig {
|
|
10441
|
-
/**
|
|
10442
|
-
* <p>Identifies the S3 bucket where you want Amazon SageMaker to store the model artifacts. For
|
|
10443
|
-
* example, <code>s3://bucket-name/key-name-prefix</code>.</p>
|
|
10444
|
-
* @public
|
|
10445
|
-
*/
|
|
10446
|
-
S3OutputLocation: string | undefined;
|
|
10447
|
-
/**
|
|
10448
|
-
* <p>Identifies the target device or the machine learning instance that you want to run
|
|
10449
|
-
* your model on after the compilation has completed. Alternatively, you can specify OS,
|
|
10450
|
-
* architecture, and accelerator using <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_TargetPlatform.html">TargetPlatform</a>
|
|
10451
|
-
* fields. It can be used instead of <code>TargetPlatform</code>.</p>
|
|
10452
|
-
* <note>
|
|
10453
|
-
* <p>Currently <code>ml_trn1</code> is available only in US East (N. Virginia) Region,
|
|
10454
|
-
* and <code>ml_inf2</code> is available only in US East (Ohio) Region.</p>
|
|
10455
|
-
* </note>
|
|
10456
|
-
* @public
|
|
10457
|
-
*/
|
|
10458
|
-
TargetDevice?: TargetDevice;
|
|
10459
|
-
/**
|
|
10460
|
-
* <p>Contains information about a target platform that you want your model to run on, such
|
|
10461
|
-
* as OS, architecture, and accelerators. It is an alternative of
|
|
10462
|
-
* <code>TargetDevice</code>.</p>
|
|
10463
|
-
* <p>The following examples show how to configure the <code>TargetPlatform</code> and
|
|
10464
|
-
* <code>CompilerOptions</code> JSON strings for popular target platforms: </p>
|
|
10465
|
-
* <ul>
|
|
10466
|
-
* <li>
|
|
10467
|
-
* <p>Raspberry Pi 3 Model B+</p>
|
|
10468
|
-
* <p>
|
|
10469
|
-
* <code>"TargetPlatform": \{"Os": "LINUX", "Arch": "ARM_EABIHF"\},</code>
|
|
10470
|
-
* </p>
|
|
10471
|
-
* <p>
|
|
10472
|
-
* <code> "CompilerOptions": \{'mattr': ['+neon']\}</code>
|
|
10473
|
-
* </p>
|
|
10474
|
-
* </li>
|
|
10475
|
-
* <li>
|
|
10476
|
-
* <p>Jetson TX2</p>
|
|
10477
|
-
* <p>
|
|
10478
|
-
* <code>"TargetPlatform": \{"Os": "LINUX", "Arch": "ARM64", "Accelerator":
|
|
10479
|
-
* "NVIDIA"\},</code>
|
|
10480
|
-
* </p>
|
|
10481
|
-
* <p>
|
|
10482
|
-
* <code> "CompilerOptions": \{'gpu-code': 'sm_62', 'trt-ver': '6.0.1',
|
|
10483
|
-
* 'cuda-ver': '10.0'\}</code>
|
|
10484
|
-
* </p>
|
|
10485
|
-
* </li>
|
|
10486
|
-
* <li>
|
|
10487
|
-
* <p>EC2 m5.2xlarge instance OS</p>
|
|
10488
|
-
* <p>
|
|
10489
|
-
* <code>"TargetPlatform": \{"Os": "LINUX", "Arch": "X86_64", "Accelerator":
|
|
10490
|
-
* "NVIDIA"\},</code>
|
|
10491
|
-
* </p>
|
|
10492
|
-
* <p>
|
|
10493
|
-
* <code> "CompilerOptions": \{'mcpu': 'skylake-avx512'\}</code>
|
|
10494
|
-
* </p>
|
|
10495
|
-
* </li>
|
|
10496
|
-
* <li>
|
|
10497
|
-
* <p>RK3399</p>
|
|
10498
|
-
* <p>
|
|
10499
|
-
* <code>"TargetPlatform": \{"Os": "LINUX", "Arch": "ARM64", "Accelerator":
|
|
10500
|
-
* "MALI"\}</code>
|
|
10501
|
-
* </p>
|
|
10502
|
-
* </li>
|
|
10503
|
-
* <li>
|
|
10504
|
-
* <p>ARMv7 phone (CPU)</p>
|
|
10505
|
-
* <p>
|
|
10506
|
-
* <code>"TargetPlatform": \{"Os": "ANDROID", "Arch": "ARM_EABI"\},</code>
|
|
10507
|
-
* </p>
|
|
10508
|
-
* <p>
|
|
10509
|
-
* <code> "CompilerOptions": \{'ANDROID_PLATFORM': 25, 'mattr':
|
|
10510
|
-
* ['+neon']\}</code>
|
|
10511
|
-
* </p>
|
|
10512
|
-
* </li>
|
|
10513
|
-
* <li>
|
|
10514
|
-
* <p>ARMv8 phone (CPU)</p>
|
|
10515
|
-
* <p>
|
|
10516
|
-
* <code>"TargetPlatform": \{"Os": "ANDROID", "Arch": "ARM64"\},</code>
|
|
10517
|
-
* </p>
|
|
10518
|
-
* <p>
|
|
10519
|
-
* <code> "CompilerOptions": \{'ANDROID_PLATFORM': 29\}</code>
|
|
10520
|
-
* </p>
|
|
10521
|
-
* </li>
|
|
10522
|
-
* </ul>
|
|
10523
|
-
* @public
|
|
10524
|
-
*/
|
|
10525
|
-
TargetPlatform?: TargetPlatform;
|
|
10526
|
-
/**
|
|
10527
|
-
* <p>Specifies additional parameters for compiler options in JSON format. The compiler
|
|
10528
|
-
* options are <code>TargetPlatform</code> specific. It is required for NVIDIA accelerators
|
|
10529
|
-
* and highly recommended for CPU compilations. For any other cases, it is optional to
|
|
10530
|
-
* specify <code>CompilerOptions.</code>
|
|
10531
|
-
* </p>
|
|
10532
|
-
* <ul>
|
|
10533
|
-
* <li>
|
|
10534
|
-
* <p>
|
|
10535
|
-
* <code>DTYPE</code>: Specifies the data type for the input. When compiling for
|
|
10536
|
-
* <code>ml_*</code> (except for <code>ml_inf</code>) instances using PyTorch
|
|
10537
|
-
* framework, provide the data type (dtype) of the model's input.
|
|
10538
|
-
* <code>"float32"</code> is used if <code>"DTYPE"</code> is not specified.
|
|
10539
|
-
* Options for data type are:</p>
|
|
10540
|
-
* <ul>
|
|
10541
|
-
* <li>
|
|
10542
|
-
* <p>float32: Use either <code>"float"</code> or
|
|
10543
|
-
* <code>"float32"</code>.</p>
|
|
10544
|
-
* </li>
|
|
10545
|
-
* <li>
|
|
10546
|
-
* <p>int64: Use either <code>"int64"</code> or <code>"long"</code>.</p>
|
|
10547
|
-
* </li>
|
|
10548
|
-
* </ul>
|
|
10549
|
-
* <p> For example, <code>\{"dtype" : "float32"\}</code>.</p>
|
|
10550
|
-
* </li>
|
|
10551
|
-
* <li>
|
|
10552
|
-
* <p>
|
|
10553
|
-
* <code>CPU</code>: Compilation for CPU supports the following compiler
|
|
10554
|
-
* options.</p>
|
|
10555
|
-
* <ul>
|
|
10556
|
-
* <li>
|
|
10557
|
-
* <p>
|
|
10558
|
-
* <code>mcpu</code>: CPU micro-architecture. For example, <code>\{'mcpu':
|
|
10559
|
-
* 'skylake-avx512'\}</code>
|
|
10560
|
-
* </p>
|
|
10561
|
-
* </li>
|
|
10562
|
-
* <li>
|
|
10563
|
-
* <p>
|
|
10564
|
-
* <code>mattr</code>: CPU flags. For example, <code>\{'mattr': ['+neon',
|
|
10565
|
-
* '+vfpv4']\}</code>
|
|
10566
|
-
* </p>
|
|
10567
|
-
* </li>
|
|
10568
|
-
* </ul>
|
|
10569
|
-
* </li>
|
|
10570
|
-
* <li>
|
|
10571
|
-
* <p>
|
|
10572
|
-
* <code>ARM</code>: Details of ARM CPU compilations.</p>
|
|
10573
|
-
* <ul>
|
|
10574
|
-
* <li>
|
|
10575
|
-
* <p>
|
|
10576
|
-
* <code>NEON</code>: NEON is an implementation of the Advanced SIMD
|
|
10577
|
-
* extension used in ARMv7 processors.</p>
|
|
10578
|
-
* <p>For example, add <code>\{'mattr': ['+neon']\}</code> to the compiler
|
|
10579
|
-
* options if compiling for ARM 32-bit platform with the NEON
|
|
10580
|
-
* support.</p>
|
|
10581
|
-
* </li>
|
|
10582
|
-
* </ul>
|
|
10583
|
-
* </li>
|
|
10584
|
-
* <li>
|
|
10585
|
-
* <p>
|
|
10586
|
-
* <code>NVIDIA</code>: Compilation for NVIDIA GPU supports the following
|
|
10587
|
-
* compiler options.</p>
|
|
10588
|
-
* <ul>
|
|
10589
|
-
* <li>
|
|
10590
|
-
* <p>
|
|
10591
|
-
* <code>gpu_code</code>: Specifies the targeted architecture.</p>
|
|
10592
|
-
* </li>
|
|
10593
|
-
* <li>
|
|
10594
|
-
* <p>
|
|
10595
|
-
* <code>trt-ver</code>: Specifies the TensorRT versions in x.y.z.
|
|
10596
|
-
* format.</p>
|
|
10597
|
-
* </li>
|
|
10598
|
-
* <li>
|
|
10599
|
-
* <p>
|
|
10600
|
-
* <code>cuda-ver</code>: Specifies the CUDA version in x.y
|
|
10601
|
-
* format.</p>
|
|
10602
|
-
* </li>
|
|
10603
|
-
* </ul>
|
|
10604
|
-
* <p>For example, <code>\{'gpu-code': 'sm_72', 'trt-ver': '6.0.1', 'cuda-ver':
|
|
10605
|
-
* '10.1'\}</code>
|
|
10606
|
-
* </p>
|
|
10607
|
-
* </li>
|
|
10608
|
-
* <li>
|
|
10609
|
-
* <p>
|
|
10610
|
-
* <code>ANDROID</code>: Compilation for the Android OS supports the following
|
|
10611
|
-
* compiler options:</p>
|
|
10612
|
-
* <ul>
|
|
10613
|
-
* <li>
|
|
10614
|
-
* <p>
|
|
10615
|
-
* <code>ANDROID_PLATFORM</code>: Specifies the Android API levels.
|
|
10616
|
-
* Available levels range from 21 to 29. For example,
|
|
10617
|
-
* <code>\{'ANDROID_PLATFORM': 28\}</code>.</p>
|
|
10618
|
-
* </li>
|
|
10619
|
-
* <li>
|
|
10620
|
-
* <p>
|
|
10621
|
-
* <code>mattr</code>: Add <code>\{'mattr': ['+neon']\}</code> to compiler
|
|
10622
|
-
* options if compiling for ARM 32-bit platform with NEON support.</p>
|
|
10623
|
-
* </li>
|
|
10624
|
-
* </ul>
|
|
10625
|
-
* </li>
|
|
10626
|
-
* <li>
|
|
10627
|
-
* <p>
|
|
10628
|
-
* <code>INFERENTIA</code>: Compilation for target ml_inf1 uses compiler options
|
|
10629
|
-
* passed in as a JSON string. For example, <code>"CompilerOptions": "\"--verbose 1
|
|
10630
|
-
* --num-neuroncores 2 -O2\""</code>. </p>
|
|
10631
|
-
* <p>For information about supported compiler options, see <a href="https://awsdocs-neuron.readthedocs-hosted.com/en/latest/compiler/neuronx-cc/api-reference-guide/neuron-compiler-cli-reference-guide.html"> Neuron Compiler CLI Reference Guide</a>. </p>
|
|
10632
|
-
* </li>
|
|
10633
|
-
* <li>
|
|
10634
|
-
* <p>
|
|
10635
|
-
* <code>CoreML</code>: Compilation for the CoreML <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_OutputConfig.html">OutputConfig</a>
|
|
10636
|
-
* <code>TargetDevice</code> supports the following compiler options:</p>
|
|
10637
|
-
* <ul>
|
|
10638
|
-
* <li>
|
|
10639
|
-
* <p>
|
|
10640
|
-
* <code>class_labels</code>: Specifies the classification labels file
|
|
10641
|
-
* name inside input tar.gz file. For example, <code>\{"class_labels":
|
|
10642
|
-
* "imagenet_labels_1000.txt"\}</code>. Labels inside the txt file
|
|
10643
|
-
* should be separated by newlines.</p>
|
|
10644
|
-
* </li>
|
|
10645
|
-
* </ul>
|
|
10646
|
-
* </li>
|
|
10647
|
-
* <li>
|
|
10648
|
-
* <p>
|
|
10649
|
-
* <code>EIA</code>: Compilation for the Elastic Inference Accelerator supports
|
|
10650
|
-
* the following compiler options:</p>
|
|
10651
|
-
* <ul>
|
|
10652
|
-
* <li>
|
|
10653
|
-
* <p>
|
|
10654
|
-
* <code>precision_mode</code>: Specifies the precision of compiled
|
|
10655
|
-
* artifacts. Supported values are <code>"FP16"</code> and
|
|
10656
|
-
* <code>"FP32"</code>. Default is <code>"FP32"</code>.</p>
|
|
10657
|
-
* </li>
|
|
10658
|
-
* <li>
|
|
10659
|
-
* <p>
|
|
10660
|
-
* <code>signature_def_key</code>: Specifies the signature to use for
|
|
10661
|
-
* models in SavedModel format. Defaults is TensorFlow's default signature
|
|
10662
|
-
* def key.</p>
|
|
10663
|
-
* </li>
|
|
10664
|
-
* <li>
|
|
10665
|
-
* <p>
|
|
10666
|
-
* <code>output_names</code>: Specifies a list of output tensor names for
|
|
10667
|
-
* models in FrozenGraph format. Set at most one API field, either:
|
|
10668
|
-
* <code>signature_def_key</code> or <code>output_names</code>.</p>
|
|
10669
|
-
* </li>
|
|
10670
|
-
* </ul>
|
|
10671
|
-
* <p>For example: <code>\{"precision_mode": "FP32", "output_names":
|
|
10672
|
-
* ["output:0"]\}</code>
|
|
10673
|
-
* </p>
|
|
10674
|
-
* </li>
|
|
10675
|
-
* </ul>
|
|
10676
|
-
* @public
|
|
10677
|
-
*/
|
|
10678
|
-
CompilerOptions?: string;
|
|
10679
|
-
/**
|
|
10680
|
-
* <p>The Amazon Web Services Key Management Service key (Amazon Web Services KMS) that Amazon SageMaker
|
|
10681
|
-
* uses to encrypt your output models with Amazon S3 server-side encryption after compilation
|
|
10682
|
-
* job. If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your
|
|
10683
|
-
* role's account. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html">KMS-Managed Encryption
|
|
10684
|
-
* Keys</a> in the <i>Amazon Simple Storage Service Developer
|
|
10685
|
-
* Guide.</i>
|
|
10686
|
-
* </p>
|
|
10687
|
-
* <p>The KmsKeyId can be any of the following formats: </p>
|
|
10688
|
-
* <ul>
|
|
10689
|
-
* <li>
|
|
10690
|
-
* <p>Key ID: <code>1234abcd-12ab-34cd-56ef-1234567890ab</code>
|
|
10691
|
-
* </p>
|
|
10692
|
-
* </li>
|
|
10693
|
-
* <li>
|
|
10694
|
-
* <p>Key ARN:
|
|
10695
|
-
* <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>
|
|
10696
|
-
* </p>
|
|
10697
|
-
* </li>
|
|
10698
|
-
* <li>
|
|
10699
|
-
* <p>Alias name: <code>alias/ExampleAlias</code>
|
|
10700
|
-
* </p>
|
|
10701
|
-
* </li>
|
|
10702
|
-
* <li>
|
|
10703
|
-
* <p>Alias name ARN:
|
|
10704
|
-
* <code>arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias</code>
|
|
10705
|
-
* </p>
|
|
10706
|
-
* </li>
|
|
10707
|
-
* </ul>
|
|
10708
|
-
* @public
|
|
10709
|
-
*/
|
|
10710
|
-
KmsKeyId?: string;
|
|
10711
|
-
}
|
|
10712
|
-
/**
|
|
10713
|
-
* <p>The <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_VpcConfig.html">VpcConfig</a> configuration object that specifies the VPC that you want the
|
|
10714
|
-
* compilation jobs to connect to. For more information on controlling access to your Amazon S3
|
|
10715
|
-
* buckets used for compilation job, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/neo-vpc.html">Give Amazon SageMaker Compilation Jobs Access to
|
|
10716
|
-
* Resources in Your Amazon VPC</a>.</p>
|
|
10717
|
-
* @public
|
|
10718
|
-
*/
|
|
10719
|
-
export interface NeoVpcConfig {
|
|
10720
|
-
/**
|
|
10721
|
-
* <p>The VPC security group IDs. IDs have the form of <code>sg-xxxxxxxx</code>. Specify the
|
|
10722
|
-
* security groups for the VPC that is specified in the <code>Subnets</code> field.</p>
|
|
10723
|
-
* @public
|
|
10724
|
-
*/
|
|
10725
|
-
SecurityGroupIds: string[] | undefined;
|
|
10726
|
-
/**
|
|
10727
|
-
* <p>The ID of the subnets in the VPC that you want to connect the compilation job to for
|
|
10728
|
-
* accessing the model in Amazon S3.</p>
|
|
10729
|
-
* @public
|
|
10730
|
-
*/
|
|
10731
|
-
Subnets: string[] | undefined;
|
|
10732
|
-
}
|