From 40298e35765ac685045819cca247834328f56c40 Mon Sep 17 00:00:00 2001 From: shoyofight Date: Sat, 15 Aug 2026 15:39:12 +0800 Subject: [PATCH 1/2] bugfix: support minimax max-vram skill --- docs/minimax-h3.md | 9 ++++-- src/core/backend/ggml/ggml_extend.hpp | 2 +- .../pipelines/minimax_h3_pipeline.cpp | 32 +++++++++++++++---- 3 files changed, 33 insertions(+), 10 deletions(-) diff --git a/docs/minimax-h3.md b/docs/minimax-h3.md index f793ab8..c3f9da8 100644 --- a/docs/minimax-h3.md +++ b/docs/minimax-h3.md @@ -43,7 +43,7 @@ Supported reference inputs: | Reference image | `--ref-image ` | Repeatable. Presented as `` to Qwen3-VL. | | Reference video | `--ref-video ` | Repeatable. Directory of image frames sorted lexicographically; treated as 24 fps. | | Paired video audio | `--ref-video-audio ` | Repeatable. The Nth WAV is paired with the Nth `--ref-video`. | -| Standalone audio | `--ref-audio ` | Repeatable. Independent audio reference, not attached to a video. | +| Standalone audio | `--ref-audio ` | Repeatable. Independent audio reference, not attached to a video. Must be paired with at least one `--ref-image` or `--ref-video` (audio-only Ref2VA is rejected). | The reference inputs can be combined freely within Ref2VA. Ref2VA cannot be used with `--image` or `--end-img` in the same request. @@ -168,14 +168,19 @@ ed-cli --video \ ### Standalone reference audio +Standalone `--ref-audio` must be paired with at least one `--ref-image` or +`--ref-video` (audio-only Ref2VA is rejected). The example below anchors the +audio to a reference image. + ```bash ed-cli --video \ --diffusion-model minimax_h3_ref2va_pruned-Q4_K_M.gguf \ --vae minimax_h3_video_vae_fp16.safetensors \ --audio-vae minimax_h3_audio_vae_fp32.safetensors \ --llm qwen3vl_32b_minimax_h3-Q4_K_M.gguf \ + --ref-image reference.png \ --ref-audio reference_audio.wav \ - -p "Generate a video with audio inspired by