fix image to image for coreml

This commit is contained in:
henryruhs
2026-08-03 11:05:17 +02:00
parent 2dd10e0168
commit be63128b8d
@@ -504,10 +504,10 @@ def clear_inference_pool() -> None:
def adjust_inference_providers() -> List[InferenceProvider]:
model_precision = get_model_options().get('precision')
model_type = get_model_options().get('type')
target_path = state_manager.get_item('target_path')
if is_macos() and has_execution_provider('coreml'):
if model_type in [ 'ghost', 'uniface' ] or model_precision == 'fp16':
if model_precision == 'fp16' and is_video(target_path):
return\
[
(facefusion.choices.execution_provider_set.get('coreml'),