From 063341ce6f6f802ce231e26da1d30f27ba67d2d1 Mon Sep 17 00:00:00 2001 From: wejoncy Date: Mon, 9 Dec 2024 12:15:37 +0800 Subject: [PATCH] Update include/onnxruntime/core/providers/coreml/coreml_provider_factory.h Co-authored-by: Scott McKay --- .../core/providers/coreml/coreml_provider_factory.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/onnxruntime/core/providers/coreml/coreml_provider_factory.h b/include/onnxruntime/core/providers/coreml/coreml_provider_factory.h index 8b88f930753cf..d035fd34bd072 100644 --- a/include/onnxruntime/core/providers/coreml/coreml_provider_factory.h +++ b/include/onnxruntime/core/providers/coreml/coreml_provider_factory.h @@ -55,8 +55,9 @@ static const char* const kCoremlProviderOption_EnableOnSubgraphs = "EnableOnSubg // This process can affect the model loading time and the prediction latency. // Use this option to tailor the specialization strategy for your model. static const char* const kCoremlProviderOption_SpecializationStrategy = "SpecializationStrategy"; -// this flag is used to profile coreml computeplan after model compile. -// The profile result includes what hardwares of each ops dispatched to and the estimate excution time. +// Profile the Core ML MLComputePlan. +// This logs the hardware each operator is dispatched to and the estimated execution time. +// Intended for developer usage but provide useful diagnostic information if performance is not as expected. static const char* const kCoremlProviderOption_ProfileComputePlan = "ProfileComputePlan"; // please refer to https://developer.apple.com/documentation/coreml/mlmodelconfiguration/allowlowprecisionaccumulationongpu static const char* const kCoremlProviderOption_AllowLowPrecisionAccumulationOnGPU = "AllowLowPrecisionAccumulationOnGPU";