| Wall Time (s) | 26.36 | 21.83 | 17.01 | 16.00 | 13.78 |  
First Block Cache reduced the inference speed to 17.01 seconds compared to the baseline, or 1.55x faster, while maintaining nearly zero quality loss.  
</hfoption>
<hfoption id="HunyuanVideo">  
To apply First Block Cache on HunyuanVideo, `apply_cache_on_pipe` as shown below. 0.06 is the default residual difference value for HunyuanVideo models.  
```python
import time
import torch