import{s as ct,o as mt,n as pt}from"../chunks/scheduler.8c3d61f6.js";import{S as gt,i as ut,g as r,s as o,r as g,A as ft,h as i,f as n,c as s,j,u,x as v,k as U,y as l,a,v as f,d as h,t as _,w as b}from"../chunks/index.da70eac4.js";import{T as ht}from"../chunks/Tip.1d9b8c37.js";import{D as W}from"../chunks/Docstring.6b390b9a.js";import{C as dt}from"../chunks/CodeBlock.00a903b3.js";import{E as _t}from"../chunks/ExampleCodeBlock.db12be95.js";import{H as ke,E as bt}from"../chunks/EditOnGithub.1e64e623.js";function yt(te){let p,J='Make sure to check out the Schedulers <a href="../../using-diffusers/schedulers">guide</a> to learn how to explore the tradeoff between scheduler speed and quality, and see the <a href="../../using-diffusers/loading#reuse-a-pipeline">reuse components across pipelines</a> section to learn how to efficiently load the same components into multiple pipelines.';return{c(){p=r("p"),p.innerHTML=J},l(y){p=i(y,"P",{"data-svelte-h":!0}),v(p)!=="svelte-1qn15hi"&&(p.innerHTML=J)},m(y,M){a(y,p,M)},p:pt,d(y){y&&n(p)}}}function vt(te){let p,J="Examples:",y,M,w;return M=new dt({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwQXV0b2VuY29kZXJLTEFsbGVncm8lMkMlMjBBbGxlZ3JvUGlwZWxpbmUlMEFmcm9tJTIwZGlmZnVzZXJzLnV0aWxzJTIwaW1wb3J0JTIwZXhwb3J0X3RvX3ZpZGVvJTBBJTBBdmFlJTIwJTNEJTIwQXV0b2VuY29kZXJLTEFsbGVncm8uZnJvbV9wcmV0cmFpbmVkKCUyMnJoeW1lcy1haSUyRkFsbGVncm8lMjIlMkMlMjBzdWJmb2xkZXIlM0QlMjJ2YWUlMjIlMkMlMjB0b3JjaF9kdHlwZSUzRHRvcmNoLmZsb2F0MzIpJTBBcGlwZSUyMCUzRCUyMEFsbGVncm9QaXBlbGluZS5mcm9tX3ByZXRyYWluZWQoJTIycmh5bWVzLWFpJTJGQWxsZWd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t;&gt; </span><span class="hljs-keyword">from</span> diffusers <span class="hljs-keyword">import</span> AutoencoderKLAllegro, AllegroPipeline
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> diffusers.utils <span class="hljs-keyword">import</span> export_to_video

<span class="hljs-meta">&gt;&gt;&gt; </span>vae = AutoencoderKLAllegro.from_pretrained(<span class="hljs-string">&quot;rhymes-ai/Allegro&quot;</span>, subfolder=<span class="hljs-string">&quot;vae&quot;</span>, torch_dtype=torch.float32)
<span class="hljs-meta">&gt;&gt;&gt; </span>pipe = AllegroPipeline.from_pretrained(<span class="hljs-string">&quot;rhymes-ai/Allegro&quot;</span>, vae=vae, torch_dtype=torch.bfloat16).to(<span class="hljs-string">&quot;cuda&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>pipe.enable_vae_tiling()

<span class="hljs-meta">&gt;&gt;&gt; </span>prompt = (
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;A seaside harbor with bright sunlight and sparkling seawater, with many boats in the water. From an aerial view, &quot;</span>
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;the boats vary in size and color, some moving and some stationary. Fishing boats in the water suggest that this &quot;</span>
<span class="hljs-meta">... </span>    <span class="hljs-string">&quot;location might be a popular spot for docking fishing boats.&quot;</span>
<span class="hljs-meta">... </span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>video = pipe(prompt, guidance_scale=<span class="hljs-number">7.5</span>, max_sequence_length=<span class="hljs-number">512</span>).frames[<span class="hljs-number">0</span>]
<span class="hljs-meta">&gt;&gt;&gt; </span>export_to_video(video, <span class="hljs-string">&quot;output.mp4&quot;</span>, fps=<span class="hljs-number">15</span>)`,wrap:!1}}),{c(){p=r("p"),p.textContent=J,y=o(),g(M.$$.fragment)},l(m){p=i(m,"P",{"data-svelte-h":!0}),v(p)!=="svelte-kvfsh7"&&(p.textContent=J),y=s(m),u(M.$$.fragment,m)},m(m,T){a(m,p,T),a(m,y,T),f(M,m,T),w=!0},p:pt,i(m){w||(h(M.$$.fragment,m),w=!0)},o(m){_(M.$$.fragment,m),w=!1},d(m){m&&(n(p),n(y)),b(M,m)}}}function Mt(te){let p,J,y,M,w,m,T,Le='<a href="https://huggingface.co/papers/2410.15458" rel="nofollow">Allegro: Open the Black Box of Commercial-Level Video Generation Model</a> from RhymesAI, by Yuan Zhou, Qiuyue Wang, Yuxuan Cai, Huan Yang.',me,q,Se="The abstract from the paper is:",ge,z,De='<em>Significant advancements have been made in the field of video generation, with the open-source community contributing a wealth of research papers and tools for training high-quality models. However, despite these efforts, the available information and resources remain insufficient for achieving commercial-level performance. In this report, we open the black box and introduce Allegro, an advanced video generation model that excels in both quality and temporal consistency. We also highlight the current limitations in the field and present a comprehensive methodology for training high-performance, commercial-level video generation models, addressing key aspects such as data, model architecture, training pipeline, and evaluation. Our user study shows that Allegro surpasses existing open-source models and most commercial models, ranking just behind Hailuo and Kling. Code: <a href="https://github.com/rhymes-ai/Allegro" rel="nofollow">https://github.com/rhymes-ai/Allegro</a> , Model: <a href="https://huggingface.co/rhymes-ai/Allegro" rel="nofollow">https://huggingface.co/rhymes-ai/Allegro</a> , Gallery: <a href="https://rhymes.ai/allegro_gallery" rel="nofollow">https://rhymes.ai/allegro_gallery</a> .</em>',ue,I,fe,E,he,Q,Oe="Quantization helps reduce the memory requirements of very large models by storing model weights in a lower precision data type. However, quantization may have varying impact on video quality depending on the video model.",_e,X,Ke='Refer to the <a href="../../quantization/overview">Quantization</a> overview to learn more about supported quantization backends and selecting a quantization backend that supports your use case. The example below demonstrates how to load a quantized <a href="/docs/diffusers/pr_10123/en/api/pipelines/allegro#diffusers.AllegroPipeline">AllegroPipeline</a> for inference with bitsandbytes.',be,F,ye,V,ve,d,R,Be,ne,et="Pipeline for text-to-video generation using Allegro.",Ce,oe,tt=`This model inherits from <a href="/docs/diffusers/pr_10123/en/api/pipelines/overview#diffusers.DiffusionPipeline">DiffusionPipeline</a>. Check the superclass documentation for the generic methods the
library implements for all the pipelines (such as downloading or saving, running on a particular device, etc.)`,Pe,x,H,Ge,se,nt="Function invoked when calling the pipeline for generation.",We,Z,qe,k,N,ze,le,ot=`Disable sliced VAE decoding. If <code>enable_vae_slicing</code> was previously enabled, this method will go back to
computing decoding in one step.`,Ee,B,Y,Qe,ae,st=`Disable tiled VAE decoding. If <code>enable_vae_tiling</code> was previously enabled, this method will go back to
computing decoding in one step.`,Xe,C,L,Fe,re,lt=`Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to
compute decoding in several steps. This is useful to save some memory and allow larger batch sizes.`,Ve,P,S,Re,ie,at=`Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to
compute decoding and encoding in several steps. This is useful for saving a large amount of memory and to allow
processing larger images.`,He,G,D,Ne,pe,rt="Encodes the prompt into text encoder hidden states.",Me,O,we,A,K,Ye,de,it="Output class for Allegro pipelines.",Te,ee,Je,ce,xe;return w=new ke({props:{title:"Allegro",local:"allegro",headingTag:"h1"}}),I=new ht({props:{$$slots:{default:[yt]},$$scope:{ctx:te}}}),E=new ke({props:{title:"Quantization",local:"quantization",headingTag:"h2"}}),F=new dt({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwQml0c0FuZEJ5dGVzQ29uZmlnJTIwYXMlMjBEaWZmdXNlcnNCaXRzQW5kQnl0ZXNDb25maWclMkMlMjBBbGxlZ3JvVHJhbnNmb3JtZXIzRE1vZGVsJTJDJTIwQWxsZWdyb1BpcGVsaW5lJTBBZnJvbSUyMGRpZmZ1c2Vycy51dGlscyUyMGltcG9ydCUyMGV4cG9ydF90b192aWRlbyUwQWZyb20lMjB0cmFuc2Zvcm1lcnMlMjBpbXBvcnQlMjBCaXRzQW5kQnl0ZXNDb25maWclMjBhcyUyMEJpdHNBbmRCeXRlc0NvbmZpZyUyQyUyMFQ1RW5jb2Rlck1vZGVsJTBBJTBBcXVhbnRfY29uZmlnJTIwJTNEJTIwQml0c0Fu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ers <span class="hljs-keyword">import</span> BitsAndBytesConfig <span class="hljs-keyword">as</span> DiffusersBitsAndBytesConfig, AllegroTransformer3DModel, AllegroPipeline
<span class="hljs-keyword">from</span> diffusers.utils <span class="hljs-keyword">import</span> export_to_video
<span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> BitsAndBytesConfig <span class="hljs-keyword">as</span> BitsAndBytesConfig, T5EncoderModel

quant_config = BitsAndBytesConfig(load_in_8bit=<span class="hljs-literal">True</span>)
text_encoder_8bit = T5EncoderModel.from_pretrained(
    <span class="hljs-string">&quot;rhymes-ai/Allegro&quot;</span>,
    subfolder=<span class="hljs-string">&quot;text_encoder&quot;</span>,
    quantization_config=quant_config,
    torch_dtype=torch.float16,
)

quant_config = DiffusersBitsAndBytesConfig(load_in_8bit=<span class="hljs-literal">True</span>)
transformer_8bit = AllegroTransformer3DModel.from_pretrained(
    <span class="hljs-string">&quot;rhymes-ai/Allegro&quot;</span>,
    subfolder=<span class="hljs-string">&quot;transformer&quot;</span>,
    quantization_config=quant_config,
    torch_dtype=torch.float16,
)

pipeline = AllegroPipeline.from_pretrained(
    <span class="hljs-string">&quot;rhymes-ai/Allegro&quot;</span>,
    text_encoder=text_encoder_8bit,
    transformer=transformer_8bit,
    torch_dtype=torch.float16,
    device_map=<span class="hljs-string">&quot;balanced&quot;</span>,
)

prompt = (
    <span class="hljs-string">&quot;A seaside harbor with bright sunlight and sparkling seawater, with many boats in the water. From an aerial view, &quot;</span>
    <span class="hljs-string">&quot;the boats vary in size and color, some moving and some stationary. Fishing boats in the water suggest that this &quot;</span>
    <span class="hljs-string">&quot;location might be a popular spot for docking fishing boats.&quot;</span>
)
video = pipeline(prompt, guidance_scale=<span class="hljs-number">7.5</span>, max_sequence_length=<span class="hljs-number">512</span>).frames[<span class="hljs-number">0</span>]
export_to_video(video, <span class="hljs-string">&quot;harbor.mp4&quot;</span>, fps=<span class="hljs-number">15</span>)`,wrap:!1}}),V=new ke({props:{title:"AllegroPipeline",local:"diffusers.AllegroPipeline",headingTag:"h2"}}),R=new W({props:{name:"class diffusers.AllegroPipeline",anchor:"diffusers.AllegroPipeline",parameters:[{name:"tokenizer",val:": T5Tokenizer"},{name:"text_encoder",val:": T5EncoderModel"},{name:"vae",val:": AutoencoderKLAllegro"},{name:"transformer",val:": AllegroTransformer3DModel"},{name:"scheduler",val:": KarrasDiffusionSchedulers"}],parametersDescription:[{anchor:"diffusers.AllegroPipeline.vae",description:`<strong>vae</strong> (<code>AllegroAutoEncoderKL3D</code>) &#x2014;
Variational Auto-Encoder (VAE) Model to encode and decode video to and from latent representations.`,name:"vae"},{anchor:"diffusers.AllegroPipeline.text_encoder",description:`<strong>text_encoder</strong> (<code>T5EncoderModel</code>) &#x2014;
Frozen text-encoder. PixArt-Alpha uses
<a href="https://huggingface.co/docs/transformers/model_doc/t5#transformers.T5EncoderModel" rel="nofollow">T5</a>, specifically the
<a href="https://huggingface.co/PixArt-alpha/PixArt-alpha/tree/main/t5-v1_1-xxl" rel="nofollow">t5-v1_1-xxl</a> variant.`,name:"text_encoder"},{anchor:"diffusers.AllegroPipeline.tokenizer",description:`<strong>tokenizer</strong> (<code>T5Tokenizer</code>) &#x2014;
Tokenizer of class
<a href="https://huggingface.co/docs/transformers/model_doc/t5#transformers.T5Tokenizer" rel="nofollow">T5Tokenizer</a>.`,name:"tokenizer"},{anchor:"diffusers.AllegroPipeline.transformer",description:`<strong>transformer</strong> (<a href="/docs/diffusers/pr_10123/en/api/models/allegro_transformer3d#diffusers.AllegroTransformer3DModel">AllegroTransformer3DModel</a>) &#x2014;
A text conditioned <code>AllegroTransformer3DModel</code> to denoise the encoded video latents.`,name:"transformer"},{anchor:"diffusers.AllegroPipeline.scheduler",description:`<strong>scheduler</strong> (<a href="/docs/diffusers/pr_10123/en/api/schedulers/overview#diffusers.SchedulerMixin">SchedulerMixin</a>) &#x2014;
A scheduler to be used in combination with <code>transformer</code> to denoise the encoded video latents.`,name:"scheduler"}],source:"https://github.com/huggingface/diffusers/blob/vr_10123/src/diffusers/pipelines/allegro/pipeline_allegro.py#L144"}}),H=new W({props:{name:"__call__",anchor:"diffusers.AllegroPipeline.__call__",parameters:[{name:"prompt",val:": typing.Union[str, typing.List[str]] = None"},{name:"negative_prompt",val:": str = ''"},{name:"num_inference_steps",val:": int = 100"},{name:"timesteps",val:": typing.List[int] = None"},{name:"guidance_scale",val:": float = 7.5"},{name:"num_frames",val:": typing.Optional[int] = None"},{name:"height",val:": typing.Optional[int] = None"},{name:"width",val:": typing.Optional[int] = None"},{name:"num_videos_per_prompt",val:": int = 1"},{name:"eta",val:": float = 0.0"},{name:"generator",val:": typing.Union[torch._C.Generator, typing.List[torch._C.Generator], NoneType] = None"},{name:"latents",val:": typing.Optional[torch.Tensor] = None"},{name:"prompt_embeds",val:": typing.Optional[torch.Tensor] = None"},{name:"prompt_attention_mask",val:": typing.Optional[torch.Tensor] = None"},{name:"negative_prompt_embeds",val:": typing.Optional[torch.Tensor] = None"},{name:"negative_prompt_attention_mask",val:": typing.Optional[torch.Tensor] = None"},{name:"output_type",val:": typing.Optional[str] = 'pil'"},{name:"return_dict",val:": bool = True"},{name:"callback_on_step_end",val:": typing.Union[typing.Callable[[int, int, typing.Dict], NoneType], diffusers.callbacks.PipelineCallback, diffusers.callbacks.MultiPipelineCallbacks, NoneType] = None"},{name:"callback_on_step_end_tensor_inputs",val:": typing.List[str] = ['latents']"},{name:"clean_caption",val:": bool = True"},{name:"max_sequence_length",val:": int = 512"}],parametersDescription:[{anchor:"diffusers.AllegroPipeline.__call__.prompt",description:`<strong>prompt</strong> (<code>str</code> or <code>List[str]</code>, <em>optional</em>) &#x2014;
The prompt or prompts to guide the video generation. If not defined, one has to pass <code>prompt_embeds</code>.
instead.`,name:"prompt"},{anchor:"diffusers.AllegroPipeline.__call__.negative_prompt",description:`<strong>negative_prompt</strong> (<code>str</code> or <code>List[str]</code>, <em>optional</em>) &#x2014;
The prompt or prompts not to guide the video generation. If not defined, one has to pass
<code>negative_prompt_embeds</code> instead. Ignored when not using guidance (i.e., ignored if <code>guidance_scale</code> is
less than <code>1</code>).`,name:"negative_prompt"},{anchor:"diffusers.AllegroPipeline.__call__.num_inference_steps",description:`<strong>num_inference_steps</strong> (<code>int</code>, <em>optional</em>, defaults to 100) &#x2014;
The number of denoising steps. More denoising steps usually lead to a higher quality video at the
expense of slower inference.`,name:"num_inference_steps"},{anchor:"diffusers.AllegroPipeline.__call__.timesteps",description:`<strong>timesteps</strong> (<code>List[int]</code>, <em>optional</em>) &#x2014;
Custom timesteps to use for the denoising process. If not defined, equal spaced <code>num_inference_steps</code>
timesteps are used. Must be in descending order.`,name:"timesteps"},{anchor:"diffusers.AllegroPipeline.__call__.guidance_scale",description:`<strong>guidance_scale</strong> (<code>float</code>, <em>optional</em>, defaults to 7.5) &#x2014;
Guidance scale as defined in <a href="https://arxiv.org/abs/2207.12598" rel="nofollow">Classifier-Free Diffusion Guidance</a>.
<code>guidance_scale</code> is defined as <code>w</code> of equation 2. of <a href="https://arxiv.org/pdf/2205.11487.pdf" rel="nofollow">Imagen
Paper</a>. Guidance scale is enabled by setting <code>guidance_scale &gt; 1</code>. Higher guidance scale encourages to generate videos that are closely linked to the text <code>prompt</code>,
usually at the expense of lower video quality.`,name:"guidance_scale"},{anchor:"diffusers.AllegroPipeline.__call__.num_videos_per_prompt",description:`<strong>num_videos_per_prompt</strong> (<code>int</code>, <em>optional</em>, defaults to 1) &#x2014;
The number of videos to generate per prompt.`,name:"num_videos_per_prompt"},{anchor:"diffusers.AllegroPipeline.__call__.num_frames",description:`<strong>num_frames</strong> &#x2014; (<code>int</code>, <em>optional</em>, defaults to 88):
The number controls the generated video frames.`,name:"num_frames"},{anchor:"diffusers.AllegroPipeline.__call__.height",description:`<strong>height</strong> (<code>int</code>, <em>optional</em>, defaults to self.unet.config.sample_size) &#x2014;
The height in pixels of the generated video.`,name:"height"},{anchor:"diffusers.AllegroPipeline.__call__.width",description:`<strong>width</strong> (<code>int</code>, <em>optional</em>, defaults to self.unet.config.sample_size) &#x2014;
The width in pixels of the generated video.`,name:"width"},{anchor:"diffusers.AllegroPipeline.__call__.eta",description:`<strong>eta</strong> (<code>float</code>, <em>optional</em>, defaults to 0.0) &#x2014;
Corresponds to parameter eta (&#x3B7;) in the DDIM paper: <a href="https://arxiv.org/abs/2010.02502" rel="nofollow">https://arxiv.org/abs/2010.02502</a>. Only applies to
<a href="/docs/diffusers/pr_10123/en/api/schedulers/ddim#diffusers.DDIMScheduler">schedulers.DDIMScheduler</a>, will be ignored for others.`,name:"eta"},{anchor:"diffusers.AllegroPipeline.__call__.generator",description:`<strong>generator</strong> (<code>torch.Generator</code> or <code>List[torch.Generator]</code>, <em>optional</em>) &#x2014;
One or a list of <a href="https://pytorch.org/docs/stable/generated/torch.Generator.html" rel="nofollow">torch generator(s)</a>
to make generation deterministic.`,name:"generator"},{anchor:"diffusers.AllegroPipeline.__call__.latents",description:`<strong>latents</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for video
tensor will ge generated by sampling using the supplied random <code>generator</code>.`,name:"latents"},{anchor:"diffusers.AllegroPipeline.__call__.prompt_embeds",description:`<strong>prompt_embeds</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated text embeddings. Can be used to easily tweak text inputs, <em>e.g.</em> prompt weighting. If not
provided, text embeddings will be generated from <code>prompt</code> input argument.`,name:"prompt_embeds"},{anchor:"diffusers.AllegroPipeline.__call__.prompt_attention_mask",description:"<strong>prompt_attention_mask</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014; Pre-generated attention mask for text embeddings.",name:"prompt_attention_mask"},{anchor:"diffusers.AllegroPipeline.__call__.negative_prompt_embeds",description:`<strong>negative_prompt_embeds</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated negative text embeddings. For PixArt-Sigma this negative prompt should be &quot;&quot;. If not
provided, negative_prompt_embeds will be generated from <code>negative_prompt</code> input argument.`,name:"negative_prompt_embeds"},{anchor:"diffusers.AllegroPipeline.__call__.negative_prompt_attention_mask",description:`<strong>negative_prompt_attention_mask</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated attention mask for negative text embeddings.`,name:"negative_prompt_attention_mask"},{anchor:"diffusers.AllegroPipeline.__call__.output_type",description:`<strong>output_type</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;pil&quot;</code>) &#x2014;
The output format of the generate video. Choose between
<a href="https://pillow.readthedocs.io/en/stable/" rel="nofollow">PIL</a>: <code>PIL.Image.Image</code> or <code>np.array</code>.`,name:"output_type"},{anchor:"diffusers.AllegroPipeline.__call__.return_dict",description:`<strong>return_dict</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether or not to return a <code>~pipelines.stable_diffusion.IFPipelineOutput</code> instead of a plain tuple.`,name:"return_dict"},{anchor:"diffusers.AllegroPipeline.__call__.callback",description:`<strong>callback</strong> (<code>Callable</code>, <em>optional</em>) &#x2014;
A function that will be called every <code>callback_steps</code> steps during inference. The function will be
called with the following arguments: <code>callback(step: int, timestep: int, latents: torch.Tensor)</code>.`,name:"callback"},{anchor:"diffusers.AllegroPipeline.__call__.callback_steps",description:`<strong>callback_steps</strong> (<code>int</code>, <em>optional</em>, defaults to 1) &#x2014;
The frequency at which the <code>callback</code> function will be called. If not specified, the callback will be
called at every step.`,name:"callback_steps"},{anchor:"diffusers.AllegroPipeline.__call__.clean_caption",description:`<strong>clean_caption</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
Whether or not to clean the caption before creating embeddings. Requires <code>beautifulsoup4</code> and <code>ftfy</code> to
be installed. If the dependencies are not installed, the embeddings will be created from the raw
prompt.`,name:"clean_caption"},{anchor:"diffusers.AllegroPipeline.__call__.max_sequence_length",description:`<strong>max_sequence_length</strong> (<code>int</code> defaults to <code>512</code>) &#x2014;
Maximum sequence length to use with the <code>prompt</code>.`,name:"max_sequence_length"}],source:"https://github.com/huggingface/diffusers/blob/vr_10123/src/diffusers/pipelines/allegro/pipeline_allegro.py#L690",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>If <code>return_dict</code> is <code>True</code>, <a
  href="/docs/diffusers/pr_10123/en/api/pipelines/allegro#diffusers.pipelines.allegro.pipeline_output.AllegroPipelineOutput"
>AllegroPipelineOutput</a> is returned,
otherwise a <code>tuple</code> is returned where the first element is a list with the generated videos.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/diffusers/pr_10123/en/api/pipelines/allegro#diffusers.pipelines.allegro.pipeline_output.AllegroPipelineOutput"
>AllegroPipelineOutput</a> or <code>tuple</code></p>
`}}),Z=new _t({props:{anchor:"diffusers.AllegroPipeline.__call__.example",$$slots:{default:[vt]},$$scope:{ctx:te}}}),N=new W({props:{name:"disable_vae_slicing",anchor:"diffusers.AllegroPipeline.disable_vae_slicing",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_10123/src/diffusers/pipelines/allegro/pipeline_allegro.py#L656"}}),Y=new W({props:{name:"disable_vae_tiling",anchor:"diffusers.AllegroPipeline.disable_vae_tiling",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_10123/src/diffusers/pipelines/allegro/pipeline_allegro.py#L671"}}),L=new W({props:{name:"enable_vae_slicing",anchor:"diffusers.AllegroPipeline.enable_vae_slicing",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_10123/src/diffusers/pipelines/allegro/pipeline_allegro.py#L649"}}),S=new W({props:{name:"enable_vae_tiling",anchor:"diffusers.AllegroPipeline.enable_vae_tiling",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_10123/src/diffusers/pipelines/allegro/pipeline_allegro.py#L663"}}),D=new W({props:{name:"encode_prompt",anchor:"diffusers.AllegroPipeline.encode_prompt",parameters:[{name:"prompt",val:": typing.Union[str, typing.List[str]]"},{name:"do_classifier_free_guidance",val:": bool = True"},{name:"negative_prompt",val:": str = ''"},{name:"num_videos_per_prompt",val:": int = 1"},{name:"device",val:": typing.Optional[torch.device] = None"},{name:"prompt_embeds",val:": typing.Optional[torch.Tensor] = None"},{name:"negative_prompt_embeds",val:": typing.Optional[torch.Tensor] = None"},{name:"prompt_attention_mask",val:": typing.Optional[torch.Tensor] = None"},{name:"negative_prompt_attention_mask",val:": typing.Optional[torch.Tensor] = None"},{name:"clean_caption",val:": bool = False"},{name:"max_sequence_length",val:": int = 512"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"diffusers.AllegroPipeline.encode_prompt.prompt",description:`<strong>prompt</strong> (<code>str</code> or <code>List[str]</code>, <em>optional</em>) &#x2014;
prompt to be encoded`,name:"prompt"},{anchor:"diffusers.AllegroPipeline.encode_prompt.negative_prompt",description:`<strong>negative_prompt</strong> (<code>str</code> or <code>List[str]</code>, <em>optional</em>) &#x2014;
The prompt not to guide the image generation. If not defined, one has to pass <code>negative_prompt_embeds</code>
instead. Ignored when not using guidance (i.e., ignored if <code>guidance_scale</code> is less than <code>1</code>). For
PixArt-Alpha, this should be &quot;&quot;.`,name:"negative_prompt"},{anchor:"diffusers.AllegroPipeline.encode_prompt.do_classifier_free_guidance",description:`<strong>do_classifier_free_guidance</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>True</code>) &#x2014;
whether to use classifier free guidance or not`,name:"do_classifier_free_guidance"},{anchor:"diffusers.AllegroPipeline.encode_prompt.num_videos_per_prompt",description:`<strong>num_videos_per_prompt</strong> (<code>int</code>, <em>optional</em>, defaults to 1) &#x2014;
number of images that should be generated per prompt`,name:"num_videos_per_prompt"},{anchor:"diffusers.AllegroPipeline.encode_prompt.device",description:`<strong>device</strong> &#x2014; (<code>torch.device</code>, <em>optional</em>):
torch device to place the resulting embeddings on`,name:"device"},{anchor:"diffusers.AllegroPipeline.encode_prompt.prompt_embeds",description:`<strong>prompt_embeds</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated text embeddings. Can be used to easily tweak text inputs, <em>e.g.</em> prompt weighting. If not
provided, text embeddings will be generated from <code>prompt</code> input argument.`,name:"prompt_embeds"},{anchor:"diffusers.AllegroPipeline.encode_prompt.negative_prompt_embeds",description:`<strong>negative_prompt_embeds</strong> (<code>torch.Tensor</code>, <em>optional</em>) &#x2014;
Pre-generated negative text embeddings. For PixArt-Alpha, it&#x2019;s should be the embeddings of the &quot;&quot;
string.`,name:"negative_prompt_embeds"},{anchor:"diffusers.AllegroPipeline.encode_prompt.clean_caption",description:`<strong>clean_caption</strong> (<code>bool</code>, defaults to <code>False</code>) &#x2014;
If <code>True</code>, the function will preprocess and clean the provided caption before encoding.`,name:"clean_caption"},{anchor:"diffusers.AllegroPipeline.encode_prompt.max_sequence_length",description:"<strong>max_sequence_length</strong> (<code>int</code>, defaults to 512) &#x2014; Maximum sequence length to use for the prompt.",name:"max_sequence_length"}],source:"https://github.com/huggingface/diffusers/blob/vr_10123/src/diffusers/pipelines/allegro/pipeline_allegro.py#L215"}}),O=new ke({props:{title:"AllegroPipelineOutput",local:"diffusers.pipelines.allegro.pipeline_output.AllegroPipelineOutput",headingTag:"h2"}}),K=new W({props:{name:"class diffusers.pipelines.allegro.pipeline_output.AllegroPipelineOutput",anchor:"diffusers.pipelines.allegro.pipeline_output.AllegroPipelineOutput",parameters:[{name:"frames",val:": typing.Union[torch.Tensor, numpy.ndarray, typing.List[typing.List[PIL.Image.Image]]]"}],parametersDescription:[{anchor:"diffusers.pipelines.allegro.pipeline_output.AllegroPipelineOutput.frames",description:`<strong>frames</strong> (<code>torch.Tensor</code>, <code>np.ndarray</code>, or List[List[PIL.Image.Image]]) &#x2014;
List of video outputs - It can be a nested list of length <code>batch_size,</code> with each sub-list containing
denoised PIL image sequences of length <code>num_frames.</code> It can also be a NumPy array or Torch tensor of shape
<code>(batch_size, num_frames, channels, height, width)</code>.`,name:"frames"}],source:"https://github.com/huggingface/diffusers/blob/vr_10123/src/diffusers/pipelines/allegro/pipeline_output.py#L11"}}),ee=new bt({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/pipelines/allegro.md"}}),{c(){p=r("meta"),J=o(),y=r("p"),M=o(),g(w.$$.fragment),m=o(),T=r("p"),T.innerHTML=Le,me=o(),q=r("p"),q.textContent=Se,ge=o(),z=r("p"),z.innerHTML=De,ue=o(),g(I.$$.fragment),fe=o(),g(E.$$.fragment),he=o(),Q=r("p"),Q.textContent=Oe,_e=o(),X=r("p"),X.innerHTML=Ke,be=o(),g(F.$$.fragment),ye=o(),g(V.$$.fragment),ve=o(),d=r("div"),g(R.$$.fragment),Be=o(),ne=r("p"),ne.textContent=et,Ce=o(),oe=r("p"),oe.innerHTML=tt,Pe=o(),x=r("div"),g(H.$$.fragment),Ge=o(),se=r("p"),se.textContent=nt,We=o(),g(Z.$$.fragment),qe=o(),k=r("div"),g(N.$$.fragment),ze=o(),le=r("p"),le.innerHTML=ot,Ee=o(),B=r("div"),g(Y.$$.fragment),Qe=o(),ae=r("p"),ae.innerHTML=st,Xe=o(),C=r("div"),g(L.$$.fragment),Fe=o(),re=r("p"),re.textContent=lt,Ve=o(),P=r("div"),g(S.$$.fragment),Re=o(),ie=r("p"),ie.textContent=at,He=o(),G=r("div"),g(D.$$.fragment),Ne=o(),pe=r("p"),pe.textContent=rt,Me=o(),g(O.$$.fragment),we=o(),A=r("div"),g(K.$$.fragment),Ye=o(),de=r("p"),de.textContent=it,Te=o(),g(ee.$$.fragment),Je=o(),ce=r("p"),this.h()},l(e){const t=ft("svelte-u9bgzb",document.head);p=i(t,"META",{name:!0,content:!0}),t.forEach(n),J=s(e),y=i(e,"P",{}),j(y).forEach(n),M=s(e),u(w.$$.fragment,e),m=s(e),T=i(e,"P",{"data-svelte-h":!0}),v(T)!=="svelte-17qj9tz"&&(T.innerHTML=Le),me=s(e),q=i(e,"P",{"data-svelte-h":!0}),v(q)!=="svelte-1cwsb16"&&(q.textContent=Se),ge=s(e),z=i(e,"P",{"data-svelte-h":!0}),v(z)!=="svelte-159uw6t"&&(z.innerHTML=De),ue=s(e),u(I.$$.fragment,e),fe=s(e),u(E.$$.fragment,e),he=s(e),Q=i(e,"P",{"data-svelte-h":!0}),v(Q)!=="svelte-1ou2pxc"&&(Q.textContent=Oe),_e=s(e),X=i(e,"P",{"data-svelte-h":!0}),v(X)!=="svelte-6yp5q7"&&(X.innerHTML=Ke),be=s(e),u(F.$$.fragment,e),ye=s(e),u(V.$$.fragment,e),ve=s(e),d=i(e,"DIV",{class:!0});var c=j(d);u(R.$$.fragment,c),Be=s(c),ne=i(c,"P",{"data-svelte-h":!0}),v(ne)!=="svelte-122gdxk"&&(ne.textContent=et),Ce=s(c),oe=i(c,"P",{"data-svelte-h":!0}),v(oe)!=="svelte-1gkw1rw"&&(oe.innerHTML=tt),Pe=s(c),x=i(c,"DIV",{class:!0});var $=j(x);u(H.$$.fragment,$),Ge=s($),se=i($,"P",{"data-svelte-h":!0}),v(se)!=="svelte-v78lg8"&&(se.textContent=nt),We=s($),u(Z.$$.fragment,$),$.forEach(n),qe=s(c),k=i(c,"DIV",{class:!0});var je=j(k);u(N.$$.fragment,je),ze=s(je),le=i(je,"P",{"data-svelte-h":!0}),v(le)!=="svelte-1s3c06i"&&(le.innerHTML=ot),je.forEach(n),Ee=s(c),B=i(c,"DIV",{class:!0});var Ue=j(B);u(Y.$$.fragment,Ue),Qe=s(Ue),ae=i(Ue,"P",{"data-svelte-h":!0}),v(ae)!=="svelte-pkn4ui"&&(ae.innerHTML=st),Ue.forEach(n),Xe=s(c),C=i(c,"DIV",{class:!0});var Ae=j(C);u(L.$$.fragment,Ae),Fe=s(Ae),re=i(Ae,"P",{"data-svelte-h":!0}),v(re)!=="svelte-14bnrb6"&&(re.textContent=lt),Ae.forEach(n),Ve=s(c),P=i(c,"DIV",{class:!0});var $e=j(P);u(S.$$.fragment,$e),Re=s($e),ie=i($e,"P",{"data-svelte-h":!0}),v(ie)!=="svelte-1xwrf7t"&&(ie.textContent=at),$e.forEach(n),He=s(c),G=i(c,"DIV",{class:!0});var Ie=j(G);u(D.$$.fragment,Ie),Ne=s(Ie),pe=i(Ie,"P",{"data-svelte-h":!0}),v(pe)!=="svelte-16q0ax1"&&(pe.textContent=rt),Ie.forEach(n),c.forEach(n),Me=s(e),u(O.$$.fragment,e),we=s(e),A=i(e,"DIV",{class:!0});var Ze=j(A);u(K.$$.fragment,Ze),Ye=s(Ze),de=i(Ze,"P",{"data-svelte-h":!0}),v(de)!=="svelte-1wjc5n1"&&(de.textContent=it),Ze.forEach(n),Te=s(e),u(ee.$$.fragment,e),Je=s(e),ce=i(e,"P",{}),j(ce).forEach(n),this.h()},h(){U(p,"name","hf:doc:metadata"),U(p,"content",wt),U(x,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),U(k,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),U(B,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),U(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),U(P,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),U(G,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),U(d,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),U(A,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(e,t){l(document.head,p),a(e,J,t),a(e,y,t),a(e,M,t),f(w,e,t),a(e,m,t),a(e,T,t),a(e,me,t),a(e,q,t),a(e,ge,t),a(e,z,t),a(e,ue,t),f(I,e,t),a(e,fe,t),f(E,e,t),a(e,he,t),a(e,Q,t),a(e,_e,t),a(e,X,t),a(e,be,t),f(F,e,t),a(e,ye,t),f(V,e,t),a(e,ve,t),a(e,d,t),f(R,d,null),l(d,Be),l(d,ne),l(d,Ce),l(d,oe),l(d,Pe),l(d,x),f(H,x,null),l(x,Ge),l(x,se),l(x,We),f(Z,x,null),l(d,qe),l(d,k),f(N,k,null),l(k,ze),l(k,le),l(d,Ee),l(d,B),f(Y,B,null),l(B,Qe),l(B,ae),l(d,Xe),l(d,C),f(L,C,null),l(C,Fe),l(C,re),l(d,Ve),l(d,P),f(S,P,null),l(P,Re),l(P,ie),l(d,He),l(d,G),f(D,G,null),l(G,Ne),l(G,pe),a(e,Me,t),f(O,e,t),a(e,we,t),a(e,A,t),f(K,A,null),l(A,Ye),l(A,de),a(e,Te,t),f(ee,e,t),a(e,Je,t),a(e,ce,t),xe=!0},p(e,[t]){const c={};t&2&&(c.$$scope={dirty:t,ctx:e}),I.$set(c);const $={};t&2&&($.$$scope={dirty:t,ctx:e}),Z.$set($)},i(e){xe||(h(w.$$.fragment,e),h(I.$$.fragment,e),h(E.$$.fragment,e),h(F.$$.fragment,e),h(V.$$.fragment,e),h(R.$$.fragment,e),h(H.$$.fragment,e),h(Z.$$.fragment,e),h(N.$$.fragment,e),h(Y.$$.fragment,e),h(L.$$.fragment,e),h(S.$$.fragment,e),h(D.$$.fragment,e),h(O.$$.fragment,e),h(K.$$.fragment,e),h(ee.$$.fragment,e),xe=!0)},o(e){_(w.$$.fragment,e),_(I.$$.fragment,e),_(E.$$.fragment,e),_(F.$$.fragment,e),_(V.$$.fragment,e),_(R.$$.fragment,e),_(H.$$.fragment,e),_(Z.$$.fragment,e),_(N.$$.fragment,e),_(Y.$$.fragment,e),_(L.$$.fragment,e),_(S.$$.fragment,e),_(D.$$.fragment,e),_(O.$$.fragment,e),_(K.$$.fragment,e),_(ee.$$.fragment,e),xe=!1},d(e){e&&(n(J),n(y),n(M),n(m),n(T),n(me),n(q),n(ge),n(z),n(ue),n(fe),n(he),n(Q),n(_e),n(X),n(be),n(ye),n(ve),n(d),n(Me),n(we),n(A),n(Te),n(Je),n(ce)),n(p),b(w,e),b(I,e),b(E,e),b(F,e),b(V,e),b(R),b(H),b(Z),b(N),b(Y),b(L),b(S),b(D),b(O,e),b(K),b(ee,e)}}}const wt='{"title":"Allegro","local":"allegro","sections":[{"title":"Quantization","local":"quantization","sections":[],"depth":2},{"title":"AllegroPipeline","local":"diffusers.AllegroPipeline","sections":[],"depth":2},{"title":"AllegroPipelineOutput","local":"diffusers.pipelines.allegro.pipeline_output.AllegroPipelineOutput","sections":[],"depth":2}],"depth":1}';function Tt(te){return mt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Zt extends gt{constructor(p){super(),ut(this,p,Tt,Mt,ct,{})}}export{Zt as component};
