Skip to content

Commit 2f78e2a

Browse files
committed
add variant name
1 parent d5842d9 commit 2f78e2a

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

terraform/main.tf

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@ locals {
33
}
44

55
module "model" {
6-
source = "./modules/aws-sagemaker-hf-pytorch-inference-model-deployment"
7-
model_name = "${local.env}-multilingual-sentiment-analysis"
8-
python_version = "py310"
9-
ubuntu_version = "22.04"
10-
transformers_version = "4.37.0"
11-
pytorch_version = "2.1.0"
12-
model_bucket_name = "sagemaker-us-east-1-639269844451"
13-
model_bucket_key = "${local.env}/tabularisai/multilingual-sentiment-analysis/model.tar.gz"
14-
instance_type = "ml.m5.large"
15-
memory_size_in_mb = 2048
16-
max_concurrency = 1
6+
source = "./modules/aws-sagemaker-hf-pytorch-inference-model-deployment"
7+
model_name = "${local.env}-multilingual-sentiment-analysis"
8+
endpoint_variant_name = "variant-1"
9+
python_version = "py310"
10+
ubuntu_version = "22.04"
11+
transformers_version = "4.37.0"
12+
pytorch_version = "2.1.0"
13+
model_bucket_name = "sagemaker-us-east-1-639269844451"
14+
model_bucket_key = "${local.env}/tabularisai/multilingual-sentiment-analysis/model.tar.gz"
15+
instance_type = "ml.m5.large"
16+
memory_size_in_mb = 2048
17+
max_concurrency = 1
1718
}

0 commit comments

Comments
 (0)