3333 read_file ,
3434 upload_folder ,
3535)
36- from ads .aqua .config .config import get_valid_tasks
3736from ads .aqua .constants import (
3837 AQUA_MODEL_ARTIFACT_CONFIG ,
3938 AQUA_MODEL_ARTIFACT_CONFIG_MODEL_NAME ,
@@ -768,7 +767,6 @@ def _create_model_catalog_entry(
768767 }
769768 )
770769 tags .update ({Tags .BASE_MODEL_CUSTOM : "true" })
771- logger .info (f"tags: { tags } " )
772770 if validation_result and validation_result .model_formats :
773771 tags .update (
774772 {
@@ -781,7 +779,6 @@ def _create_model_catalog_entry(
781779
782780 # Remove `ready_to_import` tag that might get copied from service model.
783781 tags .pop (Tags .READY_TO_IMPORT , None )
784- logger .info (f"tags: { tags } " )
785782 if verified_model :
786783 # Verified model is a model in the service catalog that either has no artifacts but contains all the necessary metadata for deploying and fine tuning.
787784 # If set, then we copy all the model metadata.
@@ -863,7 +860,6 @@ def _create_model_catalog_entry(
863860 category = "Other" ,
864861 replace = True ,
865862 )
866- logger .info (f"tags: { tags } " )
867863 model = (
868864 model .with_custom_metadata_list (metadata )
869865 .with_compartment_id (compartment_id or COMPARTMENT_OCID )
@@ -1332,7 +1328,6 @@ def register(
13321328 else :
13331329 artifact_path = import_model_details .os_path .rstrip ("/" )
13341330
1335- logger .info (f"task: { import_model_details .task } " )
13361331 # Create Model catalog entry with pass by reference
13371332 ds_model = self ._create_model_catalog_entry (
13381333 os_path = artifact_path ,
0 commit comments