Instructions to use pdmd2026/pdmd_4NFE_lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use pdmd2026/pdmd_4NFE_lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("MiniMaxAI/MiniMax-H3", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("pdmd2026/pdmd_4NFE_lora") prompt = "A man with short gray hair plays a red electric guitar." output = pipe(prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Recommend audio shift 6; retain 3 for paper metrics
Browse files
README.md
CHANGED
|
@@ -39,8 +39,9 @@ Fusing rule (also stored in the safetensors metadata):
|
|
| 39 |
W_base += lora_scale * (lora_B @ lora_A) # lora_scale = 1.0 (alpha / rank = 128 / 128)
|
| 40 |
```
|
| 41 |
|
| 42 |
-
Sample with **4 denoising steps** using
|
| 43 |
-
|
|
|
|
| 44 |
|
| 45 |
## Citation
|
| 46 |
|
|
|
|
| 39 |
W_base += lora_scale * (lora_B @ lora_A) # lora_scale = 1.0 (alpha / rank = 128 / 128)
|
| 40 |
```
|
| 41 |
|
| 42 |
+
Sample with **4 denoising steps**, using video time shift **12**.
|
| 43 |
+
We recommend **audio time shift 6**; use **3 for paper metrics**.
|
| 44 |
+
Credit to [CALMDUST (@core_tan) on X](https://x.com/core_tan) for the suggestion.
|
| 45 |
|
| 46 |
## Citation
|
| 47 |
|