Skip to content
Python

README: the weak templates redone, face swap working, 244 cases

neuregex145da730950d
diff --git a/README.md b/README.md
index 9d32af7..d6925e2 100644
--- a/README.md
+++ b/README.md
@@ -17,12 +17,12 @@ browser ──▶ web/ + server/ (Node, Comfy SDK) ──▶ gateway :8000 ─
| | |
|---|---|
-| Apps | 102 manifests, each with a workflow: 29 *ready* that ran on a GPU, 5 IC-LoRA apps with their own workflows (`genjutsu`, `reframe`, `sdr-hdr`, `mixed-media`, `dub`) that ran on an H100 on 22–23 Oct, `morph` (ran on an H100, 23 Oct), 66 template apps (a fixed prompt over the `edit`, `z-image`, `video` or `relight` pipeline, written by `tools/template_apps.py`; all 66 ran on H100s on 22 Oct, see GPU runs; 14 of them came out weak and have prompt experiments queued, the `tplx-*` lab cases) and 1 *draft* (`reshoot`: it runs, but parts of the new view come out unfilled) |
+| Apps | 102 manifests, each with a workflow: 29 *ready* that ran on a GPU, 5 IC-LoRA apps with their own workflows (`genjutsu`, `reframe`, `sdr-hdr`, `mixed-media`, `dub`) that ran on an H100 on 22–23 Oct, `morph` (ran on an H100, 23 Oct), 66 template apps (a fixed prompt over the `edit`, `z-image`, `video` or `relight` pipeline, written by `tools/template_apps.py`; all 66 ran on H100s on 22 Oct, see GPU runs; the 15 that came out weak were redone on 23–24 Oct through the `tplx-*` experiments, four of them on a `morph` base: Klein draws the last frame and LTX-2.5 moves the photo into it) and 1 *draft* (`reshoot`: it runs, but parts of the new view come out unfilled) |
| Workflows | Built from official sources by `tools/build_apps.py` (the two smoke apps are hand-written) and accepted by ComfyUI's validator: ComfyUI `e3bee7f` (0.42.0), ComfyUI-LTXVideo `44c8a36`, ComfyUI-CrossViewWarp `fbb1e93` |
-| LoRA lab | 232 cases: one showcase per app (100), one per effect (24), one per look of `mixed-media` (16) and one per transformation of `morph` (15), 33 references the others start from, 12 style-drift experiments (`mmx-*`) and 24 template experiments (`tplx-*`); the prompt each one would queue (values, overrides and inserted LoRAs) passes the same validator |
+| LoRA lab | 244 cases: one showcase per app (100), one per effect (24), one per look of `mixed-media` (16) and one per transformation of `morph` (15), 33 references the others start from, 12 style-drift experiments (`mmx-*`) and 36 template experiments (`tplx-*`, each with its verdict in the note); the prompt each one would queue (values, overrides and inserted LoRAs) passes the same validator |
| End to end | Web UI → server → gateway on Modal → comfy-api-proxy → ComfyUI on an H100, run from the browser on 23 Oct: `morph` (Astronaut, 160.8 s from the button to the video, 128.7 s of it on the GPU), `mixed-media` (Anime, 149 s / 129.4 s) and `dub` (a Spanish line, 72 s / 67 s; the transcript matches the prompt). Four fixes came out of it, each with a test: links the gateway rewrites are https on a public host (Modal sends no `X-Forwarded-Proto`), an mp4 is a video even when ComfyUI lists it under `images`, the app's declared output nodes come first (core `LoadVideo` reports the clip it was given), and the progress bar is computed by the server from the raw event stream (the proxy's first frames say 1.0 and the SDK drops everything after). The model-free smoke apps cover the same path in CI |
| CI | `.github/workflows/validate.yml` runs all of the above on every push, including a CPU-only ComfyUI that checks every workflow and lab case (about 3 minutes) |
-| GPU runs | Showcase lab run on an L40S (`20261020-133620-l40s`): 35 of 36 cases, one example per app; `recast` failed there and passed in a re-run (`20261020-162214-l40s`). Effects on 4 H100s at once (`20261021-140940-h100`, `--shards 4`): 61 of 61 cases in about 31 minutes of GPU, 2 min 52 s per effect on average, peak 30.8 GB. Two more H100 rounds (`20261021-152107-h100`, `20261021-175735-h100`) re-ran the 5 that failed with new photos and tried 7 LoRAs by other authors: Painting, Pirate captain, Zen and Crash zoom out were taken out, Dolly zoom and Bullet time moved to ostris's and joyfox's LoRAs, and Money rain, Clones and Steam from nose and ears were added. A fourth round (`20261021-195731-h100`, 14 of 14 cases) ran the new ones as shipped; after it, Jungle, Samurai, Warrior, Jumpscare, Smoke outfit change and Gothic transformation were taken out to keep the app SFW. That left 35 effects; on 23 Oct five more (Mona Lisa, VIP, Cartoon jaw drop, Selfie with younger self, Clones) were marked mediocre in the web UI (they lose the face or look flat at 480p) and moved to the `morph` app, which keeps the face; the other costume and identity transformations (Assassin, Baby, Bride, Classy, Princess, Robot face reveal) followed the same day for the same reason: 24 effects, each with an example in the gallery. The 66 template apps ran on 22 Oct: the 40 image templates on 2 H100s (`20261022-035128-h100`, 52 of 52 cases, 17 s at most, peak 14.7 GB) and the 26 video and two-reference ones on 3 (`20261022-035829-h100`, 39 of 39, 98 s at most, peak 46.6 GB). The IC-LoRA apps: `20261022-173700-h100` reached 6 of 28 (the gated Lightricks repos needed their licenses accepted first), `20261022-181155-h100` 28 of 28 on an H100 NVL, `20261023-044125-h100` 24 of 24 after the fixes to `reframe` (a per-frame mask) and `dub` (an empty audio latent plus the speaker reference wired into the guider); `mixed-media` took three more rounds (`20261023-124332-h100`, `-131909`, `-140409`) to settle the Klein first frame, the LoRA strength 0.7 and the 16 looks, and `20261023-143551-h100` (30 of 30) ran the looks on the final clip with the first 9 transformations of `morph`; `20261023-162024-h100` (14 of 14, peak 50.2 GB) ran the other 6 and the Cakeify showcase. VRAM figures below are weight sizes; the lab's measured peaks show up in the web UI |
+| GPU runs | Showcase lab run on an L40S (`20261020-133620-l40s`): 35 of 36 cases, one example per app; `recast` failed there and passed in a re-run (`20261020-162214-l40s`). Effects on 4 H100s at once (`20261021-140940-h100`, `--shards 4`): 61 of 61 cases in about 31 minutes of GPU, 2 min 52 s per effect on average, peak 30.8 GB. Two more H100 rounds (`20261021-152107-h100`, `20261021-175735-h100`) re-ran the 5 that failed with new photos and tried 7 LoRAs by other authors: Painting, Pirate captain, Zen and Crash zoom out were taken out, Dolly zoom and Bullet time moved to ostris's and joyfox's LoRAs, and Money rain, Clones and Steam from nose and ears were added. A fourth round (`20261021-195731-h100`, 14 of 14 cases) ran the new ones as shipped; after it, Jungle, Samurai, Warrior, Jumpscare, Smoke outfit change and Gothic transformation were taken out to keep the app SFW. That left 35 effects; on 23 Oct five more (Mona Lisa, VIP, Cartoon jaw drop, Selfie with younger self, Clones) were marked mediocre in the web UI (they lose the face or look flat at 480p) and moved to the `morph` app, which keeps the face; the other costume and identity transformations (Assassin, Baby, Bride, Classy, Princess, Robot face reveal) followed the same day for the same reason: 24 effects, each with an example in the gallery. The 66 template apps ran on 22 Oct: the 40 image templates on 2 H100s (`20261022-035128-h100`, 52 of 52 cases, 17 s at most, peak 14.7 GB) and the 26 video and two-reference ones on 3 (`20261022-035829-h100`, 39 of 39, 98 s at most, peak 46.6 GB). The IC-LoRA apps: `20261022-173700-h100` reached 6 of 28 (the gated Lightricks repos needed their licenses accepted first), `20261022-181155-h100` 28 of 28 on an H100 NVL, `20261023-044125-h100` 24 of 24 after the fixes to `reframe` (a per-frame mask) and `dub` (an empty audio latent plus the speaker reference wired into the guider); `mixed-media` took three more rounds (`20261023-124332-h100`, `-131909`, `-140409`) to settle the Klein first frame, the LoRA strength 0.7 and the 16 looks, and `20261023-143551-h100` (30 of 30) ran the looks on the final clip with the first 9 transformations of `morph`; `20261023-162024-h100` (14 of 14, peak 50.2 GB) ran the other 6 and the Cakeify showcase. The weak templates took three H100 rounds of `tplx-*` experiments (`20261023-222828-h100`, `20261023-225832-h100`, `20261024-000821-h100`) and three jobs of the lab queue on an L40S (`20261024-032920-l40s`, `-033622-l40s`, `-034326-l40s`): face swap works since the last two, with MediaPipe's face oval as the mask and the other photo as Klein's only reference. VRAM figures below are weight sizes; the lab's measured peaks show up in the web UI |
## Apps