elismasilva's picture
Expose optional LTX attention dispatch override
9a0dec6
|
Raw History Blame Contribute Delete
1.81 kB
# LTX 2.3 video developer contracts
Code is an independent custom-block repository. The examples host ignores its clone,
so edits/commits here are separate from host Git. Keep root modular_config and
entry-module exports compatible with trusted Hub loading and local loading.
Stages expose explicit component/state contracts, not a call into the conventional
pipeline hidden behind one block. Preserve checkpoint keys, shapes and defaults.
Preserve causal frame grids, explicit condition timelines, separate guiders/schedulers and finite audio. Chunking, compact timesteps, residual/RoPE reuse and compute callbacks are explicit LTX options, not generic DDO math. Do not silently enable kernels, change schedules or transfer image acceptance to video.
Keep source-derived copyright/license notices unchanged. Do not patch installed
Diffusers classes globally; model-local extensions stay in this repository.
Generic allocator/cache/pressure/transport belongs to DDO/allocator, not these blocks.
The LTX attention processors expose an instance-level `attention_dispatch_override`
for hosts that explicitly select a video self-attention backend. It receives the
post-normalization, post-RoPE Q/K/V and the standard dispatch keyword arguments.
The original dispatch remains the default, including for perturbation-masked calls.
Validate CPU loading/graph/API parity with tests/test_merge_compat_cpu.py and the examples host video/streaming contracts. Before CUDA/benchmark changes,
show exact workload/command and criteria and await approval. Do not claim GPU or
quality acceptance from mocked CPU tests or transfer a different model's results.
README indexes public user/developer docs. Historical notes/logs live under ignored
.internal/documentation with separate backup, not as required contributor inputs.