Skip to content

Commit 774f5c4

Browse files
authored
minor changes to the SVD doc (#6466)
minor changes
1 parent a483a8e commit 774f5c4

File tree

1 file changed

+1
-6
lines changed
  • docs/source/en/using-diffusers

1 file changed

+1
-6
lines changed

docs/source/en/using-diffusers/svd.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,6 @@ frames = pipe(image, decode_chunk_size=8, generator=generator).frames[0]
5353
export_to_video(frames, "generated.mp4", fps=7)
5454
```
5555

56-
<video controls width="1024" height="576">
57-
<source src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/svd/rocket_generated.webm" type="video/webm" />
58-
<source src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/svd/rocket_generated.mp4" type="video/mp4" />
59-
</video>
60-
6156
| **Source Image** | **Video** |
6257
|:------------:|:-----:|
6358
| ![](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/svd/rocket.png) | ![](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/svd/output_rocket.gif) |
@@ -86,7 +81,7 @@ You can achieve a 20-25% speed-up at the expense of slightly increased memory by
8681
Video generation is very memory intensive as we have to essentially generate `num_frames` all at once. The mechanism is very comparable to text-to-image generation with a high batch size. To reduce the memory requirement you have multiple options. The following options trade inference speed against lower memory requirement:
8782
- enable model offloading: Each component of the pipeline is offloaded to CPU once it's not needed anymore.
8883
- enable feed-forward chunking: The feed-forward layer runs in a loop instead of running with a single huge feed-forward batch size
89-
- reduce `decode_chunk_size`: This means that the VAE decodes frames in chunks instead of decoding them all together. **Note**: In addition to leading to a small slowdown, this method also slightly leads to video quality deterioration
84+
- reduce `decode_chunk_size`: This means that the VAE decodes frames in chunks instead of decoding them all together. **Note that**, in addition to leading to a small slowdown, this method also slightly leads to video quality deterioration.
9085

9186
You can enable them as follows:
9287

0 commit comments

Comments
 (0)