Skip to content

[diffusion] model: support two stage pipeline of LTX-2#20707

Merged
mickqian merged 60 commits intosgl-project:mainfrom
Prozac614:feat/ltx-two-stage
Apr 4, 2026
Merged

[diffusion] model: support two stage pipeline of LTX-2#20707
mickqian merged 60 commits intosgl-project:mainfrom
Prozac614:feat/ltx-two-stage

Conversation

@Prozac614
Copy link
Copy Markdown
Contributor

@Prozac614 Prozac614 commented Mar 16, 2026

Motivation

Modifications

Accuracy Tests

sglang generate \
  --model-path "Lightricks/LTX-2" \
  --pipeline-class-name LTX2TwoStagePipeline \
  --spatial-upsampler-path "/root/.cache/.../ltx-2-spatial-upscaler-x2-1.0.safetensors" \
  --distilled-lora-path "/root/.cache/.../ltx-2-19b-distilled-lora-384.safetensors" \
  --prompt "A cat walking in a beautiful garden with flowers" \
  --seed 10 \
  --height 512 \
  --width 768 \
  --num-frames 121 \
  --fps 24 \
  --num-inference-steps 40
A_cat_walking_in_a_beautiful_garden_with_flowers_20260318-080841_9ecdc0ad.mp4

Benchmarking and Profiling

Checklist

Review Process

  1. Ping Merge Oncalls to start the PR flow. See the PR Merge Process.
  2. Get approvals from CODEOWNERS and other reviewers.
  3. Trigger CI tests with comments or contact authorized users to do so.
    • /tag-run-ci-label, /rerun-failed-ci, /tag-and-rerun-ci
  4. After green CI and required approvals, ask Merge Oncalls to merge.

@github-actions github-actions Bot added the diffusion SGLang Diffusion label Mar 16, 2026
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@github-actions github-actions Bot added documentation Improvements or additions to documentation lora npu labels Apr 2, 2026
@mickqian mickqian force-pushed the feat/ltx-two-stage branch from 975c1d0 to f44ad8b Compare April 2, 2026 07:43
@mickqian mickqian changed the title [WIP][Feat] Support two stage pipeline of LTX-2 [diffusion] model: support two stage pipeline of LTX-2 Apr 3, 2026
@mickqian
Copy link
Copy Markdown
Collaborator

mickqian commented Apr 3, 2026

sglang generate \
    --model-path "Lightricks/LTX-2" \
    --pipeline-class-name LTX2TwoStagePipeline \
    --prompt "A beautiful sunset over the ocean" \
    --negative-prompt "shaky, glitchy, low quality, worst quality, deformed, distorted, disfigured, motion smear, motion artifacts, fused fingers, bad anatomy, weird hand, ugly, transition, static." \
    --width 1536 \
    --height 1024 \
    --num-frames 121 \
    --fps 24 \
    --seed 1234 \
    --num-gpus 1
A_beautiful_sunset_over_the_ocean_1-gpu.mp4

4 gpus:

A_beautiful_sunset_over_the_ocean_4-gpu.mp4

@mickqian mickqian merged commit db3d4f4 into sgl-project:main Apr 4, 2026
130 of 161 checks passed
JustinTong0323 pushed a commit to JustinTong0323/sglang that referenced this pull request Apr 7, 2026
…0707)

Co-authored-by: daiweitao <dwti614707404@163.com>
Co-authored-by: Mick <mickjagger19@icloud.com>
Co-authored-by: GMI Xiao Jin <xiao.j@gmicloud.ai>
Fridge003 pushed a commit that referenced this pull request Apr 7, 2026
Co-authored-by: daiweitao <dwti614707404@163.com>
Co-authored-by: Mick <mickjagger19@icloud.com>
Co-authored-by: GMI Xiao Jin <xiao.j@gmicloud.ai>
xiezhq-hermann pushed a commit to antgroup/sglang that referenced this pull request Apr 7, 2026
…0707)

Co-authored-by: daiweitao <dwti614707404@163.com>
Co-authored-by: Mick <mickjagger19@icloud.com>
Co-authored-by: GMI Xiao Jin <xiao.j@gmicloud.ai>
yhyang201 pushed a commit to yhyang201/sglang that referenced this pull request Apr 22, 2026
…0707)

Co-authored-by: daiweitao <dwti614707404@163.com>
Co-authored-by: Mick <mickjagger19@icloud.com>
Co-authored-by: GMI Xiao Jin <xiao.j@gmicloud.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

diffusion SGLang Diffusion documentation Improvements or additions to documentation lora npu run-ci

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants