[ltx-pipelines] i2v at 1216x832 crashes DiffVAE decoder with illegal memory access (t2v same res OK, i2v 704/768 OK)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 18/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Ambito
- ai, machine-learning
Direzione di ricerca
The crash sits in the chunked decoder path under ltx_core/model/video_vae/transformer/chunked/ — start by reading context.py (_upsample_then_ctx, deferred) and block.py:forward_x_ctx to see how tiles and context are shaped at 1216x832. Reproduce with the given command on a free GPU, or with a reduced harness that runs only the VAE decode on a latent of that shape, and instrument the tile boundaries at that specific resolution. Done means i2v at 1216x832 completes without the cuBLAS/illegal-address failure, or the pipeline rejects the shape with a clear error.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
ltx_pipelines.distilled with image conditioning at 1216x832 deterministically crashes in the DiffVAE decoder with cudaErrorIllegalAddress. Same resolution without --image works, and the same conditioning at 704/768 works — it is only the combination.
832 is a legal size (64x13) and passes the pipeline's own divisible-by-64 check.
Repro
python -m ltx_pipelines.distilled \
--transformer-path ltx-2.5-22b-distilled-transformer-nvfp4.safetensors \
--quantization nvfp4-prequant \
--text-encoder-path gemma4-12b-with-proj-ltx-2.5-bf16.safetensors \
--video-vae-path ltx-2.5-video-vae-bf16.safetensors \
--audio-vae-path ltx-2.5-audio-vae-bf16.safetensors \
--duration-head-path ltx-2.5-duration-head-bf16.safetensors \
--spatial-upsampler-path ltx-2.3-spatial-upscaler-x2-1.1.safetensors \
--image cond_1216x832.png 0 1.0 \
--width 1216 --height 832 --num-frames 97 --seed 101 \
--prompt "The camera slowly pushes in over the hillside city" \
--output-path out.mp4
Isolation
| config | result |
|---|---|
t2v 1216x832 (no --image) |
OK |
| i2v 1216x704 | OK |
| i2v 1216x768 | OK |
| i2v 1216x832 | FAIL 3/3 (seeds 101/102/103) |
| i2v 1216x736 / 1216x800 | graceful ValueError (not divisible by 64) — expected |
Traceback (tail)
ltx_core/model/video_vae/transformer/chunked/block.py:51 in forward_x_ctx
ltx_core/model/video_vae/transformer/chunked/context.py:77 in deferred
ltx_core/model/video_vae/transformer/chunked/context.py:27 in _upsample_then_ctx
RuntimeError: CUDA error: CUBLAS_STATUS_INTERNAL_ERROR when calling cublasGemmStridedBatchedEx(...)
torch.AcceleratorError: CUDA error: an illegal memory access was encountered
Failure is in the decoder's chunked upsample path, not the sampler — looks like a tile-boundary issue at this specific latent shape. Possibly related to #277 (DiffVAE tiling at a boundary), different symptom.
Environment
- LTX-2 @
400fd31, ltx-pipelines/ltx-core/ltx-kernels 1.2.0 - torch 2.13.0+cu132, natten 0.21.7+torch2130cu132 (pinned wheel), CUDA 13.2
- NVIDIA RTX PRO 6000 Blackwell (sm120), driver 595.45.04
- Distilled NVFP4 transformer,
--quantization nvfp4-prequant - GPU otherwise idle (ruled out VRAM starvation — a separate tenant on the card produced OOM/cuBLAS errors that looked similar; these runs were on a free card)
Aside
Model card says width/height must be divisible by 32; the two-stage pipeline enforces 64. Worth aligning the docs.
Workaround: keep i2v at 1216x704 or 1216x768.
- Lingua principale
- Python
- Stelle
- 10k
- Fork
- 1.6k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Lightricks/LTX-2
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Lightricks/LTX-2#336 · 1 commento ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
Lightricks/LTX-2#335 · 3 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 34/100
Lightricks/LTX-2#334 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
Lightricks/LTX-2#318 ·
-
[Training Details of dubit]Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
Lightricks/LTX-2#311 ·
Tutte le issue di Lightricks/LTX-2
Issue simili
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
splunk/security_content#4418 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug / Enhancement]: Improve teleop_robot CLI with configurable timeout, robust input validation, and clean ROS shutdownForse già presa @muskan-creates352 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 3 giorni
-
bug(pipelines): shortcode stripping deletes text between a {{< >}} shortcode and the next {{% %}}Forse già presa @Ashborne-lab l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
kubeflow/docs-agent#293 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Imbad0202/academic-research-skills#1093 ·
I maintainer di solito rispondono entro 1 giorno
-
Input: placeholder drawn in the text colour when the empty Input is focused but not yet editedAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
pierreaubert/gpui-toolkit#114 ·
I maintainer di solito rispondono entro 1 giorno