File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ class Tags(ExtendedEnum):
4444 MODEL_FORMAT = "model_format"
4545 MODEL_ARTIFACT_FILE = "model_file"
4646 MULTIMODEL_TYPE_TAG = "aqua_multimodel"
47+ STACKED_MODEL_TYPE_TAG = "aqua_stacked_model"
4748 AQUA_FINE_TUNE_MODEL_VERSION = "fine_tune_model_version"
4849
4950
Original file line number Diff line number Diff line change @@ -196,6 +196,7 @@ def create(
196196
197197 custom_model = None
198198 if is_stacked :
199+ combined_freeform_tags .update ({Tags .STACKED_MODEL_TYPE_TAG : "true" })
199200 custom_model = self ._create_model_group (
200201 model_id = model ,
201202 model_name = model_name ,
Original file line number Diff line number Diff line change @@ -947,6 +947,7 @@ def _create(
947947 params = f"{ params } { deployment_params } " .strip ()
948948
949949 if isinstance (aqua_model , DataScienceModelGroup ):
950+ tags .update ({Tags .STACKED_MODEL_TYPE_TAG : "true" })
950951 env_var .update ({"VLLM_ALLOW_RUNTIME_LORA_UPDATING" : "true" })
951952 env_var .update (
952953 {"MODEL" : f"{ AQUA_MODEL_DEPLOYMENT_FOLDER } { aqua_model .base_model_id } /" }
You can’t perform that action at this time.
0 commit comments