mirror of
https://github.com/facefusion/facefusion.git
synced 2026-07-25 11:30:54 +02:00
Patch 3.5.4 (#1055)
* remove insecure flag from curl * eleminate repating definitons * limit processors and ui layouts by choices * follow couple of v4 standards * use more secure mkstemp * dynamic cache path for execution providers * fix benchmarker, prevent path traveling via job-id * fix order in execution provider choices * resort by prioroty * introduce support for QNN * close file description for Windows to stop crying * prevent ConnectionResetError under windows * needed for nested .caches directory as onnxruntime does not create it * different approach to silent asyncio * update dependencies * simplify the name to just inference providers * switch to trt_builder_optimization_level 4
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from facefusion.execution import create_inference_session_providers, get_available_execution_providers, has_execution_provider
|
||||
from facefusion.execution import create_inference_providers, get_available_execution_providers, has_execution_provider
|
||||
|
||||
|
||||
def test_has_execution_provider() -> None:
|
||||
@@ -10,8 +10,8 @@ def test_get_available_execution_providers() -> None:
|
||||
assert 'cpu' in get_available_execution_providers()
|
||||
|
||||
|
||||
def test_create_inference_session_providers() -> None:
|
||||
inference_session_providers =\
|
||||
def test_create_inference_providers() -> None:
|
||||
inference_providers =\
|
||||
[
|
||||
('CUDAExecutionProvider',
|
||||
{
|
||||
@@ -21,4 +21,4 @@ def test_create_inference_session_providers() -> None:
|
||||
'CPUExecutionProvider'
|
||||
]
|
||||
|
||||
assert create_inference_session_providers(1, [ 'cpu', 'cuda' ]) == inference_session_providers
|
||||
assert create_inference_providers(1, [ 'cpu', 'cuda' ]) == inference_providers
|
||||
|
||||
Reference in New Issue
Block a user