[Feat][Perf][AuK]Support Online Serving and DiT CUDAGraph (#7469)
Signed-off-by: boatman <109857087+sphinxkkkbc@users.noreply.github.com> Signed-off-by: Yueqian Lin <linyueqian@outlook.com> Co-authored-by: Hongsheng Liu <liuhongsheng4@huawei.com> Co-authored-by: Yueqian Lin <linyueqian@outlook.com>
This commit is contained in:
22 files changed
+1473
-38
No files matched your search
@@ -43,8 +43,8 @@ stages:
|
||||
# Not eager: the codec decode is compiled into bucketed CUDA graphs at
|
||||
# startup (about a minute more on a cold Inductor cache, ~30 s warm, and
|
||||
# about 1 GB of graph pools); clips longer than the largest bucket are
|
||||
# decoded in overlapping tiles of it. The DiT stays eager unless
|
||||
# diffusion_compile_granularity is set to full. Buckets, tile size and the
|
||||
# decoded in overlapping tiles of it. Each DiT denoise step replays a lazily
|
||||
# captured per-shape CUDA graph. Buckets, tile size and the
|
||||
# plain-graph cache are tunable through model_config:
|
||||
# model_config: {auk_vae_compile_shapes: [128, 256, 512], auk_vae_tile_frames: 512, auk_vae_max_graphs: 32}
|
||||
- stage_id: 1
|
||||
@@ -52,6 +52,10 @@ stages:
|
||||
max_num_seqs: 1
|
||||
gpu_memory_utilization: 0.35
|
||||
enforce_eager: false
|
||||
model_config:
|
||||
# Maximum number of cached DiT graphs. When the cache reaches this limit,
|
||||
# capturing a new shape retires all existing graphs before capture.
|
||||
max_dit_graphs: 32
|
||||
default_sampling_params:
|
||||
seed: 0
|
||||
num_inference_steps: 32
|
||||
|
||||
Reference in new issue
Block a user