Commit Graph

13134 Commits

Author SHA1 Message Date
CalamitousFelicitousness 4dc8d659de feat(ltx): two-stage refine for condition variants
Conditions were built once at the user's chosen resolution, so condition
variants either ran same-res for both stages (blocked by the previous
gate) or fed base-res conditions to a final-res refine on the manual
upsample+refine path. Build conditions twice when staging is active:
once at base dims for Stage 1, once at final dims for Stage 2. Drop the
condition-class exclusion from supports_two_stage_refine.
2026-04-25 04:21:45 +01:00
CalamitousFelicitousness 5dbde4cbc4 fix(ltx): two-stage refine for Distilled 2.x T2V/I2V
auto_refine_upsample gated on supports_canonical_stage2 (Dev-only LoRA
path), so Distilled refine ran same-res for both stages and oversaturated.
Split the gate: supports_two_stage_refine covers any 2.x non-condition
variant and drives the staging plan plus UI Refine default;
supports_canonical_stage2 stays Dev-only for the LoRA branch.
2026-04-25 04:17:27 +01:00
Vladimir Mandic c1c89b8751 update gradio installer
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-04-25 00:09:31 +02:00
Vladimir Mandic ece0aee7bc update modernui
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-04-24 23:51:21 +02:00
Vladimir Mandic f0eeb26e27 fix full screen viewer
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-04-24 23:50:52 +02:00
Vladimir Mandic 1b5378eec6 history dont append video frames
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-04-24 09:38:11 +02:00
Vladimir Mandic b39f8c2a60 Merge pull request #4792 from awsr/minifixes
Typing, import, and UI file setup updates
2026-04-24 08:12:36 +02:00
awsr e9d74cea72 Fix typing 2026-04-23 16:49:50 -07:00
awsr 09f5fc6e03 Update concurrent.futures imports
Python 3.14 adds `concurrent.interpreters` and we don't need to import that here.
2026-04-23 16:49:31 -07:00
awsr e9781dac96 Import cleanup
- Remove unused import.
- Organize imports.
2026-04-23 16:27:36 -07:00
awsr bea726b5b3 Slightly improve console trace readability
- Shorten cache busting string to take up less room in the browser console.
2026-04-23 16:25:11 -07:00
awsr 6bb003126f Cleanup
- Use correct module access names.
- Remove old commented-out line.
2026-04-23 16:21:40 -07:00
awsr f39f48ce13 Don't send None to html_css function 2026-04-23 16:13:20 -07:00
Vladimir Mandic b472433a1d Merge pull request #4790 from awsr/ts2utc-fix
Fix invalid ts2utc behavior
2026-04-23 23:10:53 +02:00
awsr b99083425a Fix invalid ts2utc behavior 2026-04-23 12:50:14 -07:00
Vladimir Mandic f3bfa4d92c Merge pull request #4789 from awsr/fix-counter
Fix token estimate counter
2026-04-23 13:25:23 +02:00
vladmandic 40e550f1c3 add timer info
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-23 12:49:41 +02:00
awsr 1d5154e125 Don't display empty groups 2026-04-22 15:26:13 -07:00
awsr b18de2e9b5 Fix display typo 2026-04-22 15:25:56 -07:00
vladmandic 21b34a6fa7 update todo/changelog and submodules
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-21 22:24:59 +02:00
vladmandic ab7fd5b5e6 cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-21 19:45:51 +02:00
vladmandic db670b8bca fix sdnq-lora
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-21 19:44:18 +02:00
vladmandic 27a5c92b41 update packages
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-21 19:28:03 +02:00
vladmandic ba1f207cc6 update changelog and submodules
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-21 19:24:24 +02:00
Vladimir Mandic a4fc69133a Merge pull request #4783 from vladmandic/feat/ltx-tab-unification
Feat/ltx tab unification
2026-04-21 19:16:28 +02:00
Vladimir Mandic 4bed3af6e7 Merge branch 'dev' into feat/ltx-tab-unification 2026-04-21 18:54:50 +02:00
vladmandic 2f4fe4afe2 update logging
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-21 18:31:58 +02:00
vladmandic e70e559dce sync kanvas branch on startup
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-21 17:14:11 +02:00
vladmandic ab145c4a1c update kanvas
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-21 17:07:37 +02:00
Vladimir Mandic 0ad6582170 Merge pull request #4786 from awsr/json-helper-typing
JSON helper update
2026-04-21 15:09:50 +02:00
awsr 45bdda9fb7 Simplify code and run formatting 2026-04-21 04:24:29 -07:00
CalamitousFelicitousness 67c77f7c4f feat(ltx): default Refine on for Dev 2.x T2V/I2V
Lightricks' production recipe for Dev is Stage 1 + 2x upsample + Stage 2
refine. Until now the UI reset Refine to False on every model change, so
users picking Dev got a single-pass generation that does not match the
recommended flow. Default Refine to on for variants that support the
canonical Stage 2 recipe; multi-condition variants stay off.
2026-04-21 02:46:40 +01:00
CalamitousFelicitousness f72f89c993 chore(ltx): silent=True on run-internal offload walks
Modules already inventoried at load time; repeating the six-line dump at
each upsample or refine boundary is redundant. silent=True suppresses
the per-module DEBUG lines; op=init and Model class= INFO stay intact.
2026-04-21 02:14:52 +01:00
CalamitousFelicitousness b58f0ae282 fix(ltx): exclude shared VAE from upsample pipe balanced_offload
The upsample pipes receive shared.sd_model.vae as a constructor formality;
the forward pass is pure latent to latent. Main pipe already owns that
VAE's accelerate hook lifecycle, so walking it again from the upsample
pipe raises "Cannot copy out of meta tensor" when the main pipe has
offloaded params to meta. Skip it in the walk.
2026-04-21 02:13:58 +01:00
CalamitousFelicitousness f79e466183 refactor(ltx): rename temp_scheduler_opts to ltx_scheduler_opts
Per PR #4783 review; namespace the helper with the module.
2026-04-21 02:13:09 +01:00
awsr 35aab83ee0 Improve compatibility and add relevant typing 2026-04-20 14:45:34 -07:00
Vladimir Mandic de0af224ab Merge pull request #4785 from awsr/callback-guard
Implement callback guards
2026-04-20 10:41:48 +02:00
vladmandic 9193391030 update splash logger
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-20 09:18:46 +02:00
vladmandic 72b44f50fa fix typo and update kanvas
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-20 08:12:21 +02:00
CalamitousFelicitousness 7be6250b7a refactor(ltx): extract temp_scheduler_opts context manager
Collapses the scheduler + shared.opts snapshot/mutate/restore block in
run_ltx into a single `with temp_scheduler_opts(...)` statement. Same
five pieces of state are snapshotted and restored as before; the
mechanism is unchanged per PR #4783 thread 2 feedback, only readability.
2026-04-20 00:28:30 +01:00
CalamitousFelicitousness 7e5d040c4c refactor(ltx): address PR #4783 review threads 1, 3-6
LTXCaps gains a `variant` field ('0.9', '2.0', '2.3') replacing
`is_ltx_2_3`; variant-specific branches check `caps.variant == '2.3'`
instead of grepping the model name.

