Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Visual Generation Examples

See the VisualGen doc for feature details.

Layout

Path Purpose
quickstart_example.py Minimal VisualGen API example
models/ Per-model example scripts
configs/ Shared VisualGenArgs YAMLs (used by --visual_gen_args and trtllm-serve)
serve/ trtllm-serve usage, benchmarking, and clients

Usage

# Defaults
python quickstart_example.py
python models/wan_t2v.py

# With engine config (quant, parallelism, etc.)
python models/wan_t2v.py --visual_gen_args configs/wan2.2-t2v-fp4-1gpu.yaml

Install deps from the repo root: pip install -r requirements-dev.txt.

Output: .png for image models; .mp4 for video models when FFmpeg is installed (otherwise .avi).