ltx-2.5 on Tenstorrent p300x2
Derived from Lightricks/LTX-2.5 (the distilled 22B checkpoint, weights unmodified). The TTNN port is the tt_dit LTX pipeline (models/tt_dit/pipelines/ltx) with the LTX-2.5 Gemma-4 text path.
LTX-2.5 distilled: a 22B joint audio-video diffusion transformer that generates a video clip and its
synchronised stereo soundtrack from a text prompt, optionally conditioned on a first frame, a last frame or
interior keyframes. Everything runs on device: the Gemma-4 12B text encoder, the two-stage DiT (half-resolution
denoise, 2x latent upsample, full-resolution refine), the DiffVAE or conv video decoder and the audio VAE + vocoder.
The default profile follows upstream's ltx_pipelines.distilled recipe (ltx-pipelines 1.4 and later): 1536x1024
output, the distilled 8+3-step schedule with the ancestral Euler sampler on both stages, the duration head choosing
the clip length, seed 10, 24 fps.
Architecture: 48-block AV DiT (4096 hidden, 32 heads), Gemma-4 12B text encoder, DiffVAE / causal conv video
decoder, mel VAE + BWE vocoder, duration head. A community bring-up.
Samples
Unedited outputs of this package's default profile on a QuietBox 2, with sound (unmute the players). Seed 10 unless noted; the same request reproduces the same file.
1536x1024, 3.4 s (duration head). A red fox trotting through fresh snow at dawn, its breath steaming, soft crunching footsteps and distant birdsong | 1536x1024, 4.4 s (duration head). A hummingbird hovering at a red hibiscus flower in slow motion, iridescent feathers, soft garden ambience and the hum of wings |
1536x1024, 3.4 s (duration head). A drone shot gliding over a misty pine forest valley at sunrise, a river winding below, birdsong and a gentle wind | 1536x1024, 2.7 s (duration head). A barista pouring latte art into a white cup in a cozy cafe, steam rising, espresso machine hissing and soft chatter |
1536x1024, 3.4 s (duration head). A lighthouse on a rocky cliff during a thunderstorm at night, lightning flashes, crashing waves and howling wind | 960x576, 5 s. Ocean waves crashing on black volcanic rocks at sunset, spray in the air, roaring surf (seed 11) |
Runs on Tenstorrent p300x2 β see the serving profiles below.
Packaged and published with tt-model-manager 0.1.0 (manifest schema 5.1).
At a glance
| Hardware | p300x2 |
| License | LTX-2.x Community License Agreement |
Intended use
Short generated video clips with sound (up to 5 s from 720p to 1080p, 10 s at 540p), one request at a time, from a text prompt or a prompt plus conditioning images.
Prerequisites
- The Tenstorrent CLI,
tt:uv tool install tenstorrent(or use tt-model alone, see the Quickstart) - Docker
- Tenstorrent hardware: p300x2
- 1 GB hugepages mounted at
/dev/hugepages-1G - About 75 GB of disk for the weights (seven files of the
Lightricks/LTX-2.5repo, which is gated: accept its licence on the Hub and log in withhf auth loginfirst) - About 30 GB more for the compiled-kernel cache the first boot builds (kept, so later boots take ~4.5 min)
- About 125 GB of host RAM for the default profile: weights paged off the chips between stages are kept in RAM, not on disk (the server process measured ~105 GB at ready and levels off at ~120 GB as it serves several canvases)
Quickstart
tt serve raahemnabeel/ltx-2.5
tt serve downloads the Docker image and the Lightricks/LTX-2.5 at 69ecadd4932572caf956135d41cbcdbd697aa442 weights (into your HF cache; they are not in the image), then starts the model's own HTTP server on port 20000 (or the next free port, if that one is busy). The first start compiles kernels for your device, which takes several minutes; the server is ready when it logs Application startup complete.
Without tt-cli: tt-model serve raahemnabeel/ltx-2.5.
Try it
curl -s localhost:20000/v1/health
ID=$(curl -s localhost:20000/v1/videos/generations -H 'Content-Type: application/json' \
-d '{"prompt":"A red fox trotting through fresh snow at dawn, its breath steaming, soft crunching footsteps and distant birdsong"}' \
| python3 -c 'import json,sys; print(json.load(sys.stdin)["id"])')
until [ "$(curl -s localhost:20000/v1/videos/generations/$ID | python3 -c 'import json,sys; print(json.load(sys.stdin)["status"])')" = completed ]; do sleep 2; done
curl -s localhost:20000/v1/videos/generations/$ID/download -o fox.mp4
That request uses upstream's defaults: 1536x1024, the length picked by the duration head, seed 10.
Image-to-video: add "image": "<base64 PNG/JPEG>" (the first frame), or "image_prompts": [{"image": "...", "position": "first"|"last"|<frame>, "strength": 1.0}]
for a last frame or interior keyframes. Faster bf8 profile (1280x704, 5 s only): tt-model serve raahemnabeel/ltx-2.5 --profile p300x2-fast.
Serving profiles
Select a different serving profile using --profile.
| profile | hardware | mesh | description |
|---|---|---|---|
p300x2 (default) |
p300x2 | QB2 | QuietBox 2 (two p300 boards, four chips as a 2x2 mesh). |
p300x2-fast |
p300x2 | QB2 | QuietBox 2, bf8 DiT linears, 6+1 steps, every model resident, traced at 1280x704 x 5 s (its only canvas); ~3x faster, slightly softer. |
Capabilities
This package exposes the model's own HTTP server on port 20000, not an OpenAI-compatible chat API β its request and response shapes are the model's own. See the author's notes for the payload it expects.
POST /v1/videos/generations returns 202 and a job; poll GET /v1/videos/generations/{id} until status is
completed, then fetch the mp4 from GET /v1/videos/generations/{id}/download. DELETE on the job cancels it
while queued (a running job finishes). GET /v1/capabilities lists the canvases and limits; GET /v1/health
reports readiness. Set LTX_API_KEY in the server's environment to require Authorization: Bearer <key> on every
endpoint except the health checks.
| field | meaning | default (p300x2) |
|---|---|---|
prompt |
text prompt (describe the sound too: audio is generated with the video) | required |
resolution + aspect_ratio |
540p, 720p, 1024p, 1080p and 3:2, 2:3, 16:9, 9:16, 1:1, 4:3, 3:4 (1080p: 16:9 / 9:16) |
1024p, 3:2 = 1536x1024, upstream's default |
width, height |
explicit canvas, multiples of 64 (upstream's stage-1 multiple of 32) | |
num_frames or duration_seconds |
clip length at 24 fps, floored onto 8n+1 frames like upstream | the duration head's prediction (1 s up to the canvas cap) |
seed |
same request + seed on the same profile gives the same file | 10 (upstream's default) |
image / image_prompts |
conditioning frames (first, last, or a frame index) with a strength, CRF 18 like upstream |
none |
Video is h264 at 24 fps; audio is 48 kHz stereo AAC. Length caps: 5 s (121 frames) at 720p, 1024p and 1080p, 10 s at 540p. Clips up to 1280x704x121 decode with the DiffVAE (upstream's decoder); larger ones with the conv VAE, the lighter decoder Lightricks ships for the same latents, because the DiffVAE does not fit four chips above that.
Browser demo
code/models/tt_dit/pipelines/ltx/server/demo_gradio.py is a small Gradio front end for the API above. It runs on any
machine that can reach the server's port, outside the container:
hf download raahemnabeel/ltx-2.5 code/models/tt_dit/pipelines/ltx/server/demo_gradio.py --local-dir ltx-demo
pip install "gradio>=4.44" requests
python ltx-demo/code/models/tt_dit/pipelines/ltx/server/demo_gradio.py --url http://localhost:20000 # --share for a public link
It offers a prompt, optional first/last frame images, the resolution, length and seed (the fast profile's one canvas only), shows the job's progress and plays the result.
Expected performance
Measured end to end through this package's server on a QuietBox 2 (2x p300c), warm, with audio. Request = the HTTP job time for a new prompt, including the text encode and the duration head.
| profile | canvas, length | text-to-video | image-to-video |
|---|---|---|---|
p300x2 (default, bf16 8+3) |
1536x1024, duration head (2.7-4.4 s) | 19-22 s at the warmed lengths, 30-40 s otherwise | 22-39 s |
p300x2 |
1536x1024, 5 s | 28 s | |
p300x2 |
1920x1088, 5 s | 36 s | |
p300x2 |
1280x704, 5 s (DiffVAE decode) | 24 s | |
p300x2 |
960x576, 10 s | 52 s | |
p300x2-fast (bf8 6+1, everything resident) |
1280x704, 5 s | 7.1 s | 9.0 s |
Boot: about 39 min the first time on a machine (kernel compile, including every length the duration head can pick at 1536x1024), about 4.5 min after that. The first request at another canvas or length compiles its kernels once (1-3 min, cached on disk afterwards). A canvas the server has not served recently also rebuilds its upsampler and decoder (10-15 s, see Limitations).
| eval | p300x2 |
p300x2-fast |
samples |
|---|---|---|---|
| CLIP score (ViT-B/32 x100, mean of 8 frames) | 30.8 | 30.8 | 5 prompts |
| First-frame fidelity, image-to-video (PCC / PSNR vs the image) | 0.9986 / 37.2 dB | 0.9993 / 36.7 dB | 5 / 1 images |
| Last-frame fidelity (PCC / PSNR) | 0.991-0.998 / 29.9-32.8 dB | 0.996 / 36.1 dB | 2 / 1 images |
| Video PCC vs PyTorch reference | 0.934 (22.4 dB) | 768x512x41 | |
| Audio log-mel PCC vs PyTorch reference | 0.990 | 768x512x41 |
The reference is upstream ltx_pipelines.distilled on CPU with the DiT in fp32, fed the same noise draws, both
sides decoding with the conv VAE. For scale, upstream's own bf16 run lands at 0.840 (18.5 dB) video PCC and 0.994
log-mel against the same reference: the distilled ancestral sampler amplifies small numeric differences over its 11
steps. Step by step, given the reference's input at each step, the TT DiT matches the reference's output at
PCC >= 0.9956 (video) and >= 0.9997 (audio), and the decoders reproduce the reference's frames at 0.9994 (42.5 dB)
from matching latents. Every output is byte-reproducible for a given request, seed and profile.
Limitations
- One request at a time.
LTX_MAX_QUEUE(default 4, counting the running job) bounds the queue; a fuller one returns 429. - The DiffVAE only fits up to 1280x704x121 on four chips; larger clips decode with the conv VAE.
- The fast profile serves 1280x704 at 5 s only (text and image conditioning). It is traced at that shape; other canvases and lengths are refused with a pointer to the default profile. An image-conditioned request runs untraced, so the next text-only request re-captures the traces first (~26 s once).
- Distilled model only: no CFG/negative prompt, no Pro checkpoint, no IC-LoRAs, no temporal upscaler, no video-to-video, and the duration head is capped at 5 s (10 s at 540p) rather than upstream's 20 s.
- Only the QuietBox 2 (p300x2) is supported. The bf16 DiT alone is 22 GB per chip on four chips; one- and two-chip boards are not served by this package.
- Host RAM per canvas. Each canvas/length keeps its upsampler and decoder in host RAM (~11 GB at 1536x1024).
The boot-warmed default lengths and the two most recently used other canvases are kept (
LTX_SHAPE_BANK_MAX); an older one is rebuilt from the checkpoint when it returns (10-15 s). - The two profiles use different precisions and schedules, so the same prompt and seed give different clips across profiles. Pin the profile if you pin output bytes.
- Audio level depends on the prompt: describe the sound, or quiet scenes come out near silent.
- Every boot converts the checkpoint (~2 min) rather than keeping a ~70 GB converted-weight cache on disk.
Licensing
Model weights are under the LTX-2.x Community License (free for commercial use under $10M annual revenue; see the weights repo). This package only points at the weights and does not redistribute them. The TTNN port and the serving code under code/ are Apache-2.0.
Feedback
Questions or problems with this package: open a discussion at https://huggingface.co/raahemnabeel/ltx-2.5/discussions β that is what reaches its author. A problem with the tt tooling itself: tt report issue (collects your environment and opens a prefilled issue against tenstorrent/tt-cli). Product feedback: support@tenstorrent.com.
Provenance
The exact sources the image was built from β code/ in this repo is byte-identical to the model code inside the image:
| component | built from |
|---|---|
| tt-metal | a local checkout β commit not published (dirty tree β the image includes uncommitted changes) |
code/ digest |
45839a5a497f3fa4 (sha256, first 16 hex digits) |
| built | 2026-12-03T13:47:05+00:00 by tt-model 0.1.0 |
Model tree for raahemnabeel/ltx-2.5
Base model
Lightricks/LTX-2.5