[examples] add --enable-cpu-offload args (#930)
Signed-off-by: David Chen <530634352@qq.com>
This commit is contained in:
1 parent
28a6597c4c
commit
3d9cd16df7
8 files changed
+28
No files matched your search
@@ -47,3 +47,4 @@ Key arguments:
|
||||
- `--guidance_scale`: guidance scale for guidance-distilled models (default: 1.0, disabled). Unlike classifier-free guidance (--cfg_scale), guidance-distilled models take the guidance scale directly as an input parameter. Enabled when guidance_scale > 1. Ignored when not using guidance-distilled models.
|
||||
- `--num_inference_steps`: diffusion sampling steps (more steps = higher quality, slower).
|
||||
- `--output`: path to save the generated PNG.
|
||||
- `--enable-cpu-offload`: enable CPU offloading for diffusion models.
|
||||
Reference in new issue
Block a user