Skip to content

Commit fd81b84

Browse files
authored
ODSC-70761 Update telemetry model classifications (#1178)
2 parents ab20473 + 93f539d commit fd81b84

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ads/aqua/modeldeployment/deployment.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,6 +788,9 @@ def _create_deployment(
788788
# we arbitrarily choose last 8 characters of OCID to identify MD in telemetry
789789
telemetry_kwargs = {"ocid": get_ocid_substring(deployment_id, key_len=8)}
790790

791+
if Tags.BASE_MODEL_CUSTOM in tags:
792+
telemetry_kwargs[ "custom_base_model"] = True
793+
791794
# tracks unique deployments that were created in the user compartment
792795
self.telemetry.record_event_async(
793796
category=f"aqua/{model_type}/deployment",
@@ -1306,4 +1309,4 @@ def list_shapes(self, **kwargs) -> List[ComputeShapeSummary]:
13061309
or gpu_specs.shapes.get(oci_shape.name.upper()),
13071310
)
13081311
for oci_shape in oci_shapes
1309-
]
1312+
]

0 commit comments

Comments
 (0)