Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion docs/source/en/api/cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,14 @@ Cache methods speedup diffusion transformers by storing and reusing intermediate

[[autodoc]] apply_first_block_cache

### TaylorSeerCacheConfig
## TaylorSeerCacheConfig

[[autodoc]] TaylorSeerCacheConfig

[[autodoc]] apply_taylorseer_cache

## MagCacheConfig

[[autodoc]] MagCacheConfig

[[autodoc]] apply_mag_cache
2 changes: 0 additions & 2 deletions docs/source/en/optimization/cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,6 @@ pipe.transformer.enable_cache(config)

MagCache relies on **Magnitude Ratios** (`mag_ratios`), which describe this decay curve. These ratios are specific to the model checkpoint and scheduler.

### Usage

To use MagCache, you typically follow a two-step process: **Calibration** and **Inference**.

1. **Calibration**: Run inference once with `calibrate=True`. The hook will measure the residual magnitudes and print the calculated ratios to the console.
Expand Down
Loading