Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion ads/aqua/modeldeployment/deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,9 @@ def _create_deployment(
# we arbitrarily choose last 8 characters of OCID to identify MD in telemetry
telemetry_kwargs = {"ocid": get_ocid_substring(deployment_id, key_len=8)}

if Tags.BASE_MODEL_CUSTOM in tags:
telemetry_kwargs[ "custom_base_model"] = True
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: formatting?


# tracks unique deployments that were created in the user compartment
self.telemetry.record_event_async(
category=f"aqua/{model_type}/deployment",
Expand Down Expand Up @@ -1306,4 +1309,4 @@ def list_shapes(self, **kwargs) -> List[ComputeShapeSummary]:
or gpu_specs.shapes.get(oci_shape.name.upper()),
)
for oci_shape in oci_shapes
]
]