Skip to content

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

Open
Blaizzy wants to merge 3 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 3 commits intomainfrom
pc/add-dev

Conversation

@Blaizzy
Copy link
Copy Markdown
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

…LI options, and usage examples. Add sections for audio-video generation, image-to-video conditioning, and detailed configuration options.
…and return descriptions for improved clarity.
@testacode
Copy link
Copy Markdown

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!

@Blaizzy Blaizzy changed the base branch from main to pc/unify-apis March 11, 2026 18:09
@Blaizzy
Copy link
Copy Markdown
Owner Author

Blaizzy commented Mar 11, 2026

@testacode thanks for the patience!

I have another PR that includes this one, just give me a couple days

Base automatically changed from pc/unify-apis to main March 18, 2026 21:04
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