From 92db1cf3d1feddee1a847b558383ad3913d96b86 Mon Sep 17 00:00:00 2001 From: Sushanth Rajasankar Date: Wed, 19 Feb 2025 15:29:04 -0800 Subject: [PATCH] Lint runner --- onnxruntime/core/providers/coreml/model/model.mm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/onnxruntime/core/providers/coreml/model/model.mm b/onnxruntime/core/providers/coreml/model/model.mm index 4ba40659d5cdb..f4d3830cef58f 100644 --- a/onnxruntime/core/providers/coreml/model/model.mm +++ b/onnxruntime/core/providers/coreml/model/model.mm @@ -122,8 +122,7 @@ Status CreateInputFeatureProvider(const std::unordered_map& inputs, } else if (coreml_compute_unit & COREML_FLAG_USE_CPU_AND_GPU) { config.computeUnits = MLComputeUnitsCPUAndGPU; } else if (coreml_compute_unit & COREML_FLAG_ONLY_ENABLE_DEVICE_WITH_ANE) { - if (@available(macOS 13.0, *)) - { + if (@available(macOS 13.0, *)) { config.computeUnits = MLComputeUnitsCPUAndNeuralEngine; // Apple Neural Engine } else { LOGS(logger_, WARNING) << "macOS 13.0+ is required for ANE, using CPU instead.";