Skip to content

Commit a85f62e

Browse files
committed
Add mlflowconfig to eval
1 parent 404c2b3 commit a85f62e

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

sagemaker-train/src/sagemaker/train/evaluate/pipeline_templates.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,10 @@
326326
LLMAJ_TEMPLATE_BASE_MODEL_ONLY = """{
327327
"Version": "2020-12-01",
328328
"Metadata": {},
329+
"MlflowConfig": {
330+
"MlflowResourceArn": "{{ mlflow_resource_arn }}"{% if mlflow_experiment_name %},
331+
"MlflowExperimentName": "{{ mlflow_experiment_name }}"{% endif %}
332+
},
329333
"Parameters": [],
330334
"Steps": [
331335
{
@@ -457,6 +461,10 @@
457461
DETERMINISTIC_TEMPLATE_BASE_MODEL_ONLY = """{
458462
"Version": "2020-12-01",
459463
"Metadata": {},
464+
"MlflowConfig": {
465+
"MlflowResourceArn": "{{ mlflow_resource_arn }}"{% if mlflow_experiment_name %},
466+
"MlflowExperimentName": "{{ mlflow_experiment_name }}"{% endif %}
467+
},
460468
"Parameters": [],
461469
"Steps": [
462470
{
@@ -843,6 +851,10 @@
843851
CUSTOM_SCORER_TEMPLATE_BASE_MODEL_ONLY = """{
844852
"Version": "2020-12-01",
845853
"Metadata": {},
854+
"MlflowConfig": {
855+
"MlflowResourceArn": "{{ mlflow_resource_arn }}"{% if mlflow_experiment_name %},
856+
"MlflowExperimentName": "{{ mlflow_experiment_name }}"{% endif %}
857+
},
846858
"Parameters": [],
847859
"Steps": [
848860
{

0 commit comments

Comments
 (0)