[diffusion] chore: track minimax-h3 in the nightly diffusion benchmark (#34655)

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Mick
2026-08-13 15:12:26 +08:00
committed by GitHub
co-authored by Claude Opus 5
parent 3f6ef01322
commit 969921b32d
2 changed files with 38 additions and 0 deletions
@@ -186,6 +186,34 @@
"extra_env": {}
}
}
},
{
"id": "minimax_h3_t2va_5s",
"model": "MiniMaxAI/MiniMax-H3",
"task": "text-to-video",
"prompt": "At night, while their owner sleeps in a bedroom, three cats march in loudly playing tiny brass instruments, then abruptly file out.",
"width": 1344,
"height": 768,
"num_frames": 124,
"fps": 24,
"num_inference_steps": 50,
"seed": 1101,
"num_gpus": 4,
"sglang_request_extra": {
"task": "t2va",
"conditions": [],
"target": {"short_edge": 768, "aspect_ratio": "16:9", "duration_seconds": 5.0},
"flow_shift": 12.0,
"audio_flow_shift": 3.0,
"num_frames": null,
"fps": null
},
"frameworks": {
"sglang": {
"serve_args": "--warmup-mode server --model-variant fl2va --tp-size 2 --ulysses-degree 2 --performance-mode speed --enable-torch-compile false",
"extra_env": {}
}
}
}
]
}
@@ -362,6 +362,16 @@ def _build_sglang_payload(case: dict) -> dict:
):
if key in case:
payload[key] = case[key]
# Model-specific request fields outside the common schema -- MiniMax-H3
# derives its shape from `target` and rejects an explicit num_frames, so a
# case needs to both add keys and drop common ones. A null value removes
# the key rather than sending null.
for key, value in (case.get("sglang_request_extra") or {}).items():
if value is None:
payload.pop(key, None)
else:
payload[key] = value
return payload