Skip to content

Multiscale Pipeline [WIP: DO NOT MERGE] #201

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 37 commits into
base: main
Choose a base branch
from

Conversation

Serenagu525
Copy link
Collaborator

multiscale text-to-vid pipeline with rectified flow scheduler

Running Instructions

  1. Move files here https://github.com/Lightricks/LTX-Video/tree/main/ltx_video/models/autoencoders under src/maxdiffusion/models/ltx_video/models/autoencoders.
  2. For ltx_video/models/autoencoders/causal_video_autoencoder.py, change line 22 to where your attention file is
  3. Move files here https://github.com/Lightricks/LTX-Video/tree/main/ltx_video/utils to src/maxdiffusion/models/ltx_video/utils
  4. Move https://github.com/Lightricks/LTX-Video/blob/main/ltx_video/models/transformers/symmetric_patchifier.py to under src/maxdiffusion/models/ltx_video/transformers
  5. Add your safetensor location for ltxvid model to models_dir in src/maxdiffusion/configs/ltx_video.yml
  6. Add your jax weights location to ckpt_path in src/maxdiffusion/models/ltx_video/xora_v1.2-13B-balanced-128.json
  7. Edit generation paramters in src/maxdiffusion/configs/ltx_video.yml
  8. Run text-to-vid generation script using command python src/maxdiffusion/generate_ltx_video.py src/maxdiffusion/configs/ltx_video.yml

TODO

  1. Integrate vae
  2. Clean diffuser dependencies
  3. Dtype, generator coordination
  4. Reorg code to make donwloading easier
  5. Batching

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.

1 participant