diff --git a/backends/apple/coreml/runtime/delegate/ETCoreMLDefaultModelExecutor.mm b/backends/apple/coreml/runtime/delegate/ETCoreMLDefaultModelExecutor.mm index 63bc60695ce..8f36087dcc6 100644 --- a/backends/apple/coreml/runtime/delegate/ETCoreMLDefaultModelExecutor.mm +++ b/backends/apple/coreml/runtime/delegate/ETCoreMLDefaultModelExecutor.mm @@ -27,7 +27,7 @@ - (instancetype)initWithModel:(ETCoreMLModel *)model { eventLogger:(const executorchcoreml::ModelEventLogger* _Nullable __unused)eventLogger error:(NSError * __autoreleasing *)error { if (self.ignoreOutputBackings) { - if (@available(macOS 11.0, iOS 16.0, tvOS 16.0, watchOS 9.0, *)) { + if (@available(iOS 16.0, tvOS 16.0, watchOS 9.0, *)) { predictionOptions.outputBackings = @{}; } } diff --git a/backends/apple/coreml/runtime/delegate/ETCoreMLModelManager.mm b/backends/apple/coreml/runtime/delegate/ETCoreMLModelManager.mm index a64d977bb26..f4cfd2146ac 100644 --- a/backends/apple/coreml/runtime/delegate/ETCoreMLModelManager.mm +++ b/backends/apple/coreml/runtime/delegate/ETCoreMLModelManager.mm @@ -92,7 +92,7 @@ BOOL is_backed_by_same_buffer(MLMultiArray *array1, MLMultiArray *array2) { NSOrderedSet *output_names, NSError * __autoreleasing *error) { MLPredictionOptions *options = [MLPredictionOptions new]; - if (@available(macOS 11.0, iOS 16.0, tvOS 16.0, watchOS 9.0, *)) { + if (@available(iOS 16.0, tvOS 16.0, watchOS 9.0, *)) { NSMutableDictionary *output_backings = [NSMutableDictionary dictionary]; NSEnumerator *enumerator = [output_names objectEnumerator]; for (MLMultiArray *output in outputs) { @@ -687,7 +687,7 @@ - (void)addPrewarmedAsset:(ETCoreMLAsset *)asset { eventLogger:eventLogger error:&localError]; // Try without output backings. - if (@available(macOS 11.0, iOS 16.0, tvOS 16.0, watchOS 9.0, *)) { + if (@available(iOS 16.0, tvOS 16.0, watchOS 9.0, *)) { if (!modelOutputs && predictionOptions.outputBackings.count > 0) { executor.ignoreOutputBackings = YES; localError = nil;