mirror of
https://github.com/facefusion/facefusion.git
synced 2026-08-03 15:48:38 +02:00
Compare commits
3
Commits
3.8.0
..
patch-3.8.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ecd3fa24ec | ||
|
|
fcf41a0e40 | ||
|
|
be63128b8d |
@@ -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'
|
||||
})
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user