Skip to content

Commit ff5f2ee

Browse files
authored
Update docs/source/en/api/cache.md
1 parent 46619ea commit ff5f2ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/en/api/cache.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pipe = CogVideoXPipeline.from_pretrained("THUDM/CogVideoX-5b", torch_dtype=torch
5050
pipe.to("cuda")
5151

5252
# 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.
53+
# Smaller values between 0.02-0.20 are recommended based on the model being used. The default value is 0.05.
5454
config = FirstBlockCacheConfig(threshold=0.07)
5555
pipe.transformer.enable_cache(config)
5656
```

0 commit comments

Comments
 (0)