848 Commits
Author SHA1 Message Date
henryruhs 335d5cd69e add Timestamp alias type v4-beta 2026-09-30 16:52:09 +02:00
henryruhs 60785b27f7 Merge remote-tracking branch 'origin/master' into v4
# Conflicts:
#	facefusion/content_analyser.py
#	facefusion/core.py
#	facefusion/inference_manager.py
#	facefusion/metadata.py
#	requirements.txt
#	tests/test_inference_manager.py
2026-09-30 15:47:21 +02:00
henryruhs 72470819a0 fix coreml under recent macos 3.9.1 2026-09-30 14:14:51 +02:00
henryruhs 2d613aa9a3 fix teardown issue 2026-09-30 12:49:54 +02:00
henryruhs 16029c9170 merge master into v4 2026-09-30 09:17:16 +02:00
Henry Ruhs 34df832626 Patch 3.9.1 (#1245)
* limit the has_arena leak to lower 1.29.0

* test show that 1.25.1 have no leak
2026-09-30 09:08:00 +02:00
henryruhs e55589c5a1 update dependencies 2026-09-29 18:47:54 +02:00
henryruhs c5392f0f28 expose refresh token only on CREATE and UPDATE 2026-09-25 18:07:47 +02:00
henryruhs d04fe62b21 introduce websocket store, to kill open connections on session destroy 2026-09-25 17:15:36 +02:00
henryruhs e59dff819f observe cli session in order to teardown when api session is dead 2026-09-25 12:41:12 +02:00
henryruhs 667a037309 work on upload restrictions 2026-09-24 21:32:27 +02:00
henryruhs 48b35bb0bc work on upload restrictions 2026-09-24 18:26:24 +02:00
henryruhs a1c3576eab work on upload restrictions 2026-09-24 18:19:25 +02:00
henryruhs 3b7765090c reduce conditional clear loops 2026-09-24 15:13:07 +02:00
henryruhs 9a4434a0b3 fix normalizer 2026-09-24 14:12:49 +02:00
henryruhs c92d7401b3 fix types 2026-09-24 12:16:06 +02:00
henryruhs 6065eb22ce unify Margin and Padding to Space, handle Space value on /state 2026-09-24 12:05:29 +02:00
henryruhs f0fc5a9e05 unify Margin and Padding to Space, handle Space value on /state 2026-09-24 11:55:13 +02:00
henryruhs e2c5f4cdf7 make state endpoint more solid, dynamic state from processors 2026-09-24 10:44:44 +02:00
henryruhs c6fdad3bf2 make state endpoint more solid 2026-09-24 09:03:04 +02:00
henryruhs 435a0b2db4 make state endpoint more solid 2026-09-24 00:19:48 +02:00
henryruhs 4bc621fa62 make state endpoint more solid 2026-09-23 22:28:42 +02:00
henryruhs 37becda877 drop rocm support 2026-09-23 16:36:14 +02:00
henryruhs b99f8e00bd handle ClientDisconnect for http and websocket 2026-09-23 15:00:33 +02:00
henryruhs e43a5be98b remove old macos compat 2026-09-23 14:44:17 +02:00
henryruhs 46f8ad71fb intra opt num threads only on cuda and tensorrt 2026-09-23 14:38:30 +02:00
henryruhs cc4abf8e59 respawn on windows 2026-09-23 11:54:44 +02:00
henryruhs dedb350243 use no return where needed 2026-09-23 11:47:37 +02:00
henryruhs 5045deb07c use no return where needed 2026-09-23 11:42:14 +02:00
henryruhs 83d6f2745c reduce thread storm 2026-09-23 09:51:53 +02:00
henryruhsandClaude Opus 4.8 e7e035ad93 split environment setup per operating system
setup() is now a thin dispatcher to setup_linux() and setup_windows(),
each holding its own env vars, conda library path and (linux) re-exec.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014Tsq4PPbu13EpTbRVtDLp4
2026-09-22 22:34:47 +02:00
henryruhsandClaude Opus 4.8 e7d8899c13 remove OMP_NUM_THREADS pin
Benchmarks on master and v4 (cuda, bella.mp4, 300 frames) show no
measurable difference between OMP_NUM_THREADS=1 and the default; the
historical pin buys nothing for this workload.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014Tsq4PPbu13EpTbRVtDLp4
2026-09-22 22:21:39 +02:00
henryruhs aa53201f6e refactor conda.py to environment.py 2026-09-22 20:03:36 +02:00
henryruhs d32765b46a adjustments for onnxruntime 2026-09-22 18:05:36 +02:00
henryruhs 5e6eaad1dd improve exception guard 2026-09-22 17:14:41 +02:00
henryruhs 4fb325abd2 expose just a fragment of the job details 2026-09-22 15:30:17 +02:00
henryruhs 412575191e fix validate_frame_resolution 2026-09-22 14:52:14 +02:00
henryruhs 074ea75ccd handle client disconnect 2026-09-22 14:16:51 +02:00
henryruhs d3ad762897 add security headers 2026-09-22 14:03:00 +02:00
henryruhs 58932cc56c add backpressure guard for audio 2026-09-21 21:36:44 +02:00
henryruhs 6611dcd373 switch to RequestBodyLimitMiddleware 2026-09-21 21:25:59 +02:00
henryruhs 9d3eb0f1cf switch to RequestBodyLimitMiddleware 2026-09-21 21:25:46 +02:00
henryruhs 6564bd41f0 handle invalid json 2026-09-21 21:06:20 +02:00
henryruhs a1701c4880 optimize session endpoint 2026-09-21 20:30:33 +02:00
henryruhs c967a6a322 Merge branch 'master' into v4
# Conflicts:
#	.github/preview.png
#	facefusion/face_aligner.py
#	facefusion/jobs/job_manager.py
#	facefusion/metadata.py
#	facefusion/processors/modules/age_modifier/core.py
#	facefusion/processors/modules/background_remover/core.py
#	facefusion/processors/modules/deep_swapper/core.py
#	facefusion/processors/modules/expression_restorer/core.py
#	facefusion/processors/modules/face_debugger/core.py
#	facefusion/processors/modules/face_editor/core.py
#	facefusion/processors/modules/face_enhancer/core.py
#	facefusion/processors/modules/face_swapper/core.py
#	facefusion/processors/modules/frame_colorizer/core.py
#	facefusion/processors/modules/frame_enhancer/core.py
#	facefusion/types.py
2026-09-21 20:18:41 +02:00
henryruhs 3e64e191ac introduce listen and conditional destroy for orphan session and store 2026-09-21 19:58:26 +02:00
henryruhs 1be0ffce35 introduce listen and conditional destroy for orphan session and store 2026-09-21 17:23:54 +02:00
henryruhs 6c38140efb introduce listen and conditional destroy for orphan session and store 2026-09-21 17:21:31 +02:00
henryruhs ca726f8cb3 action should return simple response with empty body 2026-09-20 21:42:20 +02:00
henryruhs 2469b13316 action should return simple response with empty body 2026-09-20 21:29:06 +02:00