Format model card usage command
Browse files
README.md
CHANGED
|
@@ -21,10 +21,25 @@ The checkpoint is intended for SGLang Diffusion with the HunyuanVideo FP8 suppor
|
|
| 21 |
## Usage
|
| 22 |
|
| 23 |
```bash
|
| 24 |
-
sglang generate
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
```
|
| 26 |
|
| 27 |
-
The command above follows the HunyuanVideo preset used by the `sglang-diffusion-benchmark-profile` skill. `65
|
| 28 |
|
| 29 |
## H100 Validation Snapshot
|
| 30 |
|
|
|
|
| 21 |
## Usage
|
| 22 |
|
| 23 |
```bash
|
| 24 |
+
sglang generate \
|
| 25 |
+
--backend=sglang \
|
| 26 |
+
--model-path hunyuanvideo-community/HunyuanVideo \
|
| 27 |
+
--transformer-path BBuf/HunyuanVideo-ModelOpt-FP8-SGLang \
|
| 28 |
+
--prompt "A cat and a dog baking a cake together in a kitchen. The cat is carefully measuring flour, while the dog is stirring the batter with a wooden spoon. The kitchen is cozy, with sunlight streaming through the window." \
|
| 29 |
+
--seed=42 \
|
| 30 |
+
--text-encoder-cpu-offload \
|
| 31 |
+
--pin-cpu-memory \
|
| 32 |
+
--num-frames=65 \
|
| 33 |
+
--fps=13 \
|
| 34 |
+
--width=848 \
|
| 35 |
+
--height=480 \
|
| 36 |
+
--num-inference-steps=30 \
|
| 37 |
+
--save-output \
|
| 38 |
+
--warmup \
|
| 39 |
+
--enable-torch-compile
|
| 40 |
```
|
| 41 |
|
| 42 |
+
The command above follows the HunyuanVideo preset used by the `sglang-diffusion-benchmark-profile` skill. The `--num-frames=65 --fps=13` pair gives an exact `5.000s` video.
|
| 43 |
|
| 44 |
## H100 Validation Snapshot
|
| 45 |
|