Buckets:

rtrm's picture
download
raw
38.3 kB
import{s as gt,o as ut,n as ft}from"../chunks/scheduler.53228c21.js";import{S as ht,i as _t,e as r,s as o,c as g,h as bt,a as i,d as t,b as s,f as j,g as u,j as y,k as T,l,m as a,n as f,t as h,o as _,p as b}from"../chunks/index.100fac89.js";import{C as yt}from"../chunks/CopyLLMTxtMenu.889e43fd.js";import{D as P}from"../chunks/Docstring.ce3d608a.js";import{C as mt}from"../chunks/CodeBlock.d30a6509.js";import{E as vt}from"../chunks/ExampleCodeBlock.9818dc6d.js";import{H as Ce,E as Mt}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.8bcc6871.js";function wt(me){let m,G="Examples:",x,v,M;return v=new mt({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwQXV0b2VuY29kZXJLTEFsbGVncm8lMkMlMjBBbGxlZ3JvUGlwZWxpbmUlMEFmcm9tJTIwZGlmZnVzZXJzLnV0aWxzJTIwaW1wb3J0JTIwZXhwb3J0X3RvX3ZpZGVvJTBBJTBBdmFlJTIwJTNEJTIwQXV0b2VuY29kZXJLTEFsbGVncm8uZnJvbV9wcmV0cmFpbmVkKCUyMnJoeW1lcy1haSUyRkFsbGVncm8lMjIlMkMlMjBzdWJmb2xkZXIlM0QlMjJ2YWUlMjIlMkMlMjB0b3JjaF9kdHlwZSUzRHRvcmNoLmZsb2F0MzIpJTBBcGlwZSUyMCUzRCUyMEFsbGVncm9QaXBlbGluZS5mcm9tX3ByZXRyYWluZWQoJTIycmh5bWVzLWFpJTJGQWxsZWdybyUyMiUyQyUyMHZhZSUzRHZhZSUyQyUyMHRvcmNoX2R0eXBlJTNEdG9yY2guYmZsb2F0MTYpLnRvKCUyMmN1ZGElMjIpJTBBcGlwZS5lbmFibGVfdmFlX3RpbGluZygpJTBBJTBBcHJvbXB0JTIwJTNEJTIwKCUwQSUyMCUyMCUyMCUyMCUyMkElMjBzZWFzaWRlJTIwaGFyYm9yJTIwd2l0aCUyMGJyaWdodCUyMHN1bmxpZ2h0JTIwYW5kJTIwc3BhcmtsaW5nJTIwc2Vhd2F0ZXIlMkMlMjB3aXRoJTIwbWFueSUyMGJvYXRzJTIwaW4lMjB0aGUlMjB3YXRlci4lMjBGcm9tJTIwYW4lMjBhZXJpYWwlMjB2aWV3JTJDJTIwJTIyJTBBJTIwJTIwJTIwJTIwJTIydGhlJTIwYm9hdHMlMjB2YXJ5JTIwaW4lMjBzaXplJTIwYW5kJTIwY29sb3IlMkMlMjBzb21lJTIwbW92aW5nJTIwYW5kJTIwc29tZSUyMHN0YXRpb25hcnkuJTIwRmlzaGluZyUyMGJvYXRzJTIwaW4lMjB0aGUlMjB3YXRlciUyMHN1Z2dlc3QlMjB0aGF0JTIwdGhpcyUyMCUyMiUwQSUyMCUyMCUyMCUyMCUyMmxvY2F0aW9uJTIwbWlnaHQlMjBiZSUyMGElMjBwb3B1bGFyJTIwc3BvdCUyMGZvciUyMGRvY2tpbmclMjBmaXNoaW5nJTIwYm9hdHMuJTIyJTBBKSUwQXZpZGVvJTIwJTNEJTIwcGlwZShwcm9tcHQlMkMlMjBndWlkYW5jZV9zY2FsZSUzRDcuNSUyQyUyMG1heF9zZXF1ZW5jZV9sZW5ndGglM0Q1MTIpLmZyYW1lcyU1QjAlNUQlMEFleHBvcnRfdG9fdmlkZW8odmlkZW8lMkMlMjAlMjJvdXRwdXQubXA0JTIyJTJDJTIwZnBzJTNEMTUp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">import</span> torch
<span class="hljs-meta">&gt;&gt;&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(){m=r("p"),m.textContent=G,x=o(),g(v.$$.fragment)},l(c){m=i(c,"P",{"data-svelte-h":!0}),y(m)!=="svelte-kvfsh7"&&(m.textContent=G),x=s(c),u(v.$$.fragment,c)},m(c,w){a(c,m,w),a(c,x,w),f(v,c,w),M=!0},p:ft,i(c){M||(h(v.$$.fragment,c),M=!0)},o(c){_(v.$$.fragment,c),M=!1},d(c){c&&(t(m),t(x)),b(v,c)}}}function Tt(me){let m,G,x,v,M,c,w,ge,W,De='<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.',ue,q,Oe="The abstract from the paper is:",fe,z,Ke='<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>',he,A,et='<p>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.</p>',_e,E,be,Q,tt="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.",ye,X,nt='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_12652/en/api/pipelines/allegro#diffusers.AllegroPipeline">AllegroPipeline</a> for inference with bitsandbytes.',ve,F,Me,V,we,p,R,Pe,te,ot="Pipeline for text-to-video generation using Allegro.",Ge,ne,st=`This model inherits from <a href="/docs/diffusers/pr_12652/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.)`,We,J,H,qe,oe,lt="Function invoked when calling the pipeline for generation.",ze,I,Ee,$,N,Qe,se,at=`Disable sliced VAE decoding. If <code>enable_vae_slicing</code> was previously enabled, this method will go back to
computing decoding in one step.`,Xe,Z,Y,Fe,le,rt=`Disable tiled VAE decoding. If <code>enable_vae_tiling</code> was previously enabled, this method will go back to
computing decoding in one step.`,Ve,k,L,Re,ae,it=`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.`,He,B,S,Ne,re,pt=`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.`,Ye,C,D,Le,ie,dt="Encodes the prompt into text encoder hidden states.",Te,O,xe,U,K,Se,pe,ct="Output class for Allegro pipelines.",Je,ee,je,ce,Ue;return M=new yt({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),w=new Ce({props:{title:"Allegro",local:"allegro",headingTag:"h1"}}),E=new Ce({props:{title:"Quantization",local:"quantization",headingTag:"h2"}}),F=new mt({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwZGlmZnVzZXJzJTIwaW1wb3J0JTIwQml0c0FuZEJ5dGVzQ29uZmlnJTIwYXMlMjBEaWZmdXNlcnNCaXRzQW5kQnl0ZXNDb25maWclMkMlMjBBbGxlZ3JvVHJhbnNmb3JtZXIzRE1vZGVsJTJDJTIwQWxsZWdyb1BpcGVsaW5lJTBBZnJvbSUyMGRpZmZ1c2Vycy51dGlscyUyMGltcG9ydCUyMGV4cG9ydF90b192aWRlbyUwQWZyb20lMjB0cmFuc2Zvcm1lcnMlMjBpbXBvcnQlMjBCaXRzQW5kQnl0ZXNDb25maWclMjBhcyUyMEJpdHNBbmRCeXRlc0NvbmZpZyUyQyUyMFQ1RW5jb2Rlck1vZGVsJTBBJTBBcXVhbnRfY29uZmlnJTIwJTNEJTIwQml0c0FuZEJ5dGVzQ29uZmlnKGxvYWRfaW5fOGJpdCUzRFRydWUpJTBBdGV4dF9lbmNvZGVyXzhiaXQlMjAlM0QlMjBUNUVuY29kZXJNb2RlbC5mcm9tX3ByZXRyYWluZWQoJTBBJTIwJTIwJTIwJTIwJTIycmh5bWVzLWFpJTJGQWxsZWdybyUyMiUyQyUwQSUyMCUyMCUyMCUyMHN1YmZvbGRlciUzRCUyMnRleHRfZW5jb2RlciUyMiUyQyUwQSUyMCUyMCUyMCUyMHF1YW50aXphdGlvbl9jb25maWclM0RxdWFudF9jb25maWclMkMlMEElMjAlMjAlMjAlMjB0b3JjaF9kdHlwZSUzRHRvcmNoLmZsb2F0MTYlMkMlMEEpJTBBJTBBcXVhbnRfY29uZmlnJTIwJTNEJTIwRGlmZnVzZXJzQml0c0FuZEJ5dGVzQ29uZmlnKGxvYWRfaW5fOGJpdCUzRFRydWUpJTBBdHJhbnNmb3JtZXJfOGJpdCUyMCUzRCUyMEFsbGVncm9UcmFuc2Zvcm1lcjNETW9kZWwuZnJvbV9wcmV0cmFpbmVkKCUwQSUyMCUyMCUyMCUyMCUyMnJoeW1lcy1haSUyRkFsbGVncm8lMjIlMkMlMEElMjAlMjAlMjAlMjBzdWJmb2xkZXIlM0QlMjJ0cmFuc2Zvcm1lciUyMiUyQyUwQSUyMCUyMCUyMCUyMHF1YW50aXphdGlvbl9jb25maWclM0RxdWFudF9jb25maWclMkMlMEElMjAlMjAlMjAlMjB0b3JjaF9kdHlwZSUzRHRvcmNoLmZsb2F0MTYlMkMlMEEpJTBBJTBBcGlwZWxpbmUlMjAlM0QlMjBBbGxlZ3JvUGlwZWxpbmUuZnJvbV9wcmV0cmFpbmVkKCUwQSUyMCUyMCUyMCUyMCUyMnJoeW1lcy1haSUyRkFsbGVncm8lMjIlMkMlMEElMjAlMjAlMjAlMjB0ZXh0X2VuY29kZXIlM0R0ZXh0X2VuY29kZXJfOGJpdCUyQyUwQSUyMCUyMCUyMCUyMHRyYW5zZm9ybWVyJTNEdHJhbnNmb3JtZXJfOGJpdCUyQyUwQSUyMCUyMCUyMCUyMHRvcmNoX2R0eXBlJTNEdG9yY2guZmxvYXQxNiUyQyUwQSUyMCUyMCUyMCUyMGRldmljZV9tYXAlM0QlMjJiYWxhbmNlZCUyMiUyQyUwQSklMEElMEFwcm9tcHQlMjAlM0QlMjAoJTBBJTIwJTIwJTIwJTIwJTIyQSUyMHNlYXNpZGUlMjBoYXJib3IlMjB3aXRoJTIwYnJpZ2h0JTIwc3VubGlnaHQlMjBhbmQlMjBzcGFya2xpbmclMjBzZWF3YXRlciUyQyUyMHdpdGglMjBtYW55JTIwYm9hdHMlMjBpbiUyMHRoZSUyMHdhdGVyLiUyMEZyb20lMjBhbiUyMGFlcmlhbCUyMHZpZXclMkMlMjAlMjIlMEElMjAlMjAlMjAlMjAlMjJ0aGUlMjBib2F0cyUyMHZhcnklMjBpbiUyMHNpemUlMjBhbmQlMjBjb2xvciUyQyUyMHNvbWUlMjBtb3ZpbmclMjBhbmQlMjBzb21lJTIwc3RhdGlvbmFyeS4lMjBGaXNoaW5nJTIwYm9hdHMlMjBpbiUyMHRoZSUyMHdhdGVyJTIwc3VnZ2VzdCUyMHRoYXQlMjB0aGlzJTIwJTIyJTBBJTIwJTIwJTIwJTIwJTIybG9jYXRpb24lMjBtaWdodCUyMGJlJTIwYSUyMHBvcHVsYXIlMjBzcG90JTIwZm9yJTIwZG9ja2luZyUyMGZpc2hpbmclMjBib2F0cy4lMjIlMEEpJTBBdmlkZW8lMjAlM0QlMjBwaXBlbGluZShwcm9tcHQlMkMlMjBndWlkYW5jZV9zY2FsZSUzRDcuNSUyQyUyMG1heF9zZXF1ZW5jZV9sZW5ndGglM0Q1MTIpLmZyYW1lcyU1QjAlNUQlMEFleHBvcnRfdG9fdmlkZW8odmlkZW8lMkMlMjAlMjJoYXJib3IubXA0JTIyJTJDJTIwZnBzJTNEMTUp",highlighted:`<span class="hljs-keyword">import</span> torch
<span class="hljs-keyword">from</span> diffusers <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 Ce({props:{title:"AllegroPipeline",local:"diffusers.AllegroPipeline",headingTag:"h2"}}),R=new P({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_12652/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_12652/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_12652/src/diffusers/pipelines/allegro/pipeline_allegro.py#L144"}}),H=new P({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://huggingface.co/papers/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://huggingface.co/papers/2205.11487" 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://huggingface.co/papers/2010.02502" rel="nofollow">https://huggingface.co/papers/2010.02502</a>. Only
applies to <a href="/docs/diffusers/pr_12652/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 be 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_12652/src/diffusers/pipelines/allegro/pipeline_allegro.py#L718",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>
<p>If <code>return_dict</code> is <code>True</code>, <a
href="/docs/diffusers/pr_12652/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_12652/en/api/pipelines/allegro#diffusers.pipelines.allegro.pipeline_output.AllegroPipelineOutput"
>AllegroPipelineOutput</a> or <code>tuple</code></p>
`}}),I=new vt({props:{anchor:"diffusers.AllegroPipeline.__call__.example",$$slots:{default:[wt]},$$scope:{ctx:me}}}),N=new P({props:{name:"disable_vae_slicing",anchor:"diffusers.AllegroPipeline.disable_vae_slicing",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_12652/src/diffusers/pipelines/allegro/pipeline_allegro.py#L662"}}),Y=new P({props:{name:"disable_vae_tiling",anchor:"diffusers.AllegroPipeline.disable_vae_tiling",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_12652/src/diffusers/pipelines/allegro/pipeline_allegro.py#L689"}}),L=new P({props:{name:"enable_vae_slicing",anchor:"diffusers.AllegroPipeline.enable_vae_slicing",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_12652/src/diffusers/pipelines/allegro/pipeline_allegro.py#L649"}}),S=new P({props:{name:"enable_vae_tiling",anchor:"diffusers.AllegroPipeline.enable_vae_tiling",parameters:[],source:"https://github.com/huggingface/diffusers/blob/vr_12652/src/diffusers/pipelines/allegro/pipeline_allegro.py#L675"}}),D=new P({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_12652/src/diffusers/pipelines/allegro/pipeline_allegro.py#L215"}}),O=new Ce({props:{title:"AllegroPipelineOutput",local:"diffusers.pipelines.allegro.pipeline_output.AllegroPipelineOutput",headingTag:"h2"}}),K=new P({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_12652/src/diffusers/pipelines/allegro/pipeline_output.py#L12"}}),ee=new Mt({props:{source:"https://github.com/huggingface/diffusers/blob/main/docs/source/en/api/pipelines/allegro.md"}}),{c(){m=r("meta"),G=o(),x=r("p"),v=o(),g(M.$$.fragment),c=o(),g(w.$$.fragment),ge=o(),W=r("p"),W.innerHTML=De,ue=o(),q=r("p"),q.textContent=Oe,fe=o(),z=r("p"),z.innerHTML=Ke,he=o(),A=r("blockquote"),A.innerHTML=et,_e=o(),g(E.$$.fragment),be=o(),Q=r("p"),Q.textContent=tt,ye=o(),X=r("p"),X.innerHTML=nt,ve=o(),g(F.$$.fragment),Me=o(),g(V.$$.fragment),we=o(),p=r("div"),g(R.$$.fragment),Pe=o(),te=r("p"),te.textContent=ot,Ge=o(),ne=r("p"),ne.innerHTML=st,We=o(),J=r("div"),g(H.$$.fragment),qe=o(),oe=r("p"),oe.textContent=lt,ze=o(),g(I.$$.fragment),Ee=o(),$=r("div"),g(N.$$.fragment),Qe=o(),se=r("p"),se.innerHTML=at,Xe=o(),Z=r("div"),g(Y.$$.fragment),Fe=o(),le=r("p"),le.innerHTML=rt,Ve=o(),k=r("div"),g(L.$$.fragment),Re=o(),ae=r("p"),ae.textContent=it,He=o(),B=r("div"),g(S.$$.fragment),Ne=o(),re=r("p"),re.textContent=pt,Ye=o(),C=r("div"),g(D.$$.fragment),Le=o(),ie=r("p"),ie.textContent=dt,Te=o(),g(O.$$.fragment),xe=o(),U=r("div"),g(K.$$.fragment),Se=o(),pe=r("p"),pe.textContent=ct,Je=o(),g(ee.$$.fragment),je=o(),ce=r("p"),this.h()},l(e){const n=bt("svelte-u9bgzb",document.head);m=i(n,"META",{name:!0,content:!0}),n.forEach(t),G=s(e),x=i(e,"P",{}),j(x).forEach(t),v=s(e),u(M.$$.fragment,e),c=s(e),u(w.$$.fragment,e),ge=s(e),W=i(e,"P",{"data-svelte-h":!0}),y(W)!=="svelte-17qj9tz"&&(W.innerHTML=De),ue=s(e),q=i(e,"P",{"data-svelte-h":!0}),y(q)!=="svelte-1cwsb16"&&(q.textContent=Oe),fe=s(e),z=i(e,"P",{"data-svelte-h":!0}),y(z)!=="svelte-159uw6t"&&(z.innerHTML=Ke),he=s(e),A=i(e,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),y(A)!=="svelte-r1jcqf"&&(A.innerHTML=et),_e=s(e),u(E.$$.fragment,e),be=s(e),Q=i(e,"P",{"data-svelte-h":!0}),y(Q)!=="svelte-1ou2pxc"&&(Q.textContent=tt),ye=s(e),X=i(e,"P",{"data-svelte-h":!0}),y(X)!=="svelte-7k0orc"&&(X.innerHTML=nt),ve=s(e),u(F.$$.fragment,e),Me=s(e),u(V.$$.fragment,e),we=s(e),p=i(e,"DIV",{class:!0});var d=j(p);u(R.$$.fragment,d),Pe=s(d),te=i(d,"P",{"data-svelte-h":!0}),y(te)!=="svelte-122gdxk"&&(te.textContent=ot),Ge=s(d),ne=i(d,"P",{"data-svelte-h":!0}),y(ne)!=="svelte-1x0d6el"&&(ne.innerHTML=st),We=s(d),J=i(d,"DIV",{class:!0});var de=j(J);u(H.$$.fragment,de),qe=s(de),oe=i(de,"P",{"data-svelte-h":!0}),y(oe)!=="svelte-v78lg8"&&(oe.textContent=lt),ze=s(de),u(I.$$.fragment,de),de.forEach(t),Ee=s(d),$=i(d,"DIV",{class:!0});var Ae=j($);u(N.$$.fragment,Ae),Qe=s(Ae),se=i(Ae,"P",{"data-svelte-h":!0}),y(se)!=="svelte-1s3c06i"&&(se.innerHTML=at),Ae.forEach(t),Xe=s(d),Z=i(d,"DIV",{class:!0});var Ie=j(Z);u(Y.$$.fragment,Ie),Fe=s(Ie),le=i(Ie,"P",{"data-svelte-h":!0}),y(le)!=="svelte-pkn4ui"&&(le.innerHTML=rt),Ie.forEach(t),Ve=s(d),k=i(d,"DIV",{class:!0});var $e=j(k);u(L.$$.fragment,$e),Re=s($e),ae=i($e,"P",{"data-svelte-h":!0}),y(ae)!=="svelte-14bnrb6"&&(ae.textContent=it),$e.forEach(t),He=s(d),B=i(d,"DIV",{class:!0});var Ze=j(B);u(S.$$.fragment,Ze),Ne=s(Ze),re=i(Ze,"P",{"data-svelte-h":!0}),y(re)!=="svelte-1xwrf7t"&&(re.textContent=pt),Ze.forEach(t),Ye=s(d),C=i(d,"DIV",{class:!0});var ke=j(C);u(D.$$.fragment,ke),Le=s(ke),ie=i(ke,"P",{"data-svelte-h":!0}),y(ie)!=="svelte-16q0ax1"&&(ie.textContent=dt),ke.forEach(t),d.forEach(t),Te=s(e),u(O.$$.fragment,e),xe=s(e),U=i(e,"DIV",{class:!0});var Be=j(U);u(K.$$.fragment,Be),Se=s(Be),pe=i(Be,"P",{"data-svelte-h":!0}),y(pe)!=="svelte-1wjc5n1"&&(pe.textContent=ct),Be.forEach(t),Je=s(e),u(ee.$$.fragment,e),je=s(e),ce=i(e,"P",{}),j(ce).forEach(t),this.h()},h(){T(m,"name","hf:doc:metadata"),T(m,"content",xt),T(A,"class","tip"),T(J,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),T($,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),T(Z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),T(k,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),T(B,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),T(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),T(p,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),T(U,"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,n){l(document.head,m),a(e,G,n),a(e,x,n),a(e,v,n),f(M,e,n),a(e,c,n),f(w,e,n),a(e,ge,n),a(e,W,n),a(e,ue,n),a(e,q,n),a(e,fe,n),a(e,z,n),a(e,he,n),a(e,A,n),a(e,_e,n),f(E,e,n),a(e,be,n),a(e,Q,n),a(e,ye,n),a(e,X,n),a(e,ve,n),f(F,e,n),a(e,Me,n),f(V,e,n),a(e,we,n),a(e,p,n),f(R,p,null),l(p,Pe),l(p,te),l(p,Ge),l(p,ne),l(p,We),l(p,J),f(H,J,null),l(J,qe),l(J,oe),l(J,ze),f(I,J,null),l(p,Ee),l(p,$),f(N,$,null),l($,Qe),l($,se),l(p,Xe),l(p,Z),f(Y,Z,null),l(Z,Fe),l(Z,le),l(p,Ve),l(p,k),f(L,k,null),l(k,Re),l(k,ae),l(p,He),l(p,B),f(S,B,null),l(B,Ne),l(B,re),l(p,Ye),l(p,C),f(D,C,null),l(C,Le),l(C,ie),a(e,Te,n),f(O,e,n),a(e,xe,n),a(e,U,n),f(K,U,null),l(U,Se),l(U,pe),a(e,Je,n),f(ee,e,n),a(e,je,n),a(e,ce,n),Ue=!0},p(e,[n]){const d={};n&2&&(d.$$scope={dirty:n,ctx:e}),I.$set(d)},i(e){Ue||(h(M.$$.fragment,e),h(w.$$.fragment,e),h(E.$$.fragment,e),h(F.$$.fragment,e),h(V.$$.fragment,e),h(R.$$.fragment,e),h(H.$$.fragment,e),h(I.$$.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),Ue=!0)},o(e){_(M.$$.fragment,e),_(w.$$.fragment,e),_(E.$$.fragment,e),_(F.$$.fragment,e),_(V.$$.fragment,e),_(R.$$.fragment,e),_(H.$$.fragment,e),_(I.$$.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),Ue=!1},d(e){e&&(t(G),t(x),t(v),t(c),t(ge),t(W),t(ue),t(q),t(fe),t(z),t(he),t(A),t(_e),t(be),t(Q),t(ye),t(X),t(ve),t(Me),t(we),t(p),t(Te),t(xe),t(U),t(Je),t(je),t(ce)),t(m),b(M,e),b(w,e),b(E,e),b(F,e),b(V,e),b(R),b(H),b(I),b(N),b(Y),b(L),b(S),b(D),b(O,e),b(K),b(ee,e)}}}const xt='{"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 Jt(me){return ut(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Bt extends ht{constructor(m){super(),_t(this,m,Jt,Tt,gt,{})}}export{Bt as component};

Xet Storage Details

Size:
38.3 kB
·
Xet hash:
c0420f05f5cf1433e8b59fad84cf634fc0ef109739f4d64d4b4976df3e62566d

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.