Skip to content

Commit

Permalink
Update include/onnxruntime/core/providers/coreml/coreml_provider_fact…
Browse files Browse the repository at this point in the history
…ory.h

Co-authored-by: Scott McKay <[email protected]>
  • Loading branch information
wejoncy and skottmckay authored Dec 9, 2024
1 parent cf3d389 commit 063341c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 063341c

Please sign in to comment.