Compare commits

..
3 Commits
Author SHA1 Message Date
Henry RuhsandGitHub ecd3fa24ec Update metadata.py 2026-08-03 15:11:55 +02:00
henryruhs fcf41a0e40 fix image to image for coreml 2026-08-03 11:26:21 +02:00
henryruhs be63128b8d fix image to image for coreml 2026-08-03 11:05:17 +02:00
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ METADATA =\
{
'name': 'FaceFusion',
'description': 'Industry leading face manipulation platform',
'version': '3.8.0',
'version': '3.8.1',
'license': 'OpenRAIL-AS',
'author': 'Henry Ruhs',
'url': 'https://facefusion.io'
@@ -504,15 +504,15 @@ 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')
if is_macos() and has_execution_provider('coreml'):
if model_type in [ 'ghost', 'uniface' ] or model_precision == 'fp16':
if is_macos() and has_execution_provider('coreml') and model_precision == 'fp16':
if state_manager.get_item('workflow_mode') == 'image-to-video':
return\
[
(facefusion.choices.execution_provider_set.get('coreml'),
{
'ModelFormat': 'MLProgram'
'ModelFormat': 'MLProgram',
'MLComputeUnits': 'CPUAndGPU'
})
]