Commit Graph
452 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 1ba2c7ce1c make multi usage more solid 2026-11-04 09:17:24 +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 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 e661adb520 rename things in stream manager 2026-11-03 21:30:01 +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 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 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 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
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
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 bab4dd96fb set the markers for busy upload 2026-10-19 23:36:10 +02:00
henryruhs 29116feca8 fix job related tests 2026-10-19 22:26:06 +02:00
henryruhs dd66c2d139 fix lint 2026-10-19 20:51:24 +02:00
Henry Ruhs d982608c94 Support for AMD ADLX and refactor device handles (#1251)
* experimental amd_adlx support

* experimental amd_adlx support

* reorder

* move methods out of libraries

* driver version for amd_smi

* driver version for amd_smi

* driver version for amd_adlx

* driver version for amd_adlx

* make detect_graphic_devices idiotic

* uniform interface for devices

* uniform interface for devices part2

* uniform interface for devices part3

* fix ci

* fix version in amd adlx

* fix None for version lockup
2026-10-19 20:47:35 +02:00
henryruhs 2e06c15e52 introduce http manager 2026-10-19 20:40:16 +02:00
henryruhs bd9e71e26b rename websocket_store to websocket_manager 2026-10-19 20:30:34 +02:00
henryruhs a714275a65 rename websocket_store to websocket_manager 2026-10-19 20:27:56 +02:00
henryruhs 6205a0db11 rename websocket_store to websocket_manager 2026-10-19 20:23:27 +02:00
henryruhs 73f2965d40 rename rtc_store to rtc_manager 2026-10-19 20:15:55 +02:00
henryruhs 1f5a1caf6d fix lint 2026-10-19 11:46:01 +02:00
henryruhs 2292de1136 minor change 2026-10-19 11:36:37 +02:00
henryruhs d543a67f65 fix style drift part5
 Conflicts:
	facefusion/apis/stream_video.py
	tests/apis/test_stream_video.py
2026-10-19 11:13:57 +02:00
Henry RuhsandClaude Opus 5.5 c3e7b6248c Use queue shutdown (#1253)
* introduce shutdown for queue

* introduce shutdown for queue

* make it solid

* test queue shutdown in stream senders and receivers

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix test

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 11:08:20 +02:00
Henry RuhsandClaude Opus 5.5 d0752f033d job cancellation via api (#1250)
* first shot for job cancelation via api

* move helper to job manager

* adjust coding style

* add some test

* fix lint

* inline helpers

* fit JobId and StepIndex into the system

* clean stuff

* move towards v4

* back to v4 - job manager and runner remain stupid

* reduce mocks

* fix cancellation

* fix cancellation

* harden testing with invalid case

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 09:19:55 +02:00
henryruhs 6cc5ca0c93 fix style drift part4 2026-10-18 20:34:31 +02:00
henryruhs 94bc1b2dd6 fix style drift part3 2026-10-18 20:29:33 +02:00
henryruhs 0ae64347c2 fix style drift part1 2026-10-18 17:03:05 +02:00
henryruhs cb139c21cb fix ci 2026-10-18 11:57:25 +02:00