Skip to content

Conversation

@agrimk
Copy link
Member

@agrimk agrimk commented May 11, 2025

https://jira.oci.oraclecorp.com/browse/ODSC-70761

ADS changes

In deployment.py, when logging telemetry details for the category
"aqua/{model_type}/deployment", add the {"custom_base_model" : true} indicator in the telemetry_kwargs.

This flag is available in the freeform tags of the model that is being deployed. If Tags.BASE_MODEL_CUSTOM is present, then it is a custom base model.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label May 11, 2025
@github-actions
Copy link

📌 Cov diff with main:

Coverage-100%

📌 Overall coverage:

Coverage-58.62%


# we arbitrarily choose last 8 characters of OCID to identify MD in telemetry
telemetry_kwargs = {"ocid": get_ocid_substring(deployment_id, key_len=8)}
telemetry_kwargs = {"ocid": get_ocid_substring(deployment_id, key_len=8), "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.

Why it is always true? Shouldn't we judge based on the model_type value?

@github-actions
Copy link

📌 Cov diff with main:

Coverage-100%

📌 Overall coverage:

Coverage-58.62%

@github-actions
Copy link

📌 Cov diff with main:

Coverage-100%

📌 Overall coverage:

Coverage-58.64%

@github-actions
Copy link

📌 Cov diff with main:

Coverage-50%

📌 Overall coverage:

Coverage-58.65%

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?

@agrimk agrimk merged commit fd81b84 into main May 15, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants