BBuf commited on
Commit
de5141f
·
verified ·
1 Parent(s): c80fcde

Format model card usage command

Browse files
Files changed (1) hide show
  1. README.md +17 -2
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 --backend=sglang --model-path hunyuanvideo-community/HunyuanVideo --transformer-path BBuf/HunyuanVideo-ModelOpt-FP8-SGLang --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." --seed=42 --text-encoder-cpu-offload --pin-cpu-memory --num-frames=65 --fps=13 --width=848 --height=480 --num-inference-steps=30 --save-output --warmup --enable-torch-compile
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  ```
26
 
27
- The command above follows the HunyuanVideo preset used by the `sglang-diffusion-benchmark-profile` skill. `65` frames at `13` fps gives an exact `5.000s` video.
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