Robert Wojciechowski
9739f432a5
Refactor: reduce duplication and simplify arg passing across USDU modules
...
- Pass UpscaleCoreArgs through static mode instead of 11 individual args
- Extract _post_with_retry helper from duplicate retry loops in worker_comms
- Remove 4 passthrough wrapper pairs in job_store
- Extract _process_image_tiles from duplicate master/worker tile loops
- Merge 4 override functions into 2 in prompt_transform (seed+value, collector+upscale)
- Split _async_collect_results into focused static/dynamic methods
Net reduction of ~256 lines across 10 files.
2026-03-08 22:05:29 +00:00
Robert Wojciechowski
5e724665a1
Add USDU delegate-only master mode support
...
When master is in delegate-only mode, USDU nodes are swapped to a
lightweight USDUDelegateCollector that skips model loading and only
collects results from workers. Workers initialize the dynamic job
queue on the master via a new /distributed/init_dynamic_job endpoint
since the delegate master doesn't know the batch size.
2026-03-08 03:34:17 +00:00
Robert Wojciechowski
d387769453
Skip heartbeat timeout check for workers with no incomplete tasks
...
Prevents false "heartbeat timed out" warnings when workers finish
their work before the master completes local tile processing.
2026-03-08 03:11:50 +00:00
Robert Wojciechowski
3058b11ff2
Remove list splitter/collector feature and refactor distributed modules
...
- Remove DistributedListSplitter and DistributedListCollector nodes
- Remove /distributed/init_list_queue and /distributed/request_list_item endpoints
- Clean up all references from prompt_transform, queue_orchestration, constants, and tests
- Refactor and reorganize distributed modules for quality improvements
2026-03-07 05:22:09 +00:00
Robert Wojciechowski
684b276619
refactor distributed modules and reorganize tests for quality improvements
2026-03-03 20:50:40 +00:00
Robert Wojciechowski
e4c025e06e
USDU parity: progressive tiles, deterministic blend, crop/seed/model fixes
2026-02-28 04:53:20 +00:00
Robert Wojciechowski
5eacd17aeb
refactor: implement REFACTOR_PLAN_2 across distributed stack
2026-02-24 01:38:41 +00:00
Robert Wojciechowski
f0fe702f80
Commit all current refactor changes
2026-02-23 23:47:23 +00:00
Robert Wojciechowski
7fc4f05abd
Refactor USDU job state to typed dataclasses
2026-02-23 23:46:23 +00:00
Robert Wojciechowski
7f24cb0c7a
Refactor distributed orchestration and frontend modules
2026-02-23 11:11:40 +00:00
Robert Wojciechowski
5bd2a60ab3
Harden exception handling and add distributed exception types
2026-02-23 02:27:06 +00:00
Robert Wojciechowski
d8fc6751f2
Refactor distributed upscale node into mixin modules
2026-02-23 02:12:13 +00:00