ltx_util.load_upsample_2x mirrors load_upsample's contract so the 2.x
path owns a module-level cache and stops reloading ~2.3 GB every run.
The cached pipe is stamped with a synthetic
`CheckpointInfo('ltx-upsampler-2.x')` so it gets its own OffloadHook
slot and can go through apply_balanced_offload without invalidating
the main pipe's module map. The hardcoded `.to('cpu')` and post-pass
torch_gc are gone; the second apply_balanced_offload handles spill.

video_overrides comment on OzzyGT LTX-2.3 connectors states plainly
that mirrors pack weights twice by design; ignore_patterns is the
surgical workaround, not an hf_hub bug.

Drive-by: load_upsample log line used `__class__.__name__` (always
'type'); switched to `__name__`.
2026-04-20 00:26:15 +01:00
awsr 31a7d19766 Implement callback guards 2026-04-19 15:13:22 -07:00
Vladimir Mandic 4c2f49d9ef Merge pull request #4784 from liutyi/dev
re-creating ERNIE covers. again.
2026-04-19 17:17:07 +02:00
vladmandic 9b940d09df update changelog
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-19 16:17:04 +02:00
vladmandic 6128e0f84b ui performance optimizations
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-19 16:14:19 +02:00
vladmandic 271a3421d6 ui init error handler
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-19 12:01:16 +02:00
Oleksandr Liutyi 61874da85a re-creating ERNIE covers. again. 2026-04-19 08:58:36 +00:00
vladmandic 7b96a2ca69 update changelog
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-19 10:18:48 +02:00
Vladimir Mandic 54785eeb9f Merge pull request #4782 from awsr/scripts-js-update
Minor update to `script.js`
2026-04-19 09:15:28 +02:00
CalamitousFelicitousness ef00f93570 fix(video): drop empty Model URL accordion on generic tab 2026-04-19 04:52:15 +01:00