From 9e72016468b2e67d3e0a7c6aa94fb2fff825aa29 Mon Sep 17 00:00:00 2001 From: Aryan V S Date: Fri, 26 Jan 2024 07:21:43 +0530 Subject: [PATCH] [docs] AnimateDiff Video-to-Video (#6712) * add animatediff vid2vid to docs * Update docs/source/en/api/pipelines/animatediff.md Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * apply suggestions from review --------- Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> --- docs/source/en/api/pipelines/animatediff.md | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/docs/source/en/api/pipelines/animatediff.md b/docs/source/en/api/pipelines/animatediff.md index e00446857f..481fc4cdb5 100644 --- a/docs/source/en/api/pipelines/animatediff.md +++ b/docs/source/en/api/pipelines/animatediff.md @@ -118,7 +118,7 @@ from PIL import Image adapter = MotionAdapter.from_pretrained("guoyww/animatediff-motion-adapter-v1-5-2", torch_dtype=torch.float16) # load SD 1.5 based finetuned model model_id = "SG161222/Realistic_Vision_V5.1_noVAE" -pipe = AnimateDiffVideoToVideoPipeline.from_pretrained(model_id, motion_adapter=adapter, torch_dtype=torch.float16) +pipe = AnimateDiffVideoToVideoPipeline.from_pretrained(model_id, motion_adapter=adapter, torch_dtype=torch.float16).to("cuda") scheduler = DDIMScheduler.from_pretrained( model_id, subfolder="scheduler", @@ -411,16 +411,14 @@ Make sure to check out the Schedulers [guide](../../using-diffusers/schedulers) ## AnimateDiffPipeline [[autodoc]] AnimateDiffPipeline - - all - - __call__ - - enable_freeu - - disable_freeu - - enable_free_init - - disable_free_init - - enable_vae_slicing - - disable_vae_slicing - - enable_vae_tiling - - disable_vae_tiling + - all + - __call__ + +## AnimateDiffVideoToVideoPipeline + +[[autodoc]] AnimateDiffVideoToVideoPipeline + - all + - __call__ ## AnimateDiffPipelineOutput