[Model][Frontend] MiniMax-H3: Add latent-mask editing (#7465)
Signed-off-by: xiaoyu <1259084489@qq.com>
This commit is contained in:
1 parent
8e10c3ee07
commit
5a93ec1b4e
18 files changed
+2286
-122
No files matched your search
@@ -17,6 +17,10 @@ class DiffusionModelMetadata:
|
||||
supported_control_upload_types: tuple[str, ...] = ()
|
||||
attention_mask_free: bool = False
|
||||
final_output_type: str | None = None
|
||||
# Whether ``/v1/videos`` accepts source media plus per-token video/audio
|
||||
# noise masks for latent initialization. Unknown pipelines must remain
|
||||
# opted out so uploaded files never reach a model that cannot consume them.
|
||||
supports_latent_mask_editing: bool = False
|
||||
|
||||
|
||||
# FLUX.2 Klein supports up to four reference images.
|
||||
@@ -52,6 +56,7 @@ _DIFFUSION_MODEL_METADATA: dict[str, DiffusionModelMetadata] = {
|
||||
supports_multimodal_inputs=True,
|
||||
max_multimodal_image_inputs=9,
|
||||
supports_mixed_reference_inputs=True,
|
||||
supports_latent_mask_editing=True,
|
||||
final_output_type="video",
|
||||
# H3 represents alignment padding as a second packed sequence. The
|
||||
# packed TRTLLM backend consumes cu_seqlens and isolates that padding.
|
||||
@@ -66,6 +71,7 @@ _DIFFUSION_MODEL_METADATA: dict[str, DiffusionModelMetadata] = {
|
||||
supports_multimodal_inputs=True,
|
||||
max_multimodal_image_inputs=9,
|
||||
supports_mixed_reference_inputs=True,
|
||||
supports_latent_mask_editing=True,
|
||||
final_output_type="video",
|
||||
attention_mask_free=True,
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user