Files changed (1) hide show
  1. README.md +2 -31
README.md CHANGED
@@ -175,38 +175,9 @@ python infer.py \
175
 
176
  ### 4. Generate synchronized video and audio
177
 
178
- Run the rewritten prompt with LightX2V from the `LightX2V` repository root:
179
 
180
- ```bash
181
- source scripts/base/base.sh
182
- export DTYPE=BF16
183
- export SENSITIVE_LAYER_DTYPE=FP32
184
-
185
- python -m lightx2v.infer \
186
- --model_cls minimax_h3 \
187
- --task t2av \
188
- --model_path /path/to/MiniMax-H3 \
189
- --config_json configs/minimax_h3/minimax_h3_t2av.json \
190
- --prompt "$(</tmp/h3_rewritten_prompt.txt)" \
191
- --save_result_path save_results/minimax_h3_t2av.mp4 \
192
- --seed 42
193
- ```
194
-
195
- The output MP4 contains both video and synchronized stereo audio. Make sure that the
196
- duration and aspect ratio in the LightX2V config match the conditions passed to the
197
- prompt rewriter. Ready-to-run single-GPU, block-offload, tensor-parallel, and combined
198
- TP+SP examples are available in the
199
- **[LightX2V MiniMax-H3 scripts](https://github.com/ModelTC/LightX2V/tree/main/scripts/minimax_h3)**.
200
-
201
- For lower-memory or multi-GPU inference, start from one of these configurations:
202
-
203
- | Mode | LightX2V example |
204
- |---|---|
205
- | Single GPU | `configs/minimax_h3/minimax_h3_t2av.json` |
206
- | Block offload | `configs/minimax_h3/minimax_h3_t2av_block_offload.json` |
207
- | Sequence parallelism | `configs/minimax_h3/minimax_h3_t2av_sp.json` |
208
- | Tensor parallelism | `configs/minimax_h3/minimax_h3_t2av_tp.json` |
209
- | Tensor + sequence parallelism | `configs/minimax_h3/minimax_h3_t2av_tp_sp.json` |
210
 
211
  ## Qualitative comparison
212
 
 
175
 
176
  ### 4. Generate synchronized video and audio
177
 
178
+ Use the rewritten prompt saved in `/tmp/h3_rewritten_prompt.txt` to generate video and audio with LightX2V.
179
 
180
+ Follow the [official generation instructions](https://huggingface.co/lightx2v/MiniMax-H3-Prompt-Rewriter-LoRA#4-generate-synchronized-video-and-audio) for AdaLN cache preparation, current launch commands, and configuration options.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
181
 
182
  ## Qualitative comparison
183