Instructions to use Richard-ZZZZZ/wm_ltx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Richard-ZZZZZ/wm_ltx with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Richard-ZZZZZ/wm_ltx", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
| set -euo pipefail | |
| ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" | |
| RUN_TIMESTAMP="$(date +'%Y%m%d_%H%M%S')" | |
| BATCH_ROOT="${BATCH_ROOT:-${ROOT_DIR}/results/batch_compare_1024_${RUN_TIMESTAMP}}" | |
| declare -a RUNS=( | |
| "one_stage_1024:scripts/infer_ti2vid_one_stage_1024.sh" | |
| "two_stage_refine_1024:scripts/infer_ti2vid_two_stage_refine_1024.sh" | |
| "two_stage_ft_decoder_1024:scripts/infer_ti2vid_two_stage_ft_decoder_1024.sh" | |
| ) | |
| mkdir -p "${BATCH_ROOT}" | |
| for run_entry in "${RUNS[@]}"; do | |
| run_name="${run_entry%%:*}" | |
| run_script="${run_entry#*:}" | |
| echo "========================================" | |
| echo "Launching batch run: ${run_name}" | |
| echo "Run script : ${run_script}" | |
| echo "Output root : ${BATCH_ROOT}/${run_name}" | |
| echo "========================================" | |
| RUN_SCRIPT_REL="${run_script}" \ | |
| OUTPUT_ROOT="${BATCH_ROOT}/${run_name}" \ | |
| bash "${ROOT_DIR}/scripts/batch_run_ti2vid_cases.sh" | |
| done | |
| echo "========================================" | |
| echo "Finished batch comparison." | |
| echo "Outputs saved under: ${BATCH_ROOT}" | |
| echo "========================================" | |