Skip to content

Add LTX-2 19B Dev Model video generation pipeline with Classifier-Free Guidance (CFG)#15

Open
Blaizzy wants to merge 15 commits intomainfrom
pc/add-dev
Open

Add LTX-2 19B Dev Model video generation pipeline with Classifier-Free Guidance (CFG)#15
Blaizzy wants to merge 15 commits intomainfrom
pc/add-dev

Conversation

@Blaizzy
Copy link
Owner

@Blaizzy Blaizzy commented Jan 18, 2026

Summary

  • Add LTX-2 19B Dev Model video generation pipeline with Classifier-Free Guidance (CFG)
  • Optimize RoPE computation with precomputed frequencies and double precision support
  • Add comprehensive test suites for generate_dev, RoPE, and VAE streaming

Test Plan

  • Run pytest tests/test_generate_dev.py -v - verify all 32 tests pass
  • Test text-to-video generation: python -m mlx_video.generate_dev --prompt "A cat walking" --steps 20
  • Test image-to-video generation: python -m mlx_video.generate_dev --prompt "A cat walking" --image input.png

@testacode
Copy link

Hey! Looking forward to this merge.

Currently using mlx-video with mlx-community/LTX-2-dev-bf16 and hitting the hardcoded filename issue (ltx-2-19b-distilled.safetensors vs actual ltx-2-19b-dev.safetensors).

This PR would fix it. Any ETA on merge? Happy to help test if needed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants