Commit Graph
975 Commits
Author SHA1 Message Date
henryruhs ed5b52ef91 revamp how cli renders 2026-11-07 15:30:58 +01:00
henryruhs 4988bae2ff revamp how cli renders 2026-11-07 15:08:49 +01:00
henryruhs 886d560c07 revamp how cli renders 2026-11-07 13:55:18 +01:00
henryruhs c7531b333c return session and fork via /process 2026-11-07 09:53:03 +01:00
Henry Ruhs 167046cc2b make cli progress render only (#1272) 2026-11-06 11:49:26 +01:00
henryruhs c4f227de3f fix test 2026-11-06 10:39:42 +01:00
henryruhs bf9150d124 expose stages to WS /process 2026-11-06 08:33:50 +01:00
Henry Ruhs 72dc5d1ad0 process manager stages (#1271)
* introduce stages finally

* introduce stages finally

* introduce stages finally
2026-11-06 08:28:43 +01:00
Henry Ruhs efbfc93753 refactor process manager (#1270)
* refactor process manager

* refactor process manager

* refactor process manager

* use httpx2 for ci
2026-11-05 18:53:47 +01:00
henryruhs f08f24fb62 check processor in stream manager 2026-11-04 15:36:40 +01:00
Henry Ruhs cebdd05fb8 expose process endpoint via websocket (#1269) 2026-11-04 12:07:41 +01:00
henryruhs 1ba2c7ce1c make multi usage more solid 2026-11-04 09:17:24 +01:00
henryruhs b216acf58c fix tests 2026-11-03 23:42:05 +01:00
henryruhs 5d8ea90bf0 go back to forks 2026-11-03 23:13:48 +01:00
henryruhs e4b5865cd9 make stream solid 2026-11-03 22:40:00 +01:00
henryruhs ca075010a8 fix test 2026-11-03 22:01:18 +01:00
henryruhs 588eb2ca2f remove dead camera manager 2026-11-03 21:57:02 +01:00
henryruhs 27ab60813f fix tests 2026-11-03 21:49:06 +01:00
henryruhs cd0c75e424 rename things in stream manager 2026-11-03 21:38:01 +01:00
henryruhs d4c70be766 rename things in stream manager 2026-11-03 21:34:48 +01:00
henryruhs e661adb520 rename things in stream manager 2026-11-03 21:30:01 +01:00
henryruhs 5d77e634ca remove it from force download tho 2026-11-03 21:16:01 +01:00
henryruhs 9179ee48b8 add process handling to stream manager too 2026-11-03 21:13:43 +01:00
henryruhs 6bd0f76f4b remove negative checks 2026-11-03 18:49:59 +01:00
Henry Ruhs ce4abf2638 Merge pull request #1267
* make force download a process too
2026-11-03 18:24:53 +01:00
Henry RuhsandClaude Opus 5.5 588a775faf move process lifecycle to the job (#1266)
Claude-Session: https://claude.ai/code/session_01Cd6JuxiVXYNPCDii9go2eh

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 16:54:05 +01:00
Henry Ruhs 068ef024d2 revert lifecycle for process (#1265) 2026-11-03 12:18:00 +01:00
henryruhs 3df507dc28 drop preview in process mode 2026-11-03 10:05:41 +01:00
henryruhs c6b13c32a7 post correct recent pr 2026-11-03 09:19:51 +01:00
Henry RuhsandClaude Fable 5.1 9b00b79182 fix/stop-all-sessions (#1264)
* stop every session on exit

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cd6JuxiVXYNPCDii9go2eh

* log api start before serving, test api route

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cd6JuxiVXYNPCDii9go2eh

* move all to its place

* move all to its place

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-03 09:12:01 +01:00
Henry Ruhs 550d439e06 rename process verbs to process level (#1263) 2026-11-02 18:55:13 +01:00
Henry Ruhs 38b4ca6793 move process lifecycle from workflows to process step (#1262) 2026-11-02 18:27:56 +01:00
henryruhs abab9eb4f0 downgrade cause coreml sucks 2026-11-01 22:36:48 +01:00
henryruhs dc9ee9044f limit session to 32, fix test 2026-11-01 21:07:45 +01:00
henryruhs 793c81f9e9 fix test 2026-11-01 19:26:03 +01:00
henryruhs a128f74c3c more testing 2026-10-31 23:21:48 +01:00
Henry RuhsandClaude Opus 5.5 647be8bb15 allow refresh after the access token expired (#1261)
* allow refresh after the access token expired

The session lives 10 minutes and the access token is valid for the first
half. The session guard checks the access window, while refresh, teardown,
session count and fork validation keep checking the session window. A
request declined with 401 can now refresh and resend.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cd6JuupGDM8y2cpHrkJq6D

* minor change

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 23:19:36 +01:00
Henry Ruhs 5399eb1c3e ensure finding the fork id is really from a fork (#1260) 2026-10-31 21:48:32 +01:00
henryruhs 440fca7cc2 Merge remote-tracking branch 'origin/master' into v4
# Conflicts:
#	facefusion/download.py
#	facefusion/execution.py
#	facefusion/ffmpeg.py
#	facefusion/jobs/job_manager.py
#	facefusion/metadata.py
#	facefusion/uis/components/benchmark_options.py
#	facefusion/uis/components/face_selector.py
#	facefusion/uis/core.py
#	requirements.txt
#	tests/test_download.py
2026-10-31 14:18:11 +01:00
henryruhs fdb45a3a5e add test 2026-10-31 11:10:52 +01:00
Henry Ruhs e7a2848a88 Feat/reference groups (#1258)
* revamp reference system

* revamp reference system

* revamp reference system

* revamp reference system

* rename to reference face maps

* rename to reference face maps

* rename to reference face maps

* fix ci

* fix logic part1

* fix logic part2

* fix logic part2

* fix logic part3

* sort out ini, program and normalize

* sort out ini, program and normalize

* fix lint

* get rid of matrix reader

* revamp groups again

* revamp groups again part2

* revamp groups again part2a

* revamp groups again part2a

* minor typo

* switch to selector map to support source averaging

* save map different in state

* adjust the normalize of maps

* refactor

* refactor

* refactor

* refactor

* better test

* resolve find_match_group_index

* minor improvements

* find closes faces

* find closes faces

* fix according to code review
2026-10-30 16:28:00 +01:00
henryruhs a1af05a732 minor cosmetics 2026-10-27 23:25:36 +01:00
Henry Ruhs decc6c9d8f Patch 3.9.2 (#1259)
* migrate types fixes, ignore old gradio type violations

* migrate types fixes, ignore old gradio type violations

* make downloader more robust

* same terminate for run_ffmpeg_with_progress like run_ffmpeg has

* fix tiny drifts

* fix cast of temperature.gpu

* update dependencies

* fix typo
3.9.2
2026-10-26 18:51:55 +01:00
Henry Ruhs 4782a7e0ea migrate to multi reference frames pass (#1257) 2026-10-22 13:45:06 +02:00
Henry Ruhs 7d042f697c introduce api origin (#1256)
* introduce api origin

* introduce api origin

* add test

* adjust test

* adjust test

* moving it to cors section
2026-10-22 08:48:11 +02:00
henryruhs d9e21b5be8 fix detect of amd devices, remove resolve cudnn for old 16xx cards 2026-10-22 08:42:56 +02:00
Henry Ruhs b80eb3961b revamp-api-managers (#1255)
* bring both http manager and websocket manger to pass stress suite

* add download to is_busy

* standalone return are forbidden

* fix test

* use local_id variable

* use local_id variable
2026-10-21 12:21:26 +02:00
henryruhs 57c01ed6f1 improve upload lock 2026-10-20 09:49:37 +02:00
henryruhs bacdea27f8 mark capture and download via http manager 2026-10-20 08:53:06 +02:00
henryruhs a24893c9b3 avoid try/catch on websocket endpoints 2026-10-19 23:59:14 +02:00