Repository navigation
Studio: seed LTX-2.5 fp8 / int8 loads from hosted pre-quantized DiTs - #13516
Conversation
LTX-2.5 fp8 and int8 loads on the Diffusers pack (Lightricks/LTX-2.5-Diffusers) now take the DiT from unsloth/LTX-2.5-FP8 instead of quantizing the 38 GB bf16 transformer at load: - fp8 resolves LTX-2.5-FP8.safetensors. - int8 resolves LTX-2.5-INT8-ConvRot.safetensors (block-Hadamard rotation, group 256, recorded in the file's metadata), or LTX-2.5-INT8.safetensors with UNSLOTH_DIFFUSION_INT8_CONVROT=0. Quantizing at load stays plain int8: LTX-2.5 has no runtime ConvRot spec. - Keyed on the pack only (prequant_variant_repos). The single-file release, local folders and forks never seed it, and the loader refuses the files for any other base. - The plan prices the hosted DiT at its file size (fp8 19.06 GB, int8 25.11 GB). - Video catalog: an "LTX-2.5" group for the pack, shown as "LTX-2.5 (Fast FP8)" on hosts that run the dense quant, aliased to the prequant repo id. The repo is not published yet. Until it is, the Hub listing 404s, the plan keeps the dense transformer shards, and the load quantizes at load exactly as before.
|
@codex review |
|
You have reached your Codex usage limits for security reviews. Please try again later. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. What shall we delve into next? Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
LTX-2.5 fp8 and int8 loads on the Diffusers pack (
Lightricks/LTX-2.5-Diffusers) now take the DiT from the hosted unsloth/LTX-2.5-FP8 instead of quantizing the 38 GB bf16 transformer at load, the same way Qwen-Image-2.1 and LTX-2.3 do.LTX-2.5-FP8.safetensors(19.1 GB).LTX-2.5-INT8-ConvRot.safetensors(25.1 GB, block-Hadamard rotation at group 256, recorded in the file's metadata), orLTX-2.5-INT8.safetensorswithUNSLOTH_DIFFUSION_INT8_CONVROT=0.ltx-2.5joins the families whose int8 runs ConvRot by default. Quantizing at load stays plain int8.transformer/is the distilled DiT the files were built from (revisionda0b690960026eab794b8ceaf841233cf7064478). Single-file loads are unchanged.unsloth/LTX-2.5-FP8alias and the DiT parameter count, and on a host that runs a dense quant the pack row reads "Fast FP8", as the image rows do.Accuracy
Same-seed comparison against the bf16 DiT, T2V and I2V, seeds 42 and 7, 1280x704, 121 frames, 8 + 3 steps:
For scale, the bf16 compiled-vs-eager difference on LTX-2.5 is already LPIPS 0.38 (the euler-ancestral two-stage recipe amplifies bf16 rounding), so every file sits at or below that floor, and ConvRot is clearly below it. The hosted FP8 and INT8 files render bit-identical clips to quantizing at load, so they add no error over the existing path.
Testing
tests/test_video_ltx25_prequant.py: 29 passed on this branch, 11 of them fail on main.tests/test_video*.py,tests/test_diffusion_prequant*.py,tests/test_diffusion_transformer_quant*.py(CUDA hidden): 2694 passed, 96 skipped, 0 failed.npm run catalog:check: all assertions passed.LTX-2.5-INT8-ConvRot.safetensorsfrom the repo, logged "fingerprint verified (480 of 480 quantized weights)", "installed convrot_hadamard_v1 on 480 linears at group 256" and "skipping the runtime quantise", and rendered the default 121-frame T2V clip (41.6 GB card peak).Not covered: GPUs other than B200, torchao versions other than 0.18, and offloaded plans other than the 48 GiB cap above.