Skip to content

Commit edbf72c

Browse files
author
Chad Chiang
committed
template fix for mig with jumpstart
1 parent 978011b commit edbf72c

File tree

1 file changed

+4
-2
lines changed
  • hyperpod-jumpstart-inference-template/hyperpod_jumpstart_inference_template/v1_1

1 file changed

+4
-2
lines changed

hyperpod-jumpstart-inference-template/hyperpod_jumpstart_inference_template/v1_1/template.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
TEMPLATE_CONTENT = """
2-
apiVersion: inference.sagemaker.aws.amazon.com/v1alpha1
2+
apiVersion: inference.sagemaker.aws.amazon.com/v1
33
kind: JumpStartModel
44
metadata:
5-
name: {{ model_id }}
5+
name: {{ metadata_name or endpoint_name }}
66
namespace: {{ namespace or "default" }}
77
spec:
88
model:
@@ -18,4 +18,6 @@
1818
{% if accelerator_partition_validation is not none %}validations:
1919
{% if accelerator_partition_validation is not none %} acceleratorPartitionValidation: {{ accelerator_partition_validation }}{% endif %}
2020
{% endif %}
21+
tlsConfig:
22+
tlsCertificateOutputS3Uri: {{ tls_certificate_output_s3_uri or "" }}
2123
"""

0 commit comments

Comments
 (0)