Add TurboT2AV SageAttention, SageSLA and FastNorm submodule#132
Open
liuyuxiang1021 wants to merge 2 commits into
Open
Add TurboT2AV SageAttention, SageSLA and FastNorm submodule#132liuyuxiang1021 wants to merge 2 commits into
liuyuxiang1021 wants to merge 2 commits into
Conversation
85baa11 to
19dff3a
Compare
19dff3a to
8972961
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds TurboT2AV as an optional TurboDiffusion submodule for accelerated text-to-audio-video inference.
The submodule
mainbranch is rebuilt from the original inference branch and only adds inference-time acceleration:--sla_topk,--sla_block_q, and--sla_block_kcontrolsNot included in this integration:
Submodule
liuyuxiang1021/turbo-t2avmainc0e4506a40e9a4eb3ed5f34b0fe7dfcd3f26f084origin_inferenceatc99f03b7b615661f63513b3816ea6c62b754c5ceThe parent repository
.gitmodulestracksTurboT2AVonmain, and the submodule gitlink is pinned toc0e4506.Validation
Submodule checks:
git diff --checkpixi run python -m compileall packages/ltx-distillation/src/ltx_distillation/acceleration.py packages/ltx-distillation/src/ltx_distillation/tools/run_av_inference_eval.py--attention_type {default,sageattn,sla,sagesla},--sla_topk,--sla_block_q, and--sla_block_kH20 generator-only measurements documented in the README:
512x768, 121 frames, 4 prompts: default 4-step student2.53s/video; SageAttention self + FastNorm2.17s/video(1.16x)704x1280, 121 frames, first 4 prompts: SageSLA top-k sweep showed the quality/speed tradeoff; quality-firsttopk=1.0reached about1.10xwith lower visual error than sparse settings1024x1792, 121 frames, first 4 prompts: SageSLAtopk=0.4stress test improved median generator time from15.97s/videoto10.58s/video(1.51x), with visible quality changesThe README also explains why the attention speedup is lower than TurboDiffusion Wan2.1 720p SageSLA results: the default LTX path already uses an efficient attention backend, TurboT2AV has a shorter latent sequence at normal resolution, and non-attention work remains unchanged.