We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46619ea commit ff5f2eeCopy full SHA for ff5f2ee
docs/source/en/api/cache.md
@@ -50,7 +50,7 @@ pipe = CogVideoXPipeline.from_pretrained("THUDM/CogVideoX-5b", torch_dtype=torch
50
pipe.to("cuda")
51
52
# Increasing the threshold may lead to faster inference speeds, but may also lead to poorer quality of generated videos.
53
-# Smaller values between 0.02-2.0 are recommended based on the model being used. The default value is 0.05.
+# Smaller values between 0.02-0.20 are recommended based on the model being used. The default value is 0.05.
54
config = FirstBlockCacheConfig(threshold=0.07)
55
pipe.transformer.enable_cache(config)
56
```
0 commit comments