Repository navigation
[CI][Perf] Add Wan22 i2v perf nightly ci #3063
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
Merged
Merged
Changes from 4 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
6d48319
[CI][Perf] Add Wan2.2 I2V nightly perf config
bjf-frz e57e925
[CI][Bugfix] Sanitize diffusion perf log filename backend
bjf-frz 7179ea3
[CI][Perf] Clarify diffusion benchmark backend resolution
bjf-frz 2e4bbff
[CI][Perf] Tune Wan2.2 I2V perf cases
bjf-frz 56106c9
[CI][Perf] Adjust Wan2.2 I2V perf for 2 GPUs
bjf-frz 5d59c12
[CI][Perf] Tune Wan2.2 I2V H100 baselines
bjf-frz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,15 +12,15 @@ | |
| - v1/videos: Use /v1/videos endpoint | ||
|
|
||
| Usage: | ||
| # Video (vllm-omni backend) | ||
| # Video (v1/videos backend) | ||
| t2v: | ||
| python3 benchmarks/diffusion/diffusion_benchmark_serving.py \ | ||
| --backend vllm-omni --dataset vbench --task t2v --num-prompts 10 \ | ||
| --backend v1/videos --dataset vbench --task t2v --num-prompts 10 \ | ||
| --height 480 --width 640 --fps 16 --num-frames 80 | ||
|
|
||
| i2v: | ||
| python3 benchmarks/diffusion/diffusion_benchmark_serving.py \ | ||
| --backend vllm-omni --dataset vbench --task i2v --num-prompts 10 | ||
| --backend v1/videos --dataset vbench --task i2v --num-prompts 10 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
|
||
|
|
||
| # Image (vllm-omni backend) | ||
|
|
@@ -49,7 +49,7 @@ | |
| --backend openai --dataset vbench --task t2i --num-prompts 10 \ | ||
| --height 1024 --width 1024 --port 3000 | ||
|
|
||
| # Video (v1/vedeos) | ||
| # Video (v1/videos) | ||
| t2v: | ||
| python3 benchmarks/diffusion/diffusion_benchmark_serving.py \ | ||
| --backend v1/videos --dataset random --task t2v --num-prompts 1 \ | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,107 @@ | ||
| [ | ||
| { | ||
| "test_name": "test_wan22_i2v_single_device", | ||
| "description": "Single-device baseline", | ||
| "server_type": "vllm-omni", | ||
| "server_params": { | ||
| "model": "Wan-AI/Wan2.2-I2V-A14B-Diffusers", | ||
| "serve_args": { | ||
| "enable-diffusion-pipeline-profiler": true | ||
| } | ||
| }, | ||
| "benchmark_params": [ | ||
| { | ||
| "name": "832x480_frames81_steps4", | ||
| "dataset": "random", | ||
| "task": "i2v", | ||
| "num-prompts": 10, | ||
| "max-concurrency": 1, | ||
| "num-input-images": 1, | ||
| "seed": 42, | ||
| "enable-negative-prompt": true, | ||
| "random-request-config": [ | ||
| { | ||
| "width": 832, | ||
| "height": 480, | ||
| "num_inference_steps": 4, | ||
| "num_frames": 81, | ||
| "fps": 16, | ||
| "weight": 1 | ||
| } | ||
| ], | ||
| "baseline": { | ||
| "throughput_qps": 0.012, | ||
| "latency_mean": 70.0, | ||
| "peak_memory_mb_mean": 79000 | ||
| } | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "test_name": "test_wan22_i2v_usp4_vae_patch4_hsdp_slicing", | ||
| "description": "USP=4 + VAE patch parallel=4 + HSDP + VAE slicing", | ||
| "server_type": "vllm-omni", | ||
| "server_params": { | ||
| "model": "Wan-AI/Wan2.2-I2V-A14B-Diffusers", | ||
| "serve_args": { | ||
| "usp": 4, | ||
| "vae-patch-parallel-size": 4, | ||
| "use-hsdp": true, | ||
| "vae-use-slicing": true, | ||
| "enable-diffusion-pipeline-profiler": true | ||
| } | ||
| }, | ||
| "benchmark_params": [ | ||
| { | ||
| "name": "832x480_frames81_steps4", | ||
| "dataset": "random", | ||
| "task": "i2v", | ||
| "num-prompts": 10, | ||
| "max-concurrency": 1, | ||
| "num-input-images": 1, | ||
| "seed": 42, | ||
| "enable-negative-prompt": true, | ||
| "random-request-config": [ | ||
| { | ||
| "width": 832, | ||
| "height": 480, | ||
| "num_inference_steps": 4, | ||
| "num_frames": 81, | ||
| "fps": 16, | ||
| "weight": 1 | ||
| } | ||
| ], | ||
| "baseline": { | ||
| "throughput_qps": 0.025, | ||
| "latency_mean": 40.0, | ||
| "peak_memory_mb_mean": 38000 | ||
| } | ||
| }, | ||
| { | ||
| "name": "1280x720_frames121_steps4", | ||
| "dataset": "random", | ||
| "task": "i2v", | ||
| "num-prompts": 10, | ||
| "max-concurrency": 1, | ||
| "num-input-images": 1, | ||
| "seed": 42, | ||
| "enable-negative-prompt": true, | ||
| "random-request-config": [ | ||
| { | ||
| "width": 1280, | ||
| "height": 720, | ||
| "num_inference_steps": 4, | ||
| "num_frames": 121, | ||
| "fps": 16, | ||
| "weight": 1 | ||
| } | ||
| ], | ||
| "baseline": { | ||
| "throughput_qps": 0.006, | ||
| "latency_mean": 160.0, | ||
| "peak_memory_mb_mean": 45000 | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| ] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
v1/videos endpoint? this is not a backend
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the benchmark script, this is named as
backend, the mapping relations look like: