From 1203ed8515ef57ca99c8b7c21830b3edfbab5cce Mon Sep 17 00:00:00 2001 From: Ernie Chu <51432514+ernestchu@users.noreply.github.com> Date: Tue, 11 Aug 2026 11:11:38 -0400 Subject: [PATCH] Fix variable typos in the code example in kandinsky5_video.md --- docs/source/en/api/pipelines/kandinsky5_video.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/en/api/pipelines/kandinsky5_video.md b/docs/source/en/api/pipelines/kandinsky5_video.md index 78e421e23a70..157971ff0dc8 100644 --- a/docs/source/en/api/pipelines/kandinsky5_video.md +++ b/docs/source/en/api/pipelines/kandinsky5_video.md @@ -65,9 +65,9 @@ model_id = "kandinskylab/Kandinsky-5.0-T2V-Pro-sft-5s-Diffusers" pipe = Kandinsky5T2VPipeline.from_pretrained(model_id, dtype=torch.bfloat16) pipe = pipe.to("cuda") -pipeline.transformer.set_attention_backend("flex") # <--- Set attention bakend to Flex -pipeline.enable_model_cpu_offload() # <--- Enable cpu offloading for single GPU inference -pipeline.transformer.compile(mode="max-autotune-no-cudagraphs", dynamic=True) # <--- Compile with max-autotune-no-cudagraphs +pipe.transformer.set_attention_backend("flex") # <--- Set attention bakend to Flex +pipe.enable_model_cpu_offload() # <--- Enable cpu offloading for single GPU inference +pipe.transformer.compile(mode="max-autotune-no-cudagraphs", dynamic=True) # <--- Compile with max-autotune-no-cudagraphs # Generate video prompt = "A cat and a dog baking a cake together in a kitchen."