File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -460,18 +460,25 @@ def create(
460
460
telemetry_kwargs = (
461
461
{"ocid" : ft_job .id [- 6 :]} if ft_job and len (ft_job .id ) > 6 else {}
462
462
)
463
+ # track shapes that were used for fine-tune creation
463
464
self .telemetry .record_event_async (
464
- category = "aqua/service/finetune/create" ,
465
- action = "shape" ,
466
- detail = f"{ create_fine_tuning_details .shape_name } x{ create_fine_tuning_details .replica } " ,
467
- value = source .display_name ,
465
+ category = f"aqua/service/finetune/create/shape/" ,
466
+ action = f"{ create_fine_tuning_details .shape_name } x{ create_fine_tuning_details .replica } " ,
468
467
** telemetry_kwargs ,
469
468
)
470
469
# tracks unique fine-tuned models that were created in the user compartment
471
470
self .telemetry .record_event_async (
472
471
category = "aqua/service/finetune" ,
473
472
action = "create" ,
474
473
detail = source .display_name ,
474
+ ** telemetry_kwargs ,
475
+ )
476
+ # track combination of model and shape used for fine-tune creation
477
+ self .telemetry .record_event_async (
478
+ category = "aqua/service/finetune/create" ,
479
+ action = "shape" ,
480
+ detail = f"{ create_fine_tuning_details .shape_name } x{ create_fine_tuning_details .replica } " ,
481
+ value = source .display_name ,
475
482
)
476
483
477
484
return AquaFineTuningSummary (
You can’t perform that action at this time.
0 commit comments