[CI][Perf] migrate diffusion DFX benches to vllm bench serve --omni (#7737)
Signed-off-by: wangyu <410167048@qq.com>
This commit is contained in:
1 parent
a4ad73e08b
commit
0570b0da7e
30 files changed
+2040
-729
No files matched your search
@@ -14,7 +14,6 @@
|
||||
"diffusion"
|
||||
],
|
||||
"description": "Single-device baseline with enforce-eager (no torch.compile)",
|
||||
"server_type": "vllm-omni",
|
||||
"server_params": {
|
||||
"model": "Lightricks/LTX-2",
|
||||
"serve_args": {
|
||||
@@ -25,31 +24,41 @@
|
||||
"benchmark_params": [
|
||||
{
|
||||
"name": "256x256_145f_steps6",
|
||||
"dataset": "random",
|
||||
"task": "t2v",
|
||||
"backend": "v1/videos",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"num-frames": 145,
|
||||
"fps": 24,
|
||||
"num-inference-steps": 6,
|
||||
"num-prompts": 3,
|
||||
"max-concurrency": 1,
|
||||
"enable-negative-prompt": true
|
||||
"dataset_name": "random",
|
||||
"tokenizer": "gpt2",
|
||||
"endpoint": "/v1/videos",
|
||||
"num_prompts": 3,
|
||||
"max_concurrency": 1,
|
||||
"random_input_len": 8,
|
||||
"random_output_len": 1,
|
||||
"percentile_metrics": "e2el",
|
||||
"extra_body": {
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"num_frames": 145,
|
||||
"fps": 24,
|
||||
"num_inference_steps": 6,
|
||||
"negative_prompt": "Negative prompt for benchmarking diffusion models"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "480x768_41f_steps20",
|
||||
"dataset": "random",
|
||||
"task": "t2v",
|
||||
"backend": "v1/videos",
|
||||
"width": 768,
|
||||
"height": 480,
|
||||
"num-frames": 41,
|
||||
"fps": 24,
|
||||
"num-inference-steps": 20,
|
||||
"num-prompts": 3,
|
||||
"max-concurrency": 1,
|
||||
"enable-negative-prompt": true
|
||||
"dataset_name": "random",
|
||||
"tokenizer": "gpt2",
|
||||
"endpoint": "/v1/videos",
|
||||
"num_prompts": 3,
|
||||
"max_concurrency": 1,
|
||||
"random_input_len": 8,
|
||||
"random_output_len": 1,
|
||||
"percentile_metrics": "e2el",
|
||||
"extra_body": {
|
||||
"width": 768,
|
||||
"height": 480,
|
||||
"num_frames": 41,
|
||||
"fps": 24,
|
||||
"num_inference_steps": 20,
|
||||
"negative_prompt": "Negative prompt for benchmarking diffusion models"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -68,7 +77,6 @@
|
||||
"diffusion"
|
||||
],
|
||||
"description": "Single-device with torch.compile (default, no enforce-eager)",
|
||||
"server_type": "vllm-omni",
|
||||
"server_params": {
|
||||
"model": "Lightricks/LTX-2",
|
||||
"serve_args": {
|
||||
@@ -78,31 +86,41 @@
|
||||
"benchmark_params": [
|
||||
{
|
||||
"name": "256x256_145f_steps6",
|
||||
"dataset": "random",
|
||||
"task": "t2v",
|
||||
"backend": "v1/videos",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"num-frames": 145,
|
||||
"fps": 24,
|
||||
"num-inference-steps": 6,
|
||||
"num-prompts": 3,
|
||||
"max-concurrency": 1,
|
||||
"enable-negative-prompt": true
|
||||
"dataset_name": "random",
|
||||
"tokenizer": "gpt2",
|
||||
"endpoint": "/v1/videos",
|
||||
"num_prompts": 3,
|
||||
"max_concurrency": 1,
|
||||
"random_input_len": 8,
|
||||
"random_output_len": 1,
|
||||
"percentile_metrics": "e2el",
|
||||
"extra_body": {
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"num_frames": 145,
|
||||
"fps": 24,
|
||||
"num_inference_steps": 6,
|
||||
"negative_prompt": "Negative prompt for benchmarking diffusion models"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "480x768_41f_steps20",
|
||||
"dataset": "random",
|
||||
"task": "t2v",
|
||||
"backend": "v1/videos",
|
||||
"width": 768,
|
||||
"height": 480,
|
||||
"num-frames": 41,
|
||||
"fps": 24,
|
||||
"num-inference-steps": 20,
|
||||
"num-prompts": 3,
|
||||
"max-concurrency": 1,
|
||||
"enable-negative-prompt": true
|
||||
"dataset_name": "random",
|
||||
"tokenizer": "gpt2",
|
||||
"endpoint": "/v1/videos",
|
||||
"num_prompts": 3,
|
||||
"max_concurrency": 1,
|
||||
"random_input_len": 8,
|
||||
"random_output_len": 1,
|
||||
"percentile_metrics": "e2el",
|
||||
"extra_body": {
|
||||
"width": 768,
|
||||
"height": 480,
|
||||
"num_frames": 41,
|
||||
"fps": 24,
|
||||
"num_inference_steps": 20,
|
||||
"negative_prompt": "Negative prompt for benchmarking diffusion models"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -121,7 +139,6 @@
|
||||
"diffusion"
|
||||
],
|
||||
"description": "CFG-parallel=2 with enforce-eager",
|
||||
"server_type": "vllm-omni",
|
||||
"server_params": {
|
||||
"model": "Lightricks/LTX-2",
|
||||
"serve_args": {
|
||||
@@ -133,31 +150,41 @@
|
||||
"benchmark_params": [
|
||||
{
|
||||
"name": "256x256_145f_steps6",
|
||||
"dataset": "random",
|
||||
"task": "t2v",
|
||||
"backend": "v1/videos",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"num-frames": 145,
|
||||
"fps": 24,
|
||||
"num-inference-steps": 6,
|
||||
"num-prompts": 3,
|
||||
"max-concurrency": 1,
|
||||
"enable-negative-prompt": true
|
||||
"dataset_name": "random",
|
||||
"tokenizer": "gpt2",
|
||||
"endpoint": "/v1/videos",
|
||||
"num_prompts": 3,
|
||||
"max_concurrency": 1,
|
||||
"random_input_len": 8,
|
||||
"random_output_len": 1,
|
||||
"percentile_metrics": "e2el",
|
||||
"extra_body": {
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"num_frames": 145,
|
||||
"fps": 24,
|
||||
"num_inference_steps": 6,
|
||||
"negative_prompt": "Negative prompt for benchmarking diffusion models"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "480x768_41f_steps20",
|
||||
"dataset": "random",
|
||||
"task": "t2v",
|
||||
"backend": "v1/videos",
|
||||
"width": 768,
|
||||
"height": 480,
|
||||
"num-frames": 41,
|
||||
"fps": 24,
|
||||
"num-inference-steps": 20,
|
||||
"num-prompts": 3,
|
||||
"max-concurrency": 1,
|
||||
"enable-negative-prompt": true
|
||||
"dataset_name": "random",
|
||||
"tokenizer": "gpt2",
|
||||
"endpoint": "/v1/videos",
|
||||
"num_prompts": 3,
|
||||
"max_concurrency": 1,
|
||||
"random_input_len": 8,
|
||||
"random_output_len": 1,
|
||||
"percentile_metrics": "e2el",
|
||||
"extra_body": {
|
||||
"width": 768,
|
||||
"height": 480,
|
||||
"num_frames": 41,
|
||||
"fps": 24,
|
||||
"num_inference_steps": 20,
|
||||
"negative_prompt": "Negative prompt for benchmarking diffusion models"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -176,7 +203,6 @@
|
||||
"diffusion"
|
||||
],
|
||||
"description": "CFG-parallel=2 with torch.compile",
|
||||
"server_type": "vllm-omni",
|
||||
"server_params": {
|
||||
"model": "Lightricks/LTX-2",
|
||||
"serve_args": {
|
||||
@@ -187,31 +213,41 @@
|
||||
"benchmark_params": [
|
||||
{
|
||||
"name": "256x256_145f_steps6",
|
||||
"dataset": "random",
|
||||
"task": "t2v",
|
||||
"backend": "v1/videos",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"num-frames": 145,
|
||||
"fps": 24,
|
||||
"num-inference-steps": 6,
|
||||
"num-prompts": 3,
|
||||
"max-concurrency": 1,
|
||||
"enable-negative-prompt": true
|
||||
"dataset_name": "random",
|
||||
"tokenizer": "gpt2",
|
||||
"endpoint": "/v1/videos",
|
||||
"num_prompts": 3,
|
||||
"max_concurrency": 1,
|
||||
"random_input_len": 8,
|
||||
"random_output_len": 1,
|
||||
"percentile_metrics": "e2el",
|
||||
"extra_body": {
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"num_frames": 145,
|
||||
"fps": 24,
|
||||
"num_inference_steps": 6,
|
||||
"negative_prompt": "Negative prompt for benchmarking diffusion models"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "480x768_41f_steps20",
|
||||
"dataset": "random",
|
||||
"task": "t2v",
|
||||
"backend": "v1/videos",
|
||||
"width": 768,
|
||||
"height": 480,
|
||||
"num-frames": 41,
|
||||
"fps": 24,
|
||||
"num-inference-steps": 20,
|
||||
"num-prompts": 3,
|
||||
"max-concurrency": 1,
|
||||
"enable-negative-prompt": true
|
||||
"dataset_name": "random",
|
||||
"tokenizer": "gpt2",
|
||||
"endpoint": "/v1/videos",
|
||||
"num_prompts": 3,
|
||||
"max_concurrency": 1,
|
||||
"random_input_len": 8,
|
||||
"random_output_len": 1,
|
||||
"percentile_metrics": "e2el",
|
||||
"extra_body": {
|
||||
"width": 768,
|
||||
"height": 480,
|
||||
"num_frames": 41,
|
||||
"fps": 24,
|
||||
"num_inference_steps": 20,
|
||||
"negative_prompt": "Negative prompt for benchmarking diffusion models"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -230,7 +266,6 @@
|
||||
"diffusion"
|
||||
],
|
||||
"description": "CacheDiT with enforce-eager",
|
||||
"server_type": "vllm-omni",
|
||||
"server_params": {
|
||||
"model": "Lightricks/LTX-2",
|
||||
"serve_args": {
|
||||
@@ -242,31 +277,41 @@
|
||||
"benchmark_params": [
|
||||
{
|
||||
"name": "256x256_145f_steps6",
|
||||
"dataset": "random",
|
||||
"task": "t2v",
|
||||
"backend": "v1/videos",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"num-frames": 145,
|
||||
"fps": 24,
|
||||
"num-inference-steps": 6,
|
||||
"num-prompts": 3,
|
||||
"max-concurrency": 1,
|
||||
"enable-negative-prompt": true
|
||||
"dataset_name": "random",
|
||||
"tokenizer": "gpt2",
|
||||
"endpoint": "/v1/videos",
|
||||
"num_prompts": 3,
|
||||
"max_concurrency": 1,
|
||||
"random_input_len": 8,
|
||||
"random_output_len": 1,
|
||||
"percentile_metrics": "e2el",
|
||||
"extra_body": {
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"num_frames": 145,
|
||||
"fps": 24,
|
||||
"num_inference_steps": 6,
|
||||
"negative_prompt": "Negative prompt for benchmarking diffusion models"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "480x768_41f_steps20",
|
||||
"dataset": "random",
|
||||
"task": "t2v",
|
||||
"backend": "v1/videos",
|
||||
"width": 768,
|
||||
"height": 480,
|
||||
"num-frames": 41,
|
||||
"fps": 24,
|
||||
"num-inference-steps": 20,
|
||||
"num-prompts": 3,
|
||||
"max-concurrency": 1,
|
||||
"enable-negative-prompt": true
|
||||
"dataset_name": "random",
|
||||
"tokenizer": "gpt2",
|
||||
"endpoint": "/v1/videos",
|
||||
"num_prompts": 3,
|
||||
"max_concurrency": 1,
|
||||
"random_input_len": 8,
|
||||
"random_output_len": 1,
|
||||
"percentile_metrics": "e2el",
|
||||
"extra_body": {
|
||||
"width": 768,
|
||||
"height": 480,
|
||||
"num_frames": 41,
|
||||
"fps": 24,
|
||||
"num_inference_steps": 20,
|
||||
"negative_prompt": "Negative prompt for benchmarking diffusion models"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user