mirror of
https://github.com/facefusion/facefusion.git
synced 2026-06-06 20:53:54 +02:00
Push based receive with queue (#1146)
* move to push based receive * move to push based receive, fix mocks * fix tests * add todos * remove asyncio * remove asyncio * resolve todos * move to queue without events * prevent debug spam * concurrent stream inference stream_video.py: pipeline face-swap inference across execution_thread_count workers (ThreadPoolExecutor + bounded in-flight deque, ordered encode) to keep the GPU busy during encode Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * add todos * add todos * add missing state --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -25,7 +25,7 @@ def before_all() -> None:
|
||||
def test_create() -> None:
|
||||
assert create((320, 240), 1000, 8, 16)
|
||||
|
||||
with patch('facefusion.codecs.aom_encoder.aom_module.create_static_library', return_value = None):
|
||||
with patch('facefusion.libraries.aom.create_static_library', return_value = None):
|
||||
assert create((320, 240), 1000, 8, 16) is None
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user