revert: include configuration to labels

This is used for starting up the bento

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
This commit is contained in:
Aaron
2023-07-20 23:37:25 -04:00
parent f91e750fcd
commit 9ccbd60584

View File

@@ -250,7 +250,7 @@ def create_bento(
_model_store: ModelStore = Provide[BentoMLContainer.model_store],
) -> bentoml.Bento:
framework_envvar = llm.config["env"]["framework_value"]
labels = {"model_ids": llm.identifying_params["model_ids"]}
labels = dict(llm.identifying_params)
labels.update({"_type": llm.llm_type, "_framework": framework_envvar, "start_name": llm.config["start_name"]})
if adapter_map: