This repository has been archived on 2026-11-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
radiance-sycl/data/recipes/ltx-2.5-fp8.recipe
T
Deadcode 685ec5bd85 radiance 1.9.0
New models:
- LTX-2.5 (base and distilled): video with a stereo soundtrack from text or from text and a first
  frame, on one card, with its duration head, tiled VAE decoding, the diffusion decoder and the x2
  latent upsampler
- Krea 2 Raw and Turbo, and FLUX.3 [klein] and its base: text to image, and for FLUX.3 edits from up
  to ten reference pictures, on one card
- GLM-5.3-Flash from AMD's Quark MXFP4 export, on eight cards (John McDonough, Nunze)
- Gemma 3 / TranslateGemma 27B with an optional DFlash2 drafter (mici81)

Engine:
- --kv-cache-dtype fp8_v4 and k6_v4 for Gemma 3 and Qwen3.8-Flash-Next (mici81)
- the rotated int8 trunk (i8a8h) for Qwen3.8-27B (eddie168168)
- eight-rank all-reduce bands, weighted shards and pieces (Nunze); --host-headroom-mib (sfjes)
- the dashboard shows the single-stream decode floor and its most recent window (Memoria)

Fixes: prefix-cache reservations kept until their save lands (baKon), tool calls in Responses
namespaces (#119), system messages merged when a template refuses several (#137), a prefill
continued with no open step (#127), calibration of a Gram accumulation (#122), JSON Schema patterns
read unanchored (davetha), GLM-style tool calls, the KV floor counting every sequence's state.
Plugin ABI 24.
2026-10-19 21:58:07 +02:00

38 lines
2.6 KiB
Plaintext

# ltx-2.5-fp8.recipe -- LTX-2.5 (the base or the distilled DiT) with block-scaled fp8 linears.
#
# rad-convert <LTX-2.5 diffusers pipeline directory> --recipe data/recipes/ltx-2.5-fp8.recipe \
# -o ltx-2.5-fp8.rad
#
# Every linear of the text encoder (Gemma 4), of the two connectors and of the DiT's 48 blocks
# becomes E4M3 codes with a bf16 scale a 128 x 128 block, read by the fp8a8 GEMMs over activations
# quantised the same way; the biases stay bf16 and are added after. What stays bf16 is small or
# read once a step: the attention gates' logits, the q and k norms, the patch projections, the
# timestep MLPs and the tables, the connectors' registers, both VAEs and the latent upsampler.
# The vocoders are cast to f32, which their convolutions and anti-aliased activations run in
# (a pipeline saved in bf16 holds them bf16); the spectrogram bases stay bf16.
te.blk.*.attn_q.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
te.blk.*.attn_k.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
te.blk.*.attn_v.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
te.blk.*.attn_output.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
te.blk.*.ffn_gate_up.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
te.blk.*.ffn_down.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
conn.*.proj.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
conn.*.blk.*.qkv.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
conn.*.blk.*.out.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
conn.*.blk.*.ff_up.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
conn.*.blk.*.ff_down.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
dit.blk.*.qkv.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
dit.blk.*.q.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
dit.blk.*.kv.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
dit.blk.*.out.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
dit.blk.*.ff_up.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
dit.blk.*.ff_down.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
dit.blk.*.audio_ff_up.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
dit.blk.*.audio_ff_down.weight rtn codes=fp8_e4m3 block=128x128 scale=bf16
voc.conv_* cast dtype=f32
voc.upsamplers.* cast dtype=f32
voc.resnets.* cast dtype=f32
voc.act_out.* cast dtype=f32
bwe.* cast dtype=f32