Daniel Han
041f1b9ecb
Fix video load crash when speed optimisations engage
...
The load tail re-ran the already-filtered speed_optims tuple through
.items() as if it were still the raw applied dict from apply_speed_optims.
An empty tuple short-circuited to {} so CPU test runs passed, but on a real
GPU at least channels_last engages, the tuple is truthy, and every load
failed with 'tuple' object has no attribute 'items'. Store the filtered
tuple directly and add a regression test that forces one optimisation to
engage.
2026-07-05 06:36:19 +00:00
Daniel Han
aa5c9e3a12
Merge branch 'video-tab' into video-wan
2026-07-05 05:36:05 +00:00
Daniel Han
e8194ef453
Merge branch 'video-inference' into video-tab
2026-07-05 05:36:04 +00:00
Daniel Han
cab60395c4
Merge branch 'diffusion-more-families' into video-inference
2026-07-05 05:36:02 +00:00
Daniel Han
ca8365da72
Merge branch 'diffusion-auto-badges' into diffusion-more-families
2026-07-05 05:36:01 +00:00
Daniel Han
49f1e352f2
Merge branch 'diffusion-auto-install' into diffusion-auto-badges
2026-07-05 05:36:00 +00:00
Daniel Han
ff22c434b4
Merge branch 'diffusion-fp16-accum' into diffusion-auto-install
2026-07-05 05:35:59 +00:00
Daniel Han
10ba804db7
Merge branch 'diffusion-auto-policy' into diffusion-fp16-accum
2026-07-05 05:35:58 +00:00
Daniel Han
a61e56b975
Merge branch 'diffusion-train-perf2' into diffusion-auto-policy
2026-07-05 05:35:56 +00:00
Daniel Han
6a9db8017b
Merge branch 'diffusion-krea2' into diffusion-train-perf2
2026-07-05 05:35:55 +00:00
Daniel Han
e0786a98be
Merge branch 'diffusion-train-tab-2' into diffusion-krea2
2026-07-05 05:35:54 +00:00
Daniel Han
1978b2a844
Merge branch 'diffusion-train-precision' into diffusion-train-tab-2
2026-07-05 05:35:53 +00:00
Daniel Han
1919491665
Merge branch 'diffusion-train-perf' into diffusion-train-precision
2026-07-05 05:35:52 +00:00
Daniel Han
dfe15c8141
Merge branch 'image-generation' into diffusion-train-perf
2026-07-05 05:35:50 +00:00
Daniel Han
fc35c40c18
Return 404 for malformed diffusion run records in the detail route
...
The run detail route built DiffusionTrainingRunDetail(**rec) unguarded, so a
valid-JSON-but-wrong-shape record (hand-edited or an older schema) would 500
instead of reading as absent. Catch ValidationError and 404, matching how the
list route skips malformed records.
2026-07-05 05:34:18 +00:00
Daniel Han
14f4e7ef7c
Keep standalone chat templates in the scoped video download
...
tokenizer/chat_template.jinja ships as its own file in the LTX-2 and
HunyuanVideo-1.5 repos and apply_chat_template reads it at generation
time, so a scoped snapshot without it loads fine and then crashes the
first generation.
2026-07-05 05:32:24 +00:00
Daniel Han
7a05d8655b
Stream every DiT through group offload, not just the primary transformer
...
A dual-DiT pipeline (Ideogram 4's unconditional tower) placed its second
denoiser resident under the group tier, which defeats the tier since the
pair rarely fits where one alone did not. Stream transformer_2 and
unconditional_transformer alongside the transformer and keep only the
smaller companions resident.
2026-07-05 05:30:58 +00:00
Daniel Han
d6795ed077
Restore pre-Ampere bf16 fail-fast in the DiT trainer
...
The perf rewrite dropped the bf16 capability guard, so a pre-Ampere CUDA
device (T4/V100/RTX 20xx) would die deep in model load with an opaque dtype
error instead of a clear message. Restores parity with the SDXL trainer.
2026-07-05 05:27:58 +00:00
pre-commit-ci[bot]
de2cddc606
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2026-07-05 05:25:40 +00:00
Daniel Han
a274308330
Check the cancel event between predownload files and probe local dirs for LTX-2.3
...
A warm-cache predownload sweep never consults the cancel event (each cached
file returns instantly), so an unload during it was ignored until a cold
file hit the network. The 2.3 detection also only probed bare-file local
repos; resolve directory repos through the same child resolver the loader
uses so their base pull is scoped too.
2026-07-05 05:25:03 +00:00
Daniel Han
61ba5fac50
Merge branch 'video-tab' into video-wan
2026-07-05 05:01:22 +00:00
Daniel Han
1023758a10
Merge branch 'video-inference' into video-tab
2026-07-05 05:01:21 +00:00
Daniel Han
ef6f18c1ba
Merge branch 'diffusion-more-families' into video-inference
2026-07-05 05:01:20 +00:00
Daniel Han
f114020def
Merge branch 'diffusion-auto-badges' into diffusion-more-families
2026-07-05 05:01:19 +00:00
Daniel Han
93371c1ba2
Merge branch 'diffusion-auto-install' into diffusion-auto-badges
2026-07-05 05:01:18 +00:00
Daniel Han
124476a5a7
Merge branch 'diffusion-fp16-accum' into diffusion-auto-install
2026-07-05 05:01:16 +00:00
Daniel Han
bcb3b90ac4
Merge branch 'diffusion-auto-policy' into diffusion-fp16-accum
2026-07-05 05:01:15 +00:00
Daniel Han
9c219a9cac
Merge branch 'diffusion-train-perf2' into diffusion-auto-policy
2026-07-05 05:01:14 +00:00
Daniel Han
94dff34968
Merge branch 'diffusion-krea2' into diffusion-train-perf2
2026-07-05 05:01:13 +00:00
Daniel Han
d13c1d37c9
Merge branch 'diffusion-train-tab-2' into diffusion-krea2
2026-07-05 05:01:12 +00:00
Daniel Han
017ef14877
Merge branch 'diffusion-train-precision' into diffusion-train-tab-2
2026-07-05 05:01:10 +00:00
Daniel Han
54159ac64b
Merge branch 'diffusion-train-perf' into diffusion-train-precision
2026-07-05 05:01:09 +00:00
Daniel Han
34a8459f2f
Merge branch 'image-generation' into diffusion-train-perf
2026-07-05 05:01:08 +00:00
pre-commit-ci[bot]
cbf212611e
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2026-07-05 05:00:48 +00:00
pre-commit-ci[bot]
848b8da9f2
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2026-07-05 05:00:18 +00:00
pre-commit-ci[bot]
4064332a92
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2026-07-05 04:59:43 +00:00
pre-commit-ci[bot]
ea1aa16d6f
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2026-07-05 04:59:12 +00:00
pre-commit-ci[bot]
237d197b5d
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2026-07-05 04:58:38 +00:00
pre-commit-ci[bot]
5732e3adc5
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2026-07-05 04:58:06 +00:00
pre-commit-ci[bot]
c475f7da00
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2026-07-05 04:57:35 +00:00
pre-commit-ci[bot]
09ff9e24f9
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2026-07-05 04:57:03 +00:00
Daniel Han
6dfc176c7d
Merge branch 'video-tab' into video-wan
2026-07-05 04:56:31 +00:00
Daniel Han
7ea4c50c8c
Merge branch 'video-inference' into video-tab
2026-07-05 04:56:30 +00:00
pre-commit-ci[bot]
bcf25ca569
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2026-07-05 04:56:29 +00:00
Daniel Han
9debe8a43b
Merge branch 'diffusion-more-families' into video-inference
2026-07-05 04:56:28 +00:00
Daniel Han
d89ed5c6ff
Merge branch 'diffusion-auto-badges' into diffusion-more-families
2026-07-05 04:56:27 +00:00
Daniel Han
01a0930566
Merge branch 'diffusion-auto-install' into diffusion-auto-badges
2026-07-05 04:56:26 +00:00
Daniel Han
c6ea78b087
Merge branch 'diffusion-fp16-accum' into diffusion-auto-install
2026-07-05 04:56:24 +00:00
Daniel Han
c5524b0d7f
Merge branch 'diffusion-auto-policy' into diffusion-fp16-accum
2026-07-05 04:56:23 +00:00
Daniel Han
f39e997523
Merge branch 'diffusion-train-perf2' into diffusion-auto-policy
2026-07-05 04:56:22 +00:00