Sub-task of #4539.
Migrate the magi_human model off its dedicated special-usage example onto the standard task example + a declarative model_extras registration, following the reference migration in #4225 (BagelPipeline / SenseNovaU1Pipeline).
Scope
- Special-usage example dir(s):
examples/offline_inference/magi_human/
Steps
- Add
vllm_omni/model_extras/magi_human.py declaring EXTRA_BODY_PARAMS / EXTRA_OUTPUT_PARAMS, and register it in vllm_omni/model_extras/registry.py.
- Route the pipeline's previously-hardcoded knobs through
extra_body / custom_output (keep a legacy fallback during the transition).
- Delete the bespoke example dir(s) above; fold usage into the relevant standard task example (
text_to_image / image_to_image / text_to_video / text_to_audio / etc.) with an extra_body recipe for any non-default params.
- Update e2e test(s) to exercise
magi_human through the standard path and pass in CI.
- Update markdown/README: remove the per-model README, document the knobs in the task README/recipe.
⚠️ Mandatory for the PR (will be sent back if missing)
Definition of done
Sub-task of #4539.
Migrate the
magi_humanmodel off its dedicated special-usage example onto the standard task example + a declarativemodel_extrasregistration, following the reference migration in #4225 (BagelPipeline / SenseNovaU1Pipeline).Scope
examples/offline_inference/magi_human/Steps
vllm_omni/model_extras/magi_human.pydeclaringEXTRA_BODY_PARAMS/EXTRA_OUTPUT_PARAMS, and register it invllm_omni/model_extras/registry.py.extra_body/custom_output(keep a legacy fallback during the transition).text_to_image/image_to_image/text_to_video/text_to_audio/ etc.) with anextra_bodyrecipe for any non-default params.magi_humanthrough the standard path and pass in CI.extra_bodyparams + env vars)Definition of done
vllm_omni/model_extras/magi_human.pyadded + registeredextra_body/custom_